Receiving Multicast

n2iewerth
Posts: 1
Joined: Sun Jan 03, 2021 3:24 am

Receiving Multicast

Postby n2iewerth » Sun Jan 03, 2021 3:38 am

Hi,

I try to receive multicast with ESP8266 using At commands.
I am using this commands to initalize an UDP socket.

AT+MDNS=1,"sma","iot",9522
AT-CIPSTART=3,"UDP","239,12,255,254",9522,9522,2

There are protocols on port 9522 and multicast adress 239.12.255.254.
I can receive the protocols on my laptop (connected to the same AP) but there is nothing on my ESP8266

I found another code sequence (is from ESP32)

AT+MDNS=1,1,"sma","iot",9522 (-> here it is =1,1 ?? not working on ESP8266)
AT+MDNS=0,1 (-> here it is =0,1 ?? not working on ESP8266)
AT-CIPSTART=3,"UDP","239,12,255,254",9522,9522,2

When using this code (with modified syntax for AT+MDNS) my conection to the AP seems to be gone (BSSID is 0 and IP is 0)

Has anyone an idea what I do wrong?
Is multicast working on ESP8266 at all?

Thank you for any help

Regards
Norbert

Her Mary
Posts: 537
Joined: Mon Oct 27, 2014 11:09 am

Re: Receiving Multicast

Postby Her Mary » Tue Jan 12, 2021 10:39 am

Which version are you using? Maybe you can have a try with the latest AT? https://github.com/espressif/esp-at

Who is online

Users browsing this forum: No registered users and 127 guests