-->
Page 1 of 1

Receiving UDP multicast messages.

PostPosted: Wed Nov 10, 2021 2:21 pm
by BobTPH
I am just getting started using ESP8266 in the form of the ESP-01 board using the AT command interface.

I have successfully made a trivial HTTP server work, returning "Hello" to requests from a browser.

But I am stymied by trying to get UPD multicast messages. I have tried many combinations, but let's start with what I think should work (all this after connecting to access point):

AT+CIPMUX=0
OK
AT+CIPMODE=1
OK
AT+CIPSTART="UDP","239.1.1.1",1900
CONNECT
OK

Then I go into a loop expecting to receive +IPD messages. I have a program running on my PC that sends out a message on that multicast address, and I was able to get the message using different hardware. But no luck, it never gets a message.

I have also tried an explicit receive, and that one just returns ERROR status.

So, what am I doing wrong?

Bob