Other Parts Discussed in Thread: CC2538
Hello guys. I am trying to connect multiple 6lowPAN nodes to an MQTT server (m2m.eclipse.org). I use router-webserver-node and mqtt-example example code, on OpenMote board (CC2538). I followed tutorials from:
1. http://processors.wiki.ti.com/index.php/China_IOT_Contest_Thingsquare_6LoWPAN
2. http://processors.wiki.ti.com/index.php/Thingsquare_6LoWPAN_MSP430
and managed to send data, using 1 node. When add more node, the older node would lose connection. Practically, I can only use 1 node in my network, while the examples suggest that it would work with multiple nodes.
I trace the log, and found out the error came from tcp_event callback in mqtt.c, I got TCP_SOCKET_CLOSED. I trace again to tcp-socket.c and it came from an appcallback, which my app got uip_closed() returning true.
Anybody have same experience? I tried to match the contiki-conf and platform-conf to configurations used in both example link, still no improvement. Thank you guys.