roughleaf / ESP32-Wifi-CPP-library

MIT License
7 stars 1 forks source link

problem with esp_efuse_mac_get_default #1

Open NPC-lab-python opened 1 year ago

NPC-lab-python commented 1 year ago

Good morning, I have a problem with your code. When compiling, I got this error message:

.....Documents/GitHub/ESP32-Wifi-CPP-library/CPPWIFI/src/CPPWIFI/wifi.cpp:213:32: error: 'esp_efuse_mac_get_default' was not declared in this scope 213 | const esp_err_t status{esp_efuse_mac_get_default(mac_byte_buffer)}; | ^~~~~~~~~

I can't find a solution. Can you help me ?

roughleaf commented 1 year ago

What version of the ESP-IDF are you using? the code has only been tested on V4.2. I plan to update and test everything to V5+ in the near future as soon as time permits.