EC200U-CN Opencpu Mqtt client issue

I am working on mqtt thread on Opencpu implementation of the EC200U-CN module.

I have a strange issue that the modem restarts randomly after 5-20mins when the mqtt client is running.

I have tested the issue by commenting the mqtt thread init function, the modem does not restarts when the mqtt client is not connected to any brokers or the mqtt thread is not running. There is no issue in publishing or subscribing topics and messages. It also receives data without any problem, but restarts the modem randomly and the modem even restarts when thread haven’t subscribed to any topic and publishing to any topic.

Hi @maharshi
Which SDK version are you on? Please provide the trace log and the full ordering code so that we can have a look.

Hi @Victor.W

I am using LTE01R02A07_C_SDK_U. The P/N written on it is EC200UCNAA-N05-SGNSA.
I have attached the screenshots of the traces.

Hi @maharshi,
Looks like you’re using an age old version of the SDK that we no longer support. Could you reach out to your supplier and ask for a newer version of the SDK?
A number of MQTT related fix and optimizations were there since R02A07.

Hi @Victor.W

Thank you for the prompt reply.
Will update here after checking the latest firmware.

Hi @Victor.W

I have updated to the latest SDK and the issue is gone.

Thank you for your support.

1 Like