Other Parts Discussed in Thread: CC3220S
I'm working with some of the demo labs for the CC3220S - Launchpad, and I'm finding a peculiar behavior for the program. It connects successfully, then pulls a "Subscription Error" and disconnects from the broker. It then restarts the program and follows the same error path. Can anybody explain why it behaves like this and if there's any fix? I've found it doesn't start this pattern until I try to connect to the broker using a Remote MQTT Client.
************************************************* CC3220 MQTT client Application ************************************************* Device came up in Station mode [WLAN EVENT] STA Connected to the AP: DDS - Tech , BSSID: e2:55:7d:a8:67:a1 [NETAPP EVENT] IP acquired by the device Device has connected to DDS - Tech Device IP Address is 10.34.150.245 Version: Client LIB 1.1.0, Common LIB 1.2.0. .C: FH-B1 0x10 to net 0, Sent (57 Bytes) [@ 30] C: Rcvd msg Fix-Hdr (Byte1) 0x20 from net 0 [@ 30] C: Cleaning session for net 0 CONNACK: Connection Success C: Msg w/ ID 0x0000, processing status: Good C: FH-B1 0x82 to net 0, Sent (99 Bytes) [@ 30] C: Net 0, Raw Error -1, Time Out: N [30] C: RX closing Net 0 [-1] C: Cleaning session for net 0 C: Net 0 now closed BRIDGE DISCONNECTION Subscription Error On-board Client Disconnected [SOCK ERROR] - close socket (0) operation failed to transmit all queued packets . TO Complete - Closing all threads and resources Unsubscribed from the topic /Broker/To/cc32xx Unsubscribed from the topic /cc3200/ToggleLEDCmdL1 Unsubscribed from the topic /cc3200/ToggleLEDCmdL2 Unsubscribed from the topic /cc3200/ToggleLEDCmdL3 Client Stop completed