Module:
HL7812.5.5.14.0
I am configuring the PRL with AT+KSELACQ=0, 2,3,1
AT+KSELACQ?
+KSELACQ: 2,3,1
and then configuring the bands:
cat-m="1,2,3,4,5,8,12,20,66"
nbiot="3,8,20"
[00:00:41.128,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
[00:00:41.128,000] <dbg> modem_hl7812: send_at_cmd: SEND ATCMD k_sem_take RET01 (RESPONSE SEM): 0
+KBNDCFG: 0,000002000000000008089F
[00:00:41.147,000] <dbg> modem_hl7812_rx: hl7812_rx: HANDLE +KBNDCFG: (len:24)
[00:00:41.147,000] <dbg> modem_hl7812_rx: on_cmd_radio_band_configuration: Parsing CAT-M1 band configuration
[00:00:41.147,000] <dbg> modem_hl7812_rx: on_cmd_radio_band_configuration: CAT-M1 band configuration: 0002 00000000 0008089f
+KBNDCFG: 1,0000000000000000080084
[00:00:41.150,000] <dbg> modem_hl7812_rx: hl7812_rx: HANDLE +KBNDCFG: (len:24)
[00:00:41.150,000] <dbg> modem_hl7812_rx: on_cmd_radio_band_configuration: Parsing NB-IoT band configuration
[00:00:41.150,000] <dbg> modem_hl7812_rx: on_cmd_radio_band_configuration: NB-IoT band configuration: 0000 00000000 00080084
+KBNDCFG: 2,0
First, read the existing band configuration; if the configurations do not match what I want to use, set the new configuration, and restart.
The problem is that the modem is searching for a number of bands for NB-IoT that I didn’t enable. I enabled only three bands for NB-IoT, but it seems the modem is searching for 19 bands. Additionally, the modem is only searching for three bands for Cat-M, which is the number of bands I set for NB-IoT.
SEE here below in the log:
the modem searches
19 bands for ksrat:1(nbiot)
1 search for GSM
and 3 search for cat-m
(I assume that each +CEREG: 2 and +CEREG: 0 URC notification corresponds to a search for each band.)
this one is a log with KNBNDCFG? query every time we have cereg notification:
[00:00:32.339,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+CFUN=4,1]
OK
+WDSI: 0
+KSUP: 0
[00:00:40.054,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
[00:00:40.058,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+CEREG=0]
OK
[00:00:40.186,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+CREG=0]
OK
[00:00:40.189,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT&V]
[00:00:40.511,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+CMEE=1]
OK
[00:00:40.519,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSELACQ?]
+KSELACQ: 2,3,1
OK
[00:00:40.524,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
[00:00:41.128,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:00:41.152,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KHWIOCFG=3,1,6]
OK
[00:00:41.155,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KPSMEV=1]
OK
[00:00:41.159,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSLEEP=1,2,0]
OK
[00:00:41.165,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+CEDRXS=0]
OK
[00:00:41.169,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+CPSMS=1,,,"00001111","00001111"]
OK
[00:00:41.179,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+CGDCONT?]
+CGDCONT: 1,"IPV4V6",,,0,0,0,0,0,,0,,,,
+CGDCONT: 2,"IPV4V6",,,0,0,0,0,0,,0,,,,
OK
[00:00:41.336,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+WPPP?]
+WPPP: 0,1,"",""
+WPPP: 0,2,"",""
OK
[00:00:41.351,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KCNXCFG=1,"GPRS","",,,"IPV4V6"]
OK
[00:00:41.371,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+CGEREP=2]
OK
[00:00:41.380,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+CREG=3]
OK
[00:00:42.645,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+CEREG=5]
OK
[00:00:42.660,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KTCPCFG?]
OK
[00:00:42.666,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KUDPCFG?]
OK
[00:00:42.672,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+CFUN=1,0]
OK
+CEREG: 2
+CREG: 2
[00:00:42.755,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:00:42.780,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:00:44.279,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:00:44.303,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:00:45.290,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:00:45.315,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:00:46.793,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:00:46.818,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:00:48.813,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:00:48.838,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:00:50.308,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:00:50.333,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:00:53.320,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:00:53.345,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:00:54.823,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:00:54.847,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:00:59.843,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:00:59.867,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:01:01.338,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:01:01.362,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:01:10.357,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:01:10.382,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:01:11.852,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:01:11.876,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:01:28.871,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:01:28.895,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:01:30.365,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:01:30.390,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:01:59.383,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:01:59.408,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:02:00.878,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:02:00.902,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:02:29.895,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:02:29.920,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:02:31.390,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:02:31.415,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:03:00.408,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:03:00.433,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:03:01.903,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:03:01.927,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:03:30.920,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:03:30.945,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:04:45.268,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:04:45.293,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:05:15.286,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:05:15.311,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:05:16.781,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:05:16.805,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:05:45.798,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:05:45.823,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:05:47.293,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:05:47.317,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:06:16.311,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:06:16.335,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:06:17.805,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:06:17.830,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:06:46.823,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:06:46.848,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:08:01.171,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:08:01.196,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:08:31.189,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:08:31.213,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:08:32.683,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:08:32.708,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:09:01.701,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:09:01.726,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:09:03.196,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:09:03.220,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:09:32.213,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:09:32.238,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:09:33.708,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:09:33.733,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:10:02.726,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:10:02.750,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:11:17.063,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:11:17.133,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 2
OK
+CREG: 2
+CREG: 0
[00:11:22.817,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:11:25.070,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 0
OK
+CEREG: 2
+CREG: 0
[00:11:28.647,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:11:28.672,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 0
OK
+CEREG: 0
+CREG: 0
[00:12:58.066,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:12:58.090,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 0
OK
+CEREG: 2
+CREG: 0
[00:13:00.086,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:13:00.110,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 0
OK
+CEREG: 0
+CREG: 0
[00:14:29.484,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:14:29.509,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 0
OK
+CEREG: 2
+CREG: 0
[00:14:32.483,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:14:32.508,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 0
OK
[00:15:18.013,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+CFUN=4,0]
OK
this is a log we run KBND? evertime when we have cereg notif:
[00:00:33.540,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+CFUN=4,1]
OK
+WDSI: 0
+KSUP: 0
[00:00:41.031,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
[00:00:41.035,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+CEREG=0]
OK
[00:00:41.184,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+CREG=0]
OK
[00:00:41.188,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT&V]
[00:00:41.510,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+CMEE=1]
OK
[00:00:41.514,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSELACQ?]
+KSELACQ: 2,3,1
OK
[00:00:41.519,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
[00:00:42.123,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBNDCFG?]
+KBNDCFG: 0,000002000000000008089F
+KBNDCFG: 1,0000000000000000080084
+KBNDCFG: 2,0
OK
[00:00:42.147,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KHWIOCFG=3,1,6]
OK
[00:00:42.151,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KPSMEV=1]
OK
[00:00:42.159,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSLEEP=1,2,0]
OK
[00:00:42.165,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+CEDRXS=0]
OK
[00:00:42.169,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+CPSMS=1,,,"00001111","00001111"]
OK
[00:00:42.178,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+CGDCONT?]
+CGDCONT: 1,"IPV4V6",,,0,0,0,0,0,,0,,,,
+CGDCONT: 2,"IPV4V6",,,0,0,0,0,0,,0,,,,
OK
[00:00:42.335,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+WPPP?]
+WPPP: 0,1,"",""
+WPPP: 0,2,"",""
OK
[00:00:42.350,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KCNXCFG=1,"GPRS","",,,"IPV4V6"]
OK
[00:00:42.371,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+CGEREP=2]
OK
[00:00:42.380,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+CREG=3]
OK
[00:00:42.931,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+CEREG=5]
OK
[00:00:42.945,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KTCPCFG?]
OK
[00:00:42.950,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KUDPCFG?]
OK
[00:00:42.957,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+CFUN=1,0]
OK
+CEREG: 2
+CREG: 2
[00:00:43.259,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:00:43.420,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:00:44.782,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:00:44.788,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:00:45.794,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:00:45.800,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:00:47.297,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:00:47.303,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:00:49.317,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:00:49.323,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:00:50.812,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:00:50.818,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:00:53.824,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:00:53.830,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:00:55.326,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:00:55.332,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:01:00.346,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:01:00.352,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:01:01.841,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:01:01.847,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:01:10.861,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:01:10.867,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:01:12.355,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:01:12.361,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:01:29.375,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:01:29.380,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:01:30.869,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:01:30.875,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:01:59.887,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:01:59.893,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:02:01.381,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:02:01.387,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:02:30.399,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:02:30.405,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:02:31.894,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:02:31.899,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:03:00.911,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:03:00.917,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:03:02.406,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:03:02.412,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:03:31.424,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:03:31.430,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:04:45.771,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:04:45.777,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:05:15.790,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:05:15.795,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:05:17.284,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:05:17.290,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:05:46.302,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:05:46.308,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:05:47.797,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:05:47.802,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:06:16.814,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:06:16.820,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:06:18.309,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:06:18.315,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:06:47.327,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:06:47.333,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:08:01.675,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:08:01.680,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:08:31.692,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:08:31.698,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:08:33.187,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:08:33.193,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:09:02.205,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:09:02.211,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:09:03.699,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:09:03.705,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:09:32.717,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:09:32.723,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:09:34.212,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:09:34.218,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 2
+CREG: 2
[00:10:03.229,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 1,0000000000000000000000
OK
[00:10:03.235,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 1
OK
+CEREG: 0
+CREG: 0
[00:11:17.567,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 2,0000000000000000000000
OK
[00:11:22.290,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+CREG: 2
+KSRAT: 2
OK
+CREG: 0
+CEREG: 2
+CREG: 0
[00:11:29.142,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 0,0000000000000000000000
OK
[00:11:29.148,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 0
OK
+CEREG: 0
+CREG: 0
[00:12:58.563,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 0,0000000000000000000000
OK
[00:12:58.569,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 0
OK
+CEREG: 2
+CREG: 0
[00:13:00.583,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 0,0000000000000000000000
OK
[00:13:00.589,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 0
OK
+CEREG: 0
+CREG: 0
[00:14:29.981,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 0,0000000000000000000000
OK
[00:14:29.987,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 0
OK
+CEREG: 2
+CREG: 0
[00:14:32.980,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KBND?]
+KBND: 0,0000000000000000000000
OK
[00:14:32.986,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+KSRAT?]
+KSRAT: 0
OK
[00:15:23.492,000] <dbg> modem_hl7812: send_at_cmd: OUT: [AT+CFUN=4,0]
OK
Another problem seems to be that we have kbnd: 0 for all time.