BG96 QPing fail after 1mn

Hello,

I get a problem for few months : my BG96 is connected to network, i ping 8.8.8.8 without problem, but after about 90sec my ping return OK without response text.

This is my trace :

AT+QIRD=0,0
+QIRD: 6519,6519,0
OK

AT+QISEND=0,31

ë½&ÀJæ(¼B
ÌÁç¸yÄ
SEND OK

AT+QPING=1,“8.8.8.8”
OK

+QIURC: “recv”,0
+QPING: 0,“8.8.8.8”,32,547,255

AT+QIRD=0,5
+QIRD: 5

OK

AT+QIRD=0,0
+QIRD: 6550,6524,26
OK

AT+QIRD=0,26
+QIRD: 26
w 8Ù‰†Åë+z’¶¯ "°;ÉÔüÓ@]‰
OK

AT+QIRD=0,0
+QIRD: 6550,6550,0
OK

+QPING: 0,“8.8.8.8”,32,618,255
+QPING: 0,“8.8.8.8”,32,240,255

AT+QIRD=0,5
+QIRD: 0
OK

AT+QIRD=0,0
+QIRD: 6550,6550,0
OK

+QPING: 0,“8.8.8.8”,32,221,255
+QPING: 0,4,4,0,221,618,406

AT+QIRD=0,5
+QIRD: 0
OK

AT+QIRD=0,0
+QIRD: 6550,6550,0
OK

and 1 mn later a get this log :

AT+QIRD=0,5
+QIRD: 0
OK

AT+QIRD=0,0
+QIRD: 6643,6643,0
OK

AT+QISEND=0,31


•[¾¨u²:¾aM»k”
SEND OK

AT+QPING=1,“8.8.8.8”
OK

AT+QIRD=0,5
+QIRD: 0
OK

AT+QIRD=0,0
+QIRD: 6643,6643,0
OK

AT+QIRD=0,5
+QIRD: 0
OK

AT+QIRD=0,0
+QIRD: 6643,6643,0

Response to AT+QISEND is SEND OK but frame is not received on my server
Response to QPING is OK but no text anymore.

Have you got an explanation ? Something is missing in my configuration ?

Best regards,

Hello,

I always work on this problem but simplify my application.
When my device is connected i only perform some AT+QPING=1,“8.8.8.8” i meet a strange behaviour two minutes after my connection.

QPING result is correct during 2mn and after i get this result :

12:56:45.981:
AT+QPING=1,“8.8.8.8”\r
12:56:45.992:
OK\r

12:56:55.930:
AT+QPING=1,“8.8.8.8”\r
12:56:55.941:
ERROR\r

12:57:05.870:
AT+QPING=1,“8.8.8.8”\r
12:57:05.883:
ERROR\r

12:57:15.820:
AT+QPING=1,“8.8.8.8”\r
12:57:15.822:
ERROR\r

12:57:23.871:
+QPING: 0,“8.8.8.8”,32,1063,255\r
12:57:24.241:
+QPING: 0,“8.8.8.8”,32,364,255\r

QPING return OK but no result during 30sec. After this 30sec QPING result is displayed.
Can someone help me ?

My full log file is here :
Full log file

Is the sim card a roaming sim? If yes, that’s expected due to the HPLMN searn timer which is stored in sim. This is defined in 3GPP TS23.122 4.4.3.3.1.
In roaming condition, module will start a timer(at least 2mins) after register to network, when this timer expires, module will search high prioriry network, when module is searching GSM, data transmission won’t be available. This duration will keep about 20s.

Best Regards,

1 Like

Ok, so everything is normal.
Thank you very much.

And is it possible to know that the module is not ready for data transmission due to GSM searching ?

Is it possible to avoid this searching GSM behavior with roaming SIM by setting AT+QCFG=“nwscanmode”,3 (for LTE only).

Due to BG96 has signle antenna. So when it’s searching GSM bands, LTE data transmission won’t work.

Fix the nwscanmode doesn’t avoid that, AT+COPS=1,2,, manually network mode does.

In auto selection mode, there is two method to disable this timer for single antenna device:

  1. Disable this in module, BG96 supports to disable it in firmware: BG96MAR02A07M1G_01.017.01.017 and above.
  2. Change SIM EFS file, change EFHPPLMN value to “00”, this need to be done by sim provider.

Method 2 is recommended, because method 2 follows 3GPP comply while method 1 does not.

In auto selection mode, there is two method to disable this timer for single antenna device:

  1. Disable this in module, BG96 supports to disable it in firmware: BG96MAR02A07M1G_01.017.01.017 and above.

What is the command to disable this timer?

AT+QNWCFG=“hplmnsearch_ctrl”,<0: disable 1: enable>

AT+QNWCFG=“hplmnsearch_ctrl”,<0: disable 1: enable>

I’m using BG96MAR03A04M1G, but this command returns ERROR.

For BG96MAR03, the support firmware is BG96MAR03A07M1G_01.001.01.001.

My question is : is it possible to know that BG96 is performing a GSM searching and that it is not ready to transmit datas ?

Indeed today in my software a get some problems because i send some datas with AT+SEND, i get the response SEND OK from BG96. So i’m waiting a response from server but no response (normal data are not sent) and so i think it is a server error.
If i could check the current BG96 status i could wait to send my datas.

Thanks

The status of AT+CEREG? or AT+CGREG? will chages. You can monitor the status changes of CGREG&CEREG.

Thank you but CGREG&CEREG don’t change. My log is :

AT+CEREG?
+CEREG: 0,4
OK

AT+CGREG?
+CGREG: 0,5
OK

Even when the AT+QISEND return SEND OK but bytes are not really sent.