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.

RTOS/EK-TM4C1294XL: MQTT

Part Number: EK-TM4C1294XL

Tool/software: TI-RTOS

How to implement MQTT in TM4C1294XL launch pad.

i have downloaded some sample code from  this link. its not working on my launchpad. How to implement the MQTT in this? there is any sample project?

  • Hi,

    TIRTOS does not have native support for MQTT. We do not have any examples that support MQTT.
    You can look at the open source community or 3rd party.

    Judah
  • We have SUCCESSFULLY implemented MQTT pub/sub on TM4C1294XL launch pad. We have done this by porting the MQTT Client code available from Eclipse Paho.

    We have achieved this by modifying the transport layer (transport.c) file and few more changes in application code. We basically made transport bridge between MQTT lib code to TI-RTOS socket.
    Also, we need to create a new TI-RTOS task and run this MQTT app inside this task.

    With this modification, we could successfully establish socket communication, MQTT publish and MQTT subscribe. We could maintain the subscribe connection (subscribed topic) always and getting the published topic data from MQTT broker any time.