Hello,
I want to get a mqtt client running on the TM4C1294-XL.
I tried mosquitto and using sockets below the mqtt-layer. I got this running on the CC3200. Therefore I used the simplelink sockets.
But on the TM4C, there is only the lwip and the uip implementation of the TCP/IP-Stack und no example using sockets. I worked with the enet_lwip example and added the mosquitto sources to the project. Then I tryed to configure the lwip to get sockets working, but its very difficult. I do not have the project in front of me, but I think the enet_lwip example does not use an rtos.Is it correct that I need to an os (FreeRTOS) to get sockets running?
So does anyone know hot to configure lwip to get socket-functions (connect, recv,...) running?
Should I do it like these people: #e2e.ti.com/.../1384385
Their setting is:
* NO_SYS to 0
* RTOS_FREERTOS to 1
in the lwipopts.h file.
According to this, post
"https://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/p/379546/1347470"
the TI employee says, that there is also a tcp/ip stack in ti-rtos? is this correct? So it would be easier to use this on TM4C?
Is there a better way to get mqtt running on TM4C?
I found this solution using energie platform:
But I would prefer to stay in CCS.
So thank you for all your answers,
MIchael