MQTT sending issue on BC92

Hi all,
I’m having a issue with BC92 MQTT publishing.AT commands that I have issued are below,

[2022-03-18_13:00:29:802]AT
[2022-03-18_13:00:29:802]OK
[2022-03-18_13:00:30:844]AT+CPIN?
[2022-03-18_13:00:30:844]+CPIN: READY

[2022-03-18_13:00:30:844]OK
[2022-03-18_13:00:31:859]AT+CREG?
[2022-03-18_13:00:31:859]+CREG: 0,1

[2022-03-18_13:00:31:859]OK
[2022-03-18_13:00:32:868]AT+CGREG?
[2022-03-18_13:00:32:868]+CGREG: 0,1

[2022-03-18_13:00:32:868]OK
[2022-03-18_13:00:33:882]AT+QIMODE=0
[2022-03-18_13:00:33:882]OK
[2022-03-18_13:00:34:926]AT+QICSGP=1,1,“live.vodafone.com
[2022-03-18_13:00:34:926]ERROR
[2022-03-18_13:00:35:938]AT+QICSGP=1
[2022-03-18_13:00:35:938]+QICSGP: 1,“live.vodafone.com”,0

[2022-03-18_13:00:35:938]OK
[2022-03-18_13:00:36:981]AT+CGDCONT=1,“IP”,“live.vodafone.com
[2022-03-18_13:00:36:981]ERROR
[2022-03-18_13:00:37:942]AT+CGACT?
[2022-03-18_13:00:37:942]+CGACT: 1,1
[2022-03-18_13:00:37:942]+CGACT: 2,0

[2022-03-18_13:00:37:942]OK
[2022-03-18_13:00:38:935]AT+CGACT=1,1
[2022-03-18_13:00:38:935]OK
[2022-03-18_13:00:40:005]AT+CGDCONT?
[2022-03-18_13:00:40:005]+CGDCONT: 1,“IP”,“live.vodafone.com”,“10.160.14.149”,0,0
[2022-03-18_13:00:40:005]+CGDCONT: 2,“IP”,“live.vodafone.com”,“0.0.0.0”,0,0

[2022-03-18_13:00:40:051]OK
[2022-03-18_13:00:40:975]AT+QMTOPEN=0,“54.174.97.141”,“1883”
[2022-03-18_13:00:41:005]ERROR
[2022-03-18_13:00:42:000]AT+QMTCONN=0,“M95_0207”
[2022-03-18_13:00:42:000]ERROR
[2022-03-18_13:00:43:003]AT+QMTSUB=0,1,“topic/data”,0
[2022-03-18_13:00:43:003]ERROR
[2022-03-18_13:00:44:002]AT+QMTPUB=0,0,0,0,“topic/data”
[2022-03-18_13:00:44:002]ERROR

Please execute the following commands so that I can inference the network status of the device

AT+CEREG?
AT+CGDCONT?
AT+COPS?
AT+CGPADDR

AT+QMTOPEN=0,“54.174.97.141”,1883
AT+QMTCONN=0,“M95_0207”

Sir, please check below error,

[2022-03-18_14:12:52:436]OK
[2022-03-18_14:12:54:716]AT+CREG?
[2022-03-18_14:12:54:716]+CREG: 0,5

[2022-03-18_14:12:54:716]OK
[2022-03-18_14:12:56:140]AT+CGREG?
[2022-03-18_14:12:56:140]+CGREG: 0,5

[2022-03-18_14:12:56:140]OK
[2022-03-18_14:13:00:296]AT+CGDCONT?
[2022-03-18_14:13:00:296]OK
[2022-03-18_14:13:01:681]AT+COPS?
[2022-03-18_14:13:01:817]+COPS: 0,2,“40494”,0

[2022-03-18_14:13:01:817]OK
[2022-03-18_14:13:03:263]AT+CGPADDR
[2022-03-18_14:13:03:263]OK
[2022-03-18_14:13:04:983]AT+QMTOPEN=0,“54.174.97.141”,1883
[2022-03-18_14:13:04:983]OK

[2022-03-18_14:13:04:983]+QMTOPEN: 0,-1
[2022-03-18_14:13:07:907]AT+QMTCONN=0,“M95_0207”
[2022-03-18_14:13:07:907]+CME ERROR: parameters are invalid

image
I think the issue is strongly related to your APN configuration
Execute the command to determine the IP address to obtain the network

AT+CGPADDR=1

how can i solve this error ?
[2022-03-18_14:29:18:672]AT+CGPADDR=1
[2022-03-18_14:29:18:672]ERROR

Please execute the command

AT+CEREG=5
AT+CEREG?

sir, still same problem
[2022-03-18_14:45:21:542]AT+CEREG=5
[2022-03-18_14:45:21:542]OK
[2022-03-18_14:45:24:350]AT+CEREG?
[2022-03-18_14:45:24:350]+CEREG: 5,0

[2022-03-18_14:45:24:382]OK
[2022-03-18_14:45:31:762]AT+CGPADDR=1
[2022-03-18_14:45:31:762]ERROR

I suggest you check whether your SIM card is enabled with GPRS service;You can also use a SIM card from your local operator to debugging(currently vodafone SIM is roaming)