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.
Hi,
I am using Tiva tm4c1294kcpdt without RTOS. I have tested non secure mqtt client using lwip on mosquitto broker. It works fine.
Now I want to implement secure mqtt i.e. mqtt/tls using mbedtls through lwip raw api functions. I got below link of github for the same & I tried to implement in same way:
But in this, I got the errors while initialising TLS as below:
-> unresolved symbol pthread_mutex_destroy, pthread_mutex_init, pthread_mutex_lock, pthread_mutex_unlock
I have msp432e401y eval kit and I am refering its publish_subscribe example for secure mqtt connection. And my question is how to implement these pthread functions on tivaware in no-rtos environment?
MY MAIN AIM IS I WANT TO IMPLEMENT SECURE MQTT CLIENT ON TIVA TM4C1294KCPDT USING LWIP+MBEDTLS.
TivaWare_C_Series_x library doesn't has mbedtls. I am refering it from simplelink_msp432_sdk_3_10_00_11.
As for now I tried to implement mbedtls steps and now I am stuck where actually low level core relevant implemetation is there. For MSP IC they have given posix functions which are relevant to msp core; but I want to implement it on tm4c.
Please refer https://e2e.ti.com/support/microcontrollers/other/f/908/p/840704/3130300#3130300 thread that I have discussed with mbedtls & tiva support team.
Any one having knowledge on both msp432_sdk and tivaware kindly help me through this....
Hello Urvi,
We do not have any support for MBEDTLS on TM4C and will not support this implementation. Especially so in a non-RTOS environment. To do a bare metal implementation of MBEDTLS, TI will offer no support as we do not have any expertise on this topic and are not able to commit resources for such a complex application.
I will also note that MSP432 SDK is for SimpleLink devices only. It is not to be used with TM4C devices and neither us TM4C experts nor SimpleLink experts will support a crossover of these SDK's.
The TI-RTOS and TivaWare offerings for TM4C is the extent of our offering, and our support is constrained to the various examples and TI Designs surrounding those software packages.
The best path forward here for you may be to use the MSP432 as it has the MBEDTLS support you are looking for. This is part of the added value for making the transition into our SimpleLink platform. You may even be able to get support for a non-RTOS version as well, but if not, then if you want support from Texas Instruments, you may need use an RTOS in the end as this is where industry is trending for such applications.
At the end of the day, we are an IC manufacturer and while we provide many examples and try and help with as many applications as possible, we have limits as we are not an end system solution provider and therefore certain application specific needs just transcend our ability to support.
Sorry that this is not the answer you were looking for, but I hope my transparency on the situation helps with understanding our unfortunate position.