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.

network_terminal中的send和recv功能发送和接收数据异常

Other Parts Discussed in Thread: CC3220S

请问,我最近在用两块CC3220S板子实现无线发送和接收数据的功能,想基于例程里面的send和recv模块进行,但是我将两块板子分别在两台电脑上运行该程序,总是实现不了,板子1作TCP client,其中连接TCP server的ip写的10.123.45.2,

还是说还要对板子进行什么别的设置,需要先调用wlanconnect功能将其中一块板子连接到另一块板子吗?还是会自动连接?

如果不是的话,那我把接收数据的板子设为TCP server,设为AP模式,发送数据的板子作为了TCP client,设为了STA模式,在发送前先写一段wlanconnect的函数,将其连接起来,然后进行无线数据的发送和接收,这样可以吗?