SIM7020E MQTT connection error
-
Hello everybody,
I am trying to connect to public MQTT by using AT+CMQNEW command, but it always return ERROR. Connection to network looks fine to me.
Here is from the output logs:
AT+CGDCONT? +CGDCONT: 1,"IP","scs.telekom.tma.iot","11.0.0.154",0,0,0,,,,0,,0,,0 OK AT+CDNSCFG? PrimaryDns: 114.114.114.114 SecondaryDns: 119.29.29.29 OK AT+CMQNEW="test.mosquitto.org",1883,12000,1024 ERROR AT+CMQNEW="test.mosquitto.org","1883",12000,1024 ERROR
I also try to ping some DNS address
8.8.8.8
, but got some weird response.AT+CIPPING="8.8.8.8" OK +CIPPING: 1,8.8.8.8,100,0 +CIPPING: 2,8.8.8.8,100,0 +CIPPING: 3,8.8.8.8,100,0 +CIPPING: 4,8.8.8.8,100,0
I am not sure if there is something wrong. Can you please give me some suggestions?
Thank you very much.
-
hi @Gayan8090 , to connect to servers outside iotcreators ones, please use apn “internet.gma.iot”.
APN “scs.telekom.tma.iot” is only for accessing iotcreators sevices.Thank you very much,
Best Regards
Marco Peli