ESP8266 Developer Zone The Official ESP8266 Forum 2021-01-12T10:39:06+08:00 https://bbs.espressif.com:443/feed.php?f=16&t=74462 2021-01-12T10:39:06+08:00 2021-01-12T10:39:06+08:00 https://bbs.espressif.com:443/viewtopic.php?t=74462&p=99211#p99211 <![CDATA[Re: Receiving Multicast]]> https://github.com/espressif/esp-at

Statistics: Posted by Her Mary — Tue Jan 12, 2021 10:39 am


]]>
2021-01-03T03:38:33+08:00 2021-01-03T03:38:33+08:00 https://bbs.espressif.com:443/viewtopic.php?t=74462&p=99115#p99115 <![CDATA[Receiving Multicast]]>
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

Statistics: Posted by n2iewerth — Sun Jan 03, 2021 3:38 am


]]>