justcallmekoko / ESP32Marauder

A suite of WiFi/Bluetooth offensive and defensive tools for the ESP32
4.95k stars 538 forks source link

'esp_base_mac_addr_set' was not declared in this scope; did you mean 'esp_base_mac_addr'? #418

Open Dowan35 opened 7 months ago

Dowan35 commented 7 months ago

Describe the bug

I installed EPAwebserver from bigbrodude, then I installed espsoftwareSpecial library in arduino because it needed SoftwareSerial.h and now I have a new error message when compiling with arduino ide on basic esp32 wroom 32, I selected esp32 dev board and minimal spiff transfert :

esp32_marauder\WiFiScan.cpp: In member function 'void WiFiScan::executeSwiftpairSpam(EBLEPayloadType)': WiFiScan.cpp:1573:5: error: 'esp_base_mac_addr_set' was not declared in this scope; did you mean 'esp_base_mac_addr'? 1573 | esp_base_mac_addr_set(macAddr); | ^~~~~ | esp_base_mac_addr exit status 1 'esp_base_mac_addr_set' was not declared in this scope; did you mean 'esp_base_mac_addr'?

and when I change esp_base_mac_addr_set(macAddr); to esp_base_mac_addr(macAddr); I have :

esp32_marauder\WiFiScan.cpp: In member function 'void WiFiScan::executeSwiftpairSpam(EBLEPayloadType)': WiFiScan.cpp:1574:22: error: 'esp_base_mac_addr' cannot be used as a function 1574 | esp_base_mac_addr(macAddr); | ~~~^~~ exit status 1 'esp_base_mac_addr' cannot be used as a function

when I try commenting this line, I then have a new errors: 'ets_printf' was not declared in this scope same for mbedtls_sha1_starts_ret' 'mbedtls_sha1_update_ret' 'mbedtls_sha1_finish_ret'

in AsyncWebSocket.cpp, AsyncEventSource.cpp and WebAuthentication.cpp

thanks for your help !

TmmcHero commented 6 months ago

I had to add

"esp_base_mac_addr_set(uint8_t *Mac);"

Under line 22

tekgamerpt commented 4 months ago

esp_base_mac_addr_set

Same problem here. Did you solved it?

copyrightsclient commented 3 months ago

esp_base_mac_addr_set

Same problem here. Did you solved it?

Did you solve the problem