Hello Everyone,
I am trying to connect Azure IoT cloud using MQTT with SAS token.
Here is log of my AT commnads. It always failed to open network either on 1883 or 8883.
Can anyone guide me what can be wrong. ?
Am i missing some configurations ?
Hi Bhavin
You do not have the relevant authentication certificates (cacert, clientcert, clientkey) configured. You can upload the relevant certificates and try again. Related commands are as follows:
AT+QSSLCFG=“cacert”,< SSL_ctxID> [,
< cacertpath > ]
AT+QSSLCFG=“clientcert”,< SSL_ctxI
D> [,<clientcertpath>]
AT+QSSLCFG=“clientkey”,< SSL_ctxID
> [,<clientkeypath>]
If you don’t have a certificate, try AT+QSSLCFG= “seclevel”,2,0 ignore authentication.
Here is my at commnds sequence for BG95-M2 using vodafone easyconnect iot sim card to connect to azure iot using SAS token.
AT+CFUN=0
AT+QCFG=“nwscanseq”,0203,1
AT+QCFG=“iotopmode”,2,1
AT+QCFG=“band”,0,80084,80084
AT+CFUN=1
AT+CGDCONT=1,“IP”,“lpwa.vodafone.com”
AT+CEREG=1
AT+CREG=1