Closed mitch619911 closed 7 years ago
did you replaced the files with the files described in the readme?
Yes, that fixed it but got a new error:
In file included from sketch\Attack.h:7:0,
from sketch\Attack.cpp:1:
C:\Users\Mitch\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0/tools/sdk/include/user_interface.h:451:7: error: expected initializer before '-' token
int Wi-Fi_register_send_pkt_freedom_cb(freedom_outside_cb_t cb);
^
C:\Users\Mitch\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0/tools/sdk/include/user_interface.h:452:8: error: expected initializer before '-' token
void Wi-Fi_unregister_send_pkt_freedom_cb(void);
^
C:\Users\Mitch\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0/tools/sdk/include/user_interface.h:453:7: error: expected initializer before '-' token
int Wi-Fi_send_pkt_freedom(uint8 *buf, int len, bool sys_seq);
^
sketch\Attack.cpp: In member function 'bool Attack::send()':
Attack.cpp:102: error: 'wifi_send_pkt_freedom' was not declared in this scope
if(wifi_send_pkt_freedom(packet, packetSize, 0) == -1){
^
exit status 1
'wifi_send_pkt_freedom' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Also on this, I don't have USP8266, grey out.
16 Select your ESP8266 board at Tools > Board and the right port at Tools > Port
If no port shows up you may have to reinstall the drivers.
Thanks for your help!!
did you read the readme? and followed the steps? did you edit your user_interface.h how it mentioned in the readme?
Redone everything and now I get
--blah stuff--
exit status 1
'load404' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
'load404' was not declared in this scope
So I should reinstall?
i think i fixed it will edit in a bit.
i put the setup function at the bottom so all prototypes would have been called before.
This? - No idea???
You seems to compile on linux based OS. Solution 1 Install the pre-compiled binary files (releases) Solution 2 Use the testing branch, we fixed this bug
Is your problem solved?
Just installed it on another PC, and that fixed it...
results = WiFi.scanNetworks(false, settings.apScanHidden); Ideas?