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多台设备使用mqtt_client例程,不能同时连接同一服务器?

Other Parts Discussed in Thread: CC3200

你好:

      我在多台CC3200设备中烧录了同一个mqtt_client(broker为:mqtt.bconimg.com,port:1883)程序,同时上电,发现只能有一台设备连接上了mqtt.bconimg.com服务器。

之后,我查看了一下串口消息     我尝试先开启一个设备,并将设备1的串口打开;然后,开启设备2,设备2连接上了服务器,但设备1断开了与mqtt.bconimg.com的连接。串口打印了如下消息:


C: Net 17, Raw Error -1, Time Out: N
C: RX closing Net 17 [-1]
C: Cleaning session for net 17
C: Net 17 now closed

我们是否有办法解决多台设备连接同一个broker问题呢?