BG96 QIACT error after exiting PSM mode

Hello,

Currently I have a project that needs bg96 to send UDP packets to a echo server every time it wakes up from PSM. Also I’m using HVPM to monitor the current of it.

First network attach and UDP packets can be send and received by BG96 successfully, however when bg96 wakes up then it will be stuck at AT+QIACT.

Full logs are shown below. I masked the ip the port for safety.

[2024-05-16 16:59:25:829_S:] AT+CGATT?
[2024-05-16 16:59:25:899_R:] AT+CGATT?
[2024-05-16 16:59:25:899_R:] +CGATT: 1

[2024-05-16 16:59:25:899_R:] OK
[2024-05-16 16:59:32:642_S:] AT+QIACT=1
[2024-05-16 16:59:32:696_R:] AT+QIACT=1
[2024-05-16 16:59:32:696_R:] OK
[2024-05-16 16:59:36:278_S:] AT+QIOPEN=1,0,"UDP","140.XXX.XX.XX",XXXX
[2024-05-16 16:59:36:336_R:] AT+QIOPEN=1,0,"UDP","140.XXX.XX.XX",XXXX
[2024-05-16 16:59:36:336_R:] OK

[2024-05-16 16:59:36:336_R:] +QIOPEN: 0,0
[2024-05-16 16:59:38:597_S:] AT+QISEND=0
[2024-05-16 16:59:38:652_R:] AT+QISEND=0
[2024-05-16 16:59:38:652_R:] > HELLO
[2024-05-16 16:59:47:790_R:] HELLO

[2024-05-16 16:59:49:433_R:] SEND OK

[2024-05-16 16:59:50:149_R:] +QIURC: "recv",0
[2024-05-16 16:59:50:151_S:] AT+QIRD=0

[2024-05-16 16:59:50:155_R:] DSR:0 CTS:0 (RI:1) DCD:0
[2024-05-16 16:59:50:213_R:] AT+QIRD=0
[2024-05-16 16:59:50:213_R:] +QIRD: 7
[2024-05-16 16:59:50:213_R:] HELLO


[2024-05-16 16:59:50:213_R:] OK
[2024-05-16 16:59:55:803_S:] AT+QICLOSE=0

[2024-05-16 16:59:55:806_R:] DSR:0 CTS:0 (RI:0) DCD:0
[2024-05-16 16:59:55:869_R:] AT+QICLOSE=0
[2024-05-16 16:59:55:869_R:] OK

[2024-05-16 17:00:00:495_R:] +QPSMTIMER: 300,120
[2024-05-16 17:00:09:997_S:] AT+QPSMS?
[2024-05-16 17:00:10:057_R:] AT+QPSMS?
[2024-05-16 17:00:10:057_R:] +QPSMS: 1,,,"300","120"

[2024-05-16 17:00:10:057_R:] OK

[2024-05-16 17:02:00:537_R:] DSR:0 CTS:0 (RI:1) DCD:0

[2024-05-16 17:02:00:589_R:] +QIURC: "pdpdeact",1

[2024-05-16 17:02:00:660_R:] DSR:0 CTS:0 (RI:0) DCD:0

[2024-05-16 17:02:00:845_R:] DSR:0 CTS:0 (RI:1) DCD:0

[2024-05-16 17:02:00:905_R:] PSM POWER DOWN

[2024-05-16 17:02:01:097_R:] DSR:0 CTS:0 (RI:0) DCD:0
[2024-05-16 17:05:11:523_S:] AT+CGATT?
[2024-05-16 17:05:11:586_R:] AT+CGATT?
[2024-05-16 17:05:11:586_R:] +CGATT: 1

[2024-05-16 17:05:11:586_R:] OK
[2024-05-16 17:05:18:162_S:] AT+QIACT=1
[2024-05-16 17:05:18:222_R:] AT+QIACT=1
[2024-05-16 17:05:18:799_R:] ERROR

From the Tcp/IP AT manual it says you will need to reboot the module if AT+QIACT failed, but I tend to test the proper current measurement of multiple PSM cycle.

Are there any other ways to solve this problem?

Any help will be appreciated!

Regards,
Kenny

Hi @kenny

Can you try with AT+QIACT? after wakeup from PSM? the first PDP should be activate by default.

Hello,
I had solved this problem by reflashing the same version of firmware.

Not really know what happened there, but this QIACT error never occured again after hundreds of PSM cycle during my testing.