I am trying to have a master dynamically learn the addresses of slaves who are in station mode as they need to be able to send and receive data as well. I have tried multiple codes online, such as scanNetworks() but to no avail. I can post my code if needed but I have tried multiple different methods with no luck. I can add the slaves as peers easily if they are added manually, with their mac addresses being hard coded into the master and added during setup.
Any help will be greatly appreciated as I have been trying to get this working for weeks, posting on stackoverflow and github for help.
To give an idea I have tried the methods shown below:
https://github.com/espressif/arduino-es ... Master.ino
https://github.com/SensorsIot/ESP-Now-T ... SP8266.ino
And I am currently using this method for the manually adding addresses at the start, which works:
https://www.instructables.com/id/ESP32- ... -Protocol/
Thank you in advance.
ESP32 Dynamically connecting Slaves in STA mode to a master in STA
Who is online
Users browsing this forum: mike_dawes and 75 guests