It is ESP8266, and I am using the Arduino framework (VS Code + Platform IO). The documentation uses constants like ESP_OK
or ESP_ERR_ESPNOW_INTERNAL
, but what to include to use them with the Arduino framework? There seems to be no "esp_now.h" but only "espnow.h" (.platformio\packages\framework-arduinoespressif8266\tools\sdk\include\espnow.h), and it does not include such constants.
Asked
Active
Viewed 192 times
0

Jonas
- 121,568
- 97
- 310
- 388

Damn Vegetables
- 11,484
- 13
- 80
- 135
-
That documentation is for ESP-IDF i.e. ESP32. Did you take a look at https://randomnerdtutorials.com/esp-now-esp8266-nodemcu-arduino-ide/ – Marcel Stör Sep 19 '21 at 06:18
-
try to download the files manually from github and adding to libs folder – NeWi-SL Sep 21 '21 at 14:35