I would like to ask if anybydy on forum was implementing MQTT directly on CC1352? I would like to implement MQTT on LPSTK-CC1352R
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.
I would like to ask if anybydy on forum was implementing MQTT directly on CC1352? I would like to implement MQTT on LPSTK-CC1352R
Hi, we are using openthread on CC1352 and it use IP for other things like coap ICMP protocol. What do you mean by CC1352 dosen't support IP?
Looks like GitHub - openthread/ot-rtos: OpenThread RTOS, an integration of OpenThread, LwIP, and FreeRTOS. support MQTT but I don't see this protocol in TI-RTOS. In TI-RTOS I see COAP but its more complicated from cloud side and require COAP proxy which we would like to avoid. I will be appriciated for comment to confirm I haven't miss something.
Hi Michal,
You are correct, we currently do not offer a MQTT example for Thread (we do have it for the CC32xx that YK suggested, e.g. https://dev.ti.com/tirex/explore/node?node=AMQANzXVqhZLcPlyMGtb-w__fc2e6sr__LATEST) .
MQTT requires a TCP stack (e.g. LWIP), but this has not been integrated in a CC13xx/CC26xx tirtos environment.
One potential path (nearly equivalent to porting ot-rtos):
Thanks,
Toby
Hi Tobby, thank you for very valuable answer. Is theat any specyfic reason why to swich to FreeRTOS. My initial idea was to use CC1352 Thermostat example which also has coap and add MQTT library - do you think it might have some drawbacks?
Main reason is that FreeRTOS has an MQTT library, coreMQTT (https://github.com/FreeRTOS) which is included in the FreeRTOS installation.
I have not looked too much into this library.
So it is possible that your path could be easier!
Note that MQTT does require TCP. There is some progress in an openthread implementation for TCP: github.com/.../6411