[MQTT/SARAR4] Issue during MQTT publish


Guillaume Paquet
 

Hello Zephyr Community,

 

I am trying to use example in samples/net/mqtt_publisher.

I am on zephyr 2.0 release and I use SARA R4 driver to try this example.

I just changed prj.conf to use MQTT (not secured) on my own mosquito broker (on infomaniak server).

 

I don’t achieve to connect to MQTT broker and I always have following error message:

MQTT connect failed -111

 

Moreover, I tried to see what is send to SARA-R4 module (and what is its answer).

 

I can see that it loops several times on same command whereas command is ok and well understood by my SARA R4 module

AT+USOWR=0,30

@

101c00044d5154540402003c00107a65706879725f7075626c6973686572

+USOWR: 0,30

 

OK

 

Do you have any idea on what can happen ?

For your information, it works when I use zephyr 1.14.1 with 1st SARA R4 driver revision.

 

Thanks in advance for your help

 

Don’t hesitate if you need more information

 

Rgds,

 

Guillaume

   www.stimio.fr

Guillaume  PAQUET – IoT Engineer

guillaume.paquet@...  -  02 40 18 50 91

1 Avenue Professeur Jean Rouxel – ZAC Fleuriaye

44470 CARQUEFOU – FRANCE                

 

Join devel@lists.zephyrproject.org to automatically receive all group messages.