
I'm trying to understand some issues I am having using UDP . I'm sending a raw audio stream from a laptop through a dedicated router to a number of WiFi enabled ESP32 modules. The signal is going via Ethernet from the laptop to the router and then out via WiFi to the ESP32 modules. Firstly I'm wondering why I only get about half the range if I send the UDP stream via Broadcast mode vs. Multicast mode, even if I only have one ESP32 connected. Also I see some strange behaviour with a Netgear router vs. a TP Link router. With the Netgear router while sending the stream in Multicast mode I can power up the ESP32 modules one by one and it works fine. However if I disconnect one of the modules when all is running the still connected modules audio stream starts breaking up. This is fixed if I reconnect the disconnected module. This behaviour doesn't occur if I use the tP Link router. I'm assuming the fact it's breaking up using the Netgear router is because the router is looking for the disconnected module? Would there be a setting on the router to stop this behaviour? Wondering if anyone can recommend a book or resource other than madly Googling to help me understand what's going on under the hood in these cases. I haven't tried but maybe Wireshark could shed some light on this, though not sure what I should be looking for. Thanks for any advice. Jim

On 2023-12-20 12:08, Jim Ruxton via talk wrote:
I'm trying to understand some issues I am having using UDP . I'm sending a raw audio stream from a laptop through a dedicated router to a number of WiFi enabled ESP32 modules. The signal is going via Ethernet from the laptop to the router and then out via WiFi to the ESP32 modules. Firstly I'm wondering why I only get about half the range if I send the UDP stream via Broadcast mode vs. Multicast mode, even if I only have one ESP32 connected.
Also I see some strange behaviour with a Netgear router vs. a TP Link router. With the Netgear router while sending the stream in Multicast mode I can power up the ESP32 modules one by one and it works fine. However if I disconnect one of the modules when all is running the still connected modules audio stream starts breaking up. This is fixed if I reconnect the disconnected module. This behaviour doesn't occur if I use the tP Link router. I'm assuming the fact it's breaking up using the Netgear router is because the router is looking for the disconnected module? Would there be a setting on the router to stop this behaviour?
Wondering if anyone can recommend a book or resource other than madly Googling to help me understand what's going on under the hood in these cases. I haven't tried but maybe Wireshark could shed some light on this, though not sure what I should be looking for.
Thanks for any advice. Jim
--- Post to this mailing list talk@gtalug.org Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk
Have you looked at the IGMP and multicasting settings in the two routers? Is it possible you have a traffic loop in your network? It sure seems like the right time to sniff the network. -- Michael Galea
participants (2)
-
Jim Ruxton
-
Michael Galea