使用CC3220SF UDP向255.255.255.255发送广播时,是否需要先把板子设置为AP模式或先连入一个AP?
直接用sendto广播,用wireshark抓包,抓不到呀
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
使用CC3220SF UDP向255.255.255.255发送广播时,是否需要先把板子设置为AP模式或先连入一个AP?
直接用sendto广播,用wireshark抓包,抓不到呀
此连接非彼连接。UDP的connectionless指的是不需要想TCP一样,跟通信伙伴之间建立连接。“The device must be connected to a network with a DHCP server to run this example successfully (DHCP is configured by default).”这里的连接是让你先连到网络上,这一步是需要的,最简步骤如下:
sl_Start Start the SimpleLink device in Wi-Fi Station mode sl_WlanConnectConnect to a Wi-Fi network sl_Socket Create a socket sl_SendTo Sends UDP data sl_Close Close the socket sl_Stop Stops the SimpleLink device