There is possible to find gprs or mqtt is disconnected

Dear Experts,
there is possible find mqtt or gprs is disconnected or connected,
i am working with MC60 module Open cpu method for upload data through Mqtt, i have a some problem in MC60. some times the module doesn’t upload the data to mqtt but i don’t know why, then after restart my device that is working fine.

Hi, kannannatesh:
Is the problem solved now? If not, there are many possibilities for the problem you describe. Please describe the details in detail.For example, which interface failed to upload data? What is the error number?

hi @dakai.xu,
thanks for your attention, ya i have solved the issue with change the state of mqtt connection function