MQTT error
응답
19. 5. 27 오후 7:41

Hello

 

I am using the example "SendDataOverMQTT", I could connect well and see the data of the sensors, when it gives the value number 130 an error is shown and since the values ​​of the sensors do not show them, only errors are printed. It always happens at value # 130. I attach an image where the error is shown. I hope you can help me solve it.

0 (0 투표)
RE: MQTT error
응답
19. 5. 29 오전 10:26 as a reply to Andres Rivera.

Hi Andres,

The error #130 is "MQTT Publish failure".

If you want to fix this issue, try using WLAN_Reconnect() when you get this error code in the application.

Hope this works.

Thanks,

Lavanya S P

0 (0 투표)
RE: MQTT error
응답
19. 5. 29 오후 2:46 as a reply to Lavanya S Palanisamy.

Hello

In which part of the code is used or placed?

Thanks,

Andres Rivera

0 (0 투표)
RE: MQTT error
응답
19. 5. 30 오전 5:33 as a reply to Andres Rivera.

Hi Andres,

In AppController.c file, in the function AppControllerFire(), if MQTT_PublishToTopic() fails, try to reconnect using WLAN_Reconnect().

Thanks,

Lavanya S P

0 (0 투표)