How to send a byte from the AP to multiple stations
Posted: Thu Apr 19, 2018 10:59 pm
I have 4 ESP8266 running the same code controlling APA102 leds using FastLED. The program has multiple "modes" showing different animations. The current mode is simply controlled by an uint8_t variable.
I'm trying to set one ESP as AP and the other 3 as Station, so when I change the mode on the AP I can send the variable to the 3 stations.
I succeeded by using UDP, but the lag is considerable and my stations end up de-synced by half a second of what the AP is showing.
Is there a way to do this with static IPs using write() and read()? The examples I found were stations sending data to the AP. I want the AP to send data to the 3 stations.
Thank you
I'm trying to set one ESP as AP and the other 3 as Station, so when I change the mode on the AP I can send the variable to the 3 stations.
I succeeded by using UDP, but the lag is considerable and my stations end up de-synced by half a second of what the AP is showing.
Is there a way to do this with static IPs using write() and read()? The examples I found were stations sending data to the AP. I want the AP to send data to the 3 stations.
Thank you