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.

CC3200AP模式下如何判断有没有客户端连接上来

Other Parts Discussed in Thread: CC3200

CC3200 用IS_CONNECTED(status_variable)判断工作在STA模式下的板子有没有连接上热点。

那在ap模式下如何判断有没有人连接上来呢?

用IS_IP_LEASED(status_variable) 只能在第一次有设备连接上来的时候检测到,感觉设备掉了检测不到。‘

如何才能做到。help

  • AP模式下就是个接入点,这时候STA设备可以连接上去,访问AP。所以你可以通过是否有访问指令来确定,在没有访问指令的时候,比如连接上了第一次,但是后面没有动作,你想知道STA掉线没,就用超时检测嘛,如果你们双方约定比如1S进行一次握手确认。如果超时后就认为是STA掉线了。