-->
Page 2 of 2

Re: How scalability is achieved? on Arduino

PostPosted: Mon Jun 12, 2017 1:52 pm
by laser
Thank you very much! It was helpful, now I am going to look into and study the options.

Re: How scalability is achieved? on Arduino

PostPosted: Tue Jun 13, 2017 9:47 am
by pjunni
torntrousers wrote:
laser wrote:So the question here: is it possible to retrieved broadcast messages without active association to AP (we can forget about security for now, just plain messages on 255.255.255)?


Maybe try ESP-NOW? That doesn't need to associate with the AP and in the very latest SDK it now supports broadcast too. I've some example ESP-NOW code here.


"ESP-Now doesn't work with Wifi so a gateway receiving ESP-Now transmissions can't also connect to a Wifi network, so thats made it pretty impractical for most uses." url=https://github.com/HarringayMakerSpace/ESP-Now

Seems to me ESP-Now is really meant for ESP to ESP or with devices but not for communicating online. Also the ESP8266 UDP library example https://github.com/esp8266/Arduino/blob/master/doc/esp8266wifi/udp-examples.rst seems to require a connection.

I'm looking for a way to broadcast from a router to several ESP8266 devices. Once the devices hear their name they establish a TCP connection, do some magic and go back to listening mode.