I want use MQtt Protocol as Messing protocol. I want to port the Mqtt Library on Microcontroller TMS470(Texas Instrument) with CCS Compiler. Since I am new to this Protocol, Can any body suggest me how use this protocol using the GPRS module. I made some study on MQtt. But i don't know how to start. After Opening the TCP/IP, how to publish or subscribe the data. Typically how to port the Library. And where i will get a library
You can use the Paho embedded client library: https://eclipse.org/paho/clients/c/embedded.
Using this library you only have to implement the logic for writing and reading from your GPRS module (Network) and time management (Timer).
As an example you can look at my MQTT library for Arduino: https://github.com/256dpi/arduino-mqtt. There are also more examples in the Paho embedded client repository.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With