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.

TM4C1294NCPDT: Implementing MQTT on TM4C129

Part Number: TM4C1294NCPDT

I have gone through the tcp_echo sample example of TI RTOS for Tiva C series.Do I need to change the transport layer of TCP/IP stack. If yes how can I do that ...please guide elaborately on this. I would appreciate any help in this context.

Thanks.

 

  • Hello Techinspired,

    We don't have support for MQTT on the TM4C129x family of devices currently.

    That said, one E2E user posted some tips on how to achieve this after they had success - maybe this will help you: e2e.ti.com/.../2064820
  • Hi Ralph,

    Thanks a lot for your reply!

    I have gone through the above post , but I was not able to find transport.c file. I was trying to form a MQTT packet and was trying to send on MQTT data  on top of TCP/IP but I'm not getting any data on MQTT also connect API give an error code of -1 while connecting to socket which I created.
     

    Best Regards,
    Techinspired

  • Hello Techinspired,

    I am not aware of any TCP client examples available, but another community user posted a project in which he modified the TCP Echo example from TI-RTOS for Tiva C to be a TCP client: e2e.ti.com/.../1400671

    Please note the TCP Echo example is in a different location than what Andrew posted, you can find that at: TI-RTOS for TivaC -> Your Device > Network Examples > TI Network Examples > Ethernet Examples
  • Hi Ralph,

    Thanks a lot for your help! indeed it was great help on the right time.

    I am able to successfully implement MQTT on TM4C129NCPDT. Now, I can publish a message under a topic on MQTT.

    Best Regards,
    Techinspired