cc3200 launchpad 是否可以直接通过wifi与手机连接进行TCP/UDP通信,我看书上中间还需要加一个路由器,望技术给予支持
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.
cc3200 launchpad 是否可以直接通过wifi与手机连接进行TCP/UDP通信,我看书上中间还需要加一个路由器,望技术给予支持
您可以在AP模式下使用sockets,您可以参考下SDK内的tcp_socket/udp_socket例程
请问,我看板子 wlan_station 例程中
sl_WlanConnect 运行时,执行了事件SimpleLInkWlanEventHandler(),请问这个是系统自动写好的框架吗?自动触发事件吗?不需要像arm linux驱动一样写注册函数吗?
回调函数在NWP接收到数据后会通过总线形式发送给CC3200的M4内核,也就是你看到了执行了对应的EventHandler()函数
参考官方的代码,在回调函数中,对应的事件部分写入对应的处理流程即可