I tried "as it is" the contiki demo with SmartRF06 + cc2650EM and with sensortag. The demo seem working well but nodes rebooting (halt and watchdog make reboot) or stop working after about 10 minutes (the uptime is always under 600 sec).
If i turn on only 6lbr function (not mqtt, not coap) nodes seems remains alive (i monitored with serial console and make it write the uptime every 6lbr function call)
If I turn on mqtt or coap functions nodes reboots or halt after about 10 minutes
If i turn on only 6lbr function but I check web page of node from 6lbr sensor page, nodes stop working after about 10 minutes (web page is not available and serial console is blocking)
I tried to debug mqtt functions but there is any error, the console is stopping everytime after this log (I added some info to normal debug):
MQTT - Main loop started
MQTT - Case 3
State machine started
MQTT - Call to mqtt_publish...
MQTT - Accepted!
APP - Publish!
Publishing
MQTT State: 4
------Uptime: 535 s-----------------
MQTT - Main loop Yield
MQTT - Got mqtt_do_publish_mqtt_event!
MQTT - Sending publish message! topic iot-2/evt/status/fmt/json topic_length 25
MQTT - Buffer space is 512
MQTT - Encoding length 204
MQTT - Encode len digit '204' length '1'
MQTT - Encode len digit '1' length '0'
MQTT - remaining_length_bytes 2
MQTT - (write_byte) buff_size: 512 write: '30'
MQTT - (write_bytes) len: 2 write_pos: 2
MQTT - (write_byte) buff_size: 509 write: '00'
MQTT - (write_byte) buff_size: 508 write: '19'
MQTT - (write_bytes) len: 25 write_pos: 25
MQTT - (write_bytes) len: 177 write_pos: 177
MQTT - (send_out_buffer) Space used in buffer: 207
MQTT - Publish Enqueued
MQTT - Main loop started
MQTT State: 4
------Uptime: 535 s-----------------
MQTT - Main loop Yield
MQTT - Got TCP_DATA_SENT
MQTT - Got TCP_DATA_SENT
MQTT - Got TCP_DATA_SENT
MQTT - Got TCP_DATA_SENT
MQTT - Got TCP_DATA_SENT
MQTT - Got TCP_DATA_SENT
MQTT - Got TCP_DATA_SENT
Some ideas? Is strange that is 10 minutes.
Thank You