1.查看文档中关于wifi_set_broadcast_if()的说明,
当设置wifi_set_broadcast_if(STATION_MODE)时,udp广播包从station接口发送,我在同网段内的接口能收到数据。
当设置wifi_set_broadcast_if(STATIONAP_MODE)时,udp广播包从station和softap均发送,我在同网段内的接口却收不到数据了,这是为什么呢?
请确认当设置wifi_set_broadcast_if(STATIONAP_MODE)时,udp广播(组播)是两者均发送还是二选一发送?
发送广播数据和组播数据是否一样呢?
2.当我用espconn_igmp_join((ip_addr_t *)&host_ip,(ip_addr_t *)&multicast_ip);加入一个组播组后,在哪里接收组播组的消息呢?还是用espconn_regist_recvcb()这个函数吗?
关于wifi_set_broadcast_if()设置的问题
Who is online
Users browsing this forum: No registered users and 3 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
-
- All times are UTC+08:00
- Top
- Delete all board cookies
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.