Hello,
I’m experiencing issues when trying to configure MQTT on a ME910G1‑WW module with new firmware version M0C.400007.
When I query the software package version, this is the response:
-> AT#SWPKGV
37.00.418-P0C.410001
M0C.400007
P0C.410001
A0C.410000
OK
The problem appears when I apply the MQTT configuration. The command AT#MQWCFG (Configure MQTT Last Will and Testament) returns an error:
AT#MQWCFG=1,0
ERROR
If I ignore this error and continue with the rest of the configuration steps, the module still fails to establish a connection with the MQTT server.
The same code and procedure work correctly on previous firmware versions, so I’m wondering if anything related to MQTT has changed in firmware M0C.400007.
Below is a sample of the procedure I follow to attach the network, configure MQTT and attempt the connection:
NETWORK 4G attached !!!
Connection results (LTE/2G/Failed): 2/0/0
-> AT#RFSTS
#RFSTS: "214 07",6354,-77,-69,-8.0,7f75,18,,256,4,0,4E23B24,"901405710131701","Movistar",2,20,720,25200,139
OK
-> AT#SGACT?
#SGACT: 1,0
#SGACT: 2,0
#SGACT: 3,0
#SGACT: 4,0
#SGACT: 5,0
#SGACT: 6,0
OK
-> AT+CGDCONT=1,"IP",""
OK
-> AT#SGACT=1,1
#SGACT: 10.157.141.239
OK
-> AT+CGCONTRDP
+CGCONTRDP: 1,5,"internet.m2mportal.de","10.157.141.239",,"10.74.210.210","10.74.210.211"
OK
-> AT#MQEN?
#MQEN: 1,0
#MQEN: 2,0
#MQEN: 3,0
#MQEN: 4,0
OK
-> AT#MQEN=1,1
OK
-> AT#MQDISC=1
ERROR
-> AT#MQCFG2=1,60,0
OK
-> AT#MQTCFG=1,60
OK
-> AT#MQWCFG=1,0
ERROR
AT#MQWCFG failed
-> AT#MQWCFG?
#MQWCFG: 1,0
OK
-> AT#MQCFG?
#MQCFG: 1,"",,,0
OK
-> AT#MQCFG=1,"broker.lockbin.es",1883,1,1
OK
-> AT#QDNS="broker.lockbin.es"
#QDNS: "broker.lockbin.es","35.181.192.60"
OK
-> AT#SSLSECCFG=1,0,2
OK
-> AT#SSLSECDATA=1,1,1,1302
OK
-> AT#SSLSECDATA=1,1,0,1273
OK
-> AT#SSLSECDATA=1,1,2,1704
OK
-> AT#SSLCFG=1,1,300,90,100,50,0,0,1,0,0,0
OK
-> AT#SSLSECCFG2=1,3,1,1,1,3
OK
-> AT#MQCONN=1,"ibin-351691968133646","****","*****"
ERROR
AT#MQCONN failed
Error: can't MQTT connect!
Questions:
-
Has there been any change in firmware M0C.400007 regarding MQTT configuration, especially related to AT#MQWCFG?
-
Is there any new requirement or updated procedure for establishing an MQTT connection on this firmware version?
Any help or clarification would be greatly appreciated.
Thank you!
Carmen.