AT+QIACT not returning OK

BG95 AT Send : AT

BG95 AT Send : AT+QCFG=“urc/ri/other”,“off”

BG95 AT Send : AT+QCFG=“iotopmode”,0,1

BG95 AT Send : AT+QCFG=“nwscanseq”,00,1

Recvd data Nw scan Req : AT+QCFG=“nwscanseq”,00,1

BG95 AT Send : AT+QCFG=“nwscanmode”,3,1

BG95 AT Send : AT+QCFG=“roamservice”,2,1

BG95 AT Send : AT+CSQ

Receive call back from csq: AT+CSQ
+CSQ: 19,99
OK

CSQ: 19
BG95 AT Send : AT+QURCCFG=“urcport”,“uart1”

RECEIVED: uart config : AT+QURCCFG=“urcport”,“uart1”
OK

BG95 AT Send : AT+CMGF=1
RECEIVED: cmgf : AT+CMGF=1
OK

BG95 AT Send : AT+CSCS=“GSM”

RECEIVED: cscs : AT+CSCS=“GSM”

OK

BG95 AT Send : AT+CGPADDR=1

Received data: AT+CGPADDR=1

+CGPADDR: 1,0.0.0.0

OK

Got invalid IP: 0.0.0.0
BG95 AT Send : AT+QIACT=1

Test : AT+QIACT response : AT+QIACT=1

ERROR

Negative Remaining MAH( -0.152500) found, (func: bq2019_app_update_fuel_gauge)
BG95 AT Send : AT+QIACT=1

Test : AT+QIACT response : AT+QIACT=1

ERROR

Hi,

There could also be a SIM card issue. If you receive an error during AT+QIACT and +CGPADDR always returns 0.0.0.0, I recommend checking the SIM card.

AT+CPIN?

+CPIN: Must be READY. If a different value (e.g., SIM PIN, SIM PUK, SIM not inserted) is returned, the module cannot use the SIM.

AT+CGATT?

It should return 1. If it returns 0, the module failed to attach GPRS to the network. This also occurs when the SIM’s data service is disabled.

AT+COPS?
AT+QNWINFO

If the operator name is not displayed, the SIM may either be malfunctioning or not registered with the network.

Can I see the AT+CPIN?, AT+CGATT? and AT+QNWINFO outputs? Based on that, I can clearly tell if it’s a SIM or an APN.

If there are no errors with AT+CPIN?, AT+CGATT? and AT+QNWINFO, then you can try the code below to get a quick answer.

AT
AT+CMEE=2
AT+CPIN?
AT+CSQ
AT+CGATT?
AT+CEREG?
AT+QNWINFO

AT+QIDEACT=1                       // Turn off old PDP (if any)
AT+QICSGP=1,1,"internet","","",1,1 // CID=1, profile=1, APN, PAP=1, IP type=1(IPv4)
                                   // (If no APN auth: ...,"","",0,1)
AT+QIACT=1                         // Turn on PDP
AT+QIACT?                          // Check status
AT+CGPADDR=1                       // IP should be received (not 0.0.0.0)
AT+QPING=1,"8.8.8.8"               // Network reachability test