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
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.