on-internet
← Community

ESP32 not receiving ESP-NOW packages when connected to AP (despite WIFI_AP_STA mode and despite correct wifi channel)

Stack Overflow ·

So I have an ESP32 that I want to connect to my router and that should simultaneously receive ESP-NOW packages, as laid out in this tutorial: https://randomnerdtutorials.com/esp32-esp-now-wi-fi-web-server/ If you want to try the demo, make sure to configure the mac address of the other node as well as the correct wifi channel on both sides. Make sure to use the same channel as your router does. The sender I use is an ESP8266 running this code: #include <ESP8266WiFi.h> #include <espnow.h> #define WIFI_CHANNEL 8 uint8_t peer[] = {0x12,0x34,0x56,0x78,0x9A,0xBC}; // MAC of the ESP32 hub void onRec

Comments

Sign in or sign up to comment and upvote.

No comments yet.