Network connect RAK8212

hi!
i have problem connect to the network with BG96
i changed 2 sim already
antenna is connected !!!

please see log
[00:00:00.000,000] app: GSM_PowerUp
0>
0> [00:00:00.000,000] app: check auto baud
0>
0> [00:00:00.000,000] app: set echo
0>
0> [00:00:00.000,000] app: Gsm_SetEchoCmd ret= -1
0>
0> [00:00:00.000,000] app: check sim card
0>
0> [00:00:00.000,000] app: AT+QGPSCFG= ret= 0
0>
0> [00:00:00.000,000] app: AT+QGPS ret= 0
0>
0> [00:00:00.000,000] nrf_sdh_freertos: Creating a SoftDevice task.
0> [00:00:00.000,000] nrf_sdh_freertos: Enter softdevice_task.
0> [00:00:00.000,000] app: Enter task for the first time 0
0> [00:00:00.000,000] app: GSM_PowerUp
0>
0> [00:00:01.244,000] app:
0> *******************************
0>
0> [00:00:01.244,000] app:
0> Waking up BG96…
0>
0> [00:00:01.244,000] app:
0> *******************************
0>
0> [00:00:04.008,000] app:
0> auto baud retry
0>
0> [00:00:04.995,000] app:
0> auto baud retry
0>
0> [00:00:05.983,000] app:
0> auto baud retry
0>
0> [00:00:06.971,000] app:
0> auto baud retry
0>
0> [00:00:07.959,000] app:
0> auto baud retry
0>
0> [00:00:08.947,000] app:
0> auto baud retry
0>
0> [00:00:09.935,000] app:
0> auto baud retry
0>
0> [00:00:10.923,000] app:
0> auto baud retry
0>
0> [00:00:11.911,000] app:
0> auto baud retry
0>
0> [00:00:12.899,000] app:
0> auto baud retry
0>
0> [00:00:13.887,000] app: Gsm_AutoBaud ret= -1
0>
0> [00:00:13.887,000] app:
0> Fix baud
0>
0> [00:00:14.381,000] app: Gsm_FixBaudCmd ret= -1
0>
0> [00:00:14.382,000] app:
0> Finished AutoBaud
0>
0> [00:00:14.386,000] app: Gsm_CheckSimCmd cmd= AT+CPIN?
0> +CPIN: READY
0>
0> OK
0>
0>
0> [00:00:14.386,000] app: Gsm_CheckSimCmd ret= 0
0>
0> [00:00:14.387,000] app:
0> ::SGCE: AT+QCFG=“nwscanseq”,00,1 :: OK :: 5000 :: 0 :::
0>
0> [00:00:14.387,000] app:
0> ::WFR: OK :: 5000 :: 0 :::
0>
0> AT+QCFG=“nwscanseq”,00,1
0> OK[00:00:14.495,000] app:
0> ::SGCE: AT+QCFG=“iotopmode”,2,1 :: OK :: 5000 :: 0 :::
0>
0> [00:00:14.495,000] app:
0> ::WFR: OK :: 5000 :: 0 :::
0>
0>
0> AT+QCFG=“iotopmode”,2,1
0> OK[00:00:14.600,000] app:
0> ::SGCE: AT+QCFG=“nwscanmode”,0,1 :: OK :: 5000 :: 0 :::
0>
0> [00:00:14.600,000] app:
0> ::WFR: OK :: 5000 :: 0 :::
0>
0>
0> AT+QCFG=“nwscanmode”,0,1
0> OK[00:00:14.705,000] app:
0> ::SGCE: AT+COPS=0 :: OK :: 5000 :: 0 :::
0>
0> [00:00:14.705,000] app:
0> ::WFR: OK :: 5000 :: 0 :::
0>
0>
0> AT+COPS=0
0> OK[00:00:14.813,000] app:
0> ::SGCE: AT+CREG=2 :: OK :: 1000 :: 0 :::
0>
0> [00:00:14.813,000] app:
0> ::WFR: OK :: 1000 :: 0 :::
0>
0>
0> AT+CREG=2
0> OK[00:00:17.086,000] app:
0> ::SGCE: AT+CREG? :: 2,5 :: 200 :: 536915912 :::
0>
0> [00:00:17.087,000] app:
0> ::WFR: 2,5 :: 200 :: 536915912 :::
0>
0>
0> AT+CREG?
0> +CREG: 2,2
0>
0> OK
0> [00:00:17.286,000] app:
0> TIMEOUT
0>
0> [00:00:19.356,000] app:
0> ::SGCE: AT+CREG? :: 2,5 :: 200 :: 536915912 :::
0>
0> [00:00:19.356,000] app:
0> ::WFR: 2,5 :: 200 :: 536915912 :::
0>
0> AT+CREG?
0> +CREG: 2,2
0>
0> OK
0> [00:00:19.555,000] app:
0> TIMEOUT
0>
0> [00:00:21.627,000] app:
0> ::SGCE: AT+CREG? :: 2,5 :: 200 :: 536915912 :::
0>
0> [00:00:21.627,000] app:
0> ::WFR: 2,5 :: 200 :: 536915912 :::
0>
0> AT+CREG?
0> +CREG: 2,2
0>
0> OK
0> [00:00:21.826,000] app:
0> TIMEOUT
0>

Hi @vladi,

Maybe you can try to use our latest firmware for RAK8212(M)。
In our latest firmware of RAK8212(M), we supply a method to send AT command to RAK8212 or BG96 from Nordic mobile APP over BLE.
The latest firmware is here:
https://downloads.rakwireless.com/en/Cellular/RAK8212/Firmware/
the document is here:
https://downloads.rakwireless.com/en/Cellular/RAK8212/Application-Notes/

hi!
I burned firmware you said i connect to uart via BLE but modem doesn’t answer to AT command
pls see the log
please help me to find out the problem???

why modem
[00:00:00.000,000] app: at_parse: at+set_config=cellular:(ATI)
0> [00:00:00.000,000] app: gsm_cmd: ATI
0> [00:00:00.000,000] app:
0> [00:00:00.000,000] app: Received data from BLE NUS.
0> [00:00:00.000,000] app: 61 74 2B 73 65 74 5F 63|at+set_c
0> [00:00:00.000,000] app: 6F 6E 66 69 67 3D 63 65|onfig=ce
0> [00:00:00.000,000] app: 6C 6C 75 6C 61 72 3A 28|llular:(
0> [00:00:00.000,000] app: 43 4F 50 53 3F 29 |COPS?)
0> [00:00:00.000,000] app: cmd = at+set_config=cellular:(COPS?)
0>
0> [00:00:00.000,000] app: at_parse: at+set_config=cellular:(COPS?)
0> [00:00:00.000,000] app: gsm_cmd: COPS?
0> [00:00:00.000,000] app:
0> [00:00:00.000,000] app: Received data from BLE NUS.
0> [00:00:00.000,000] app: 61 74 2B 73 65 74 5F 63|at+set_c
0> [00:00:00.000,000] app: 6F 6E 66 69 67 3D 63 65|onfig=ce
0> [00:00:00.000,000] app: 6C 6C 75 6C 61 72 3A 28|llular:(
0> [00:00:00.000,000] app: 41 54 49 29 |ATI)
0> [00:00:00.000,000] app: cmd = at+set_config=cellular:(ATI)
0>
0> [00:00:00.000,000] app: at_parse: at+set_config=cellular:(ATI)
0> [00:00:00.000,000] app: gsm_cmd: ATI
0> [00:00:00.000,000] app: Disconnected
0> [00:00:00.000,000] app:
0> [00:00:00.000,000] app: Connected.
0> [00:00:00.000,000] nrf_ble_gatt: Requesting to update ATT MTU to 247 bytes on connection 0x5.
0> [00:00:00.000,000] nrf_ble_gatt: ATT MTU updated to 247 bytes on connection 0x5 (response).
0> [00:00:00.000,000] app: Data len is set to 0xF4(244)
0> [00:00:00.000,000] app: ATT MTU exchange completed. central 0xF7 peripheral 0xF7
0> [00:00:01.980,000] nrf_ble_gatt: Peer on connection 0x5 requested a data length of 123 bytes.
0> [00:00:01.985,000] nrf_ble_gatt: Updating data length to 27 on connection 0x5.
0> [00:00:02.206,000] nrf_ble_gatt: Data length updated to 27 on connection 0x5.
0> [00:00:02.210,000] nrf_ble_gatt: max_rx_octets: 27
0> [00:00:02.213,000] nrf_ble_gatt: max_tx_octets: 27
0> [00:00:02.216,000] nrf_ble_gatt: max_rx_time: 1096
0> [00:00:02.220,000] nrf_ble_gatt: max_tx_time: 1096
0> [00:00:02.223,000] app: ATT MTU exchange completed. central 0xF7 peripheral 0xF7
0> [00:00:00.000,000] app: Received data from BLE NUS.
0> [00:00:00.000,000] app: 61 74 2B 73 65 74 5F 63|at+set_c
0> [00:00:00.000,000] app: 6F 6E 66 69 67 3D 63 65|onfig=ce
0> [00:00:00.000,000] app: 6C 6C 75 6C 61 72 3A 28|llular:(
0> [00:00:00.000,000] app: 47 53 4E 29 |GSN)
0> [00:00:00.000,000] app: cmd = at+set_config=cellular:(GSN)
0>
0> [00:00:00.000,000] app: at_parse: at+set_config=cellular:(GSN)
0> [00:00:00.000,000] app: gsm_cmd: GSN
0> [00:00:00.000,000] app:
0> [00:00:00.000,000] app: Disconnected
0> [00:00:00.000,000] app: Connected.
0> [00:00:00.000,000] nrf_ble_gatt: Requesting to update ATT MTU to 247 bytes on connection 0x5.
0> [00:00:00.000,000] nrf_ble_gatt: ATT MTU updated to 247 bytes on connection 0x5 (response).
0> [00:00:00.000,000] app: Data len is set to 0xF4(244)
0> [00:00:00.000,000] app: ATT MTU exchange completed. central 0xF7 peripheral 0xF7
0> [00:00:01.981,000] nrf_ble_gatt: Peer on connection 0x5 requested a data length of 123 bytes.
0> [00:00:01.985,000] nrf_ble_gatt: Updating data length to 27 on connection 0x5.
0> [00:00:02.209,000] nrf_ble_gatt: Data length updated to 27 on connection 0x5.
0> [00:00:02.213,000] nrf_ble_gatt: max_rx_octets: 27
0> [00:00:02.216,000] nrf_ble_gatt: max_tx_octets: 27
0> [00:00:02.220,000] nrf_ble_gatt: max_rx_time: 1096
0> [00:00:02.223,000] nrf_ble_gatt: max_tx_time: 1096
0> [00:00:02.226,000] app: ATT MTU exchange completed. central 0xF7 peripheral 0xF7
0> [00:00:00.000,000] app: Received data from BLE NUS.
0> [00:00:00.000,000] app: 61 74 2B 73 65 74 5F 63|at+set_c
0> [00:00:00.000,000] app: 6F 6E 66 69 67 3D 63 65|onfig=ce
0> [00:00:00.000,000] app: 6C 6C 75 6C 61 72 3A 28|llular:(
0> [00:00:00.000,000] app: 43 4D 45 45 3D 31 29 |CMEE=1)
0> [00:00:00.000,000] app: cmd = at+set_config=cellular:(CMEE=1)
0>
0> [00:00:00.000,000] app: at_parse: at+set_config=cellular:(CMEE=1)
0> [00:00:00.000,000] app: gsm_cmd: CMEE=1
0> [00:00:00.000,000] app:
0> [00:00:00.000,000] app: Disconnected

Hi,
I have test the firmware. It is ok. According to your log, I think your cmd is not right because it is just a unvarnished transmission. After download, the red led will blink which means bg96 is working. Has your board started normally? Check battery supply. Below is my log:

00> [00:00:00.000,000] app: RUI Version 3.0.0.0 Device Init!!!
00> [00:00:00.000,000] app: You can send at command via BLE!!!
00> [00:00:00.000,000] app: Setting vector table to bootloader: 0x00078000
00> [00:00:00.000,000] app: Setting vector table to main app: 0x00026000
00> [00:00:00.000,000] app: GMS_PowerUp
00>
00> [00:00:00.000,000] app: Gsm_SetEchoCmd ret= -1
00>
00> [00:00:00.000,000] app: AT+QGPSCFG= ret= -1
00>
00> [00:00:00.000,000] app: AT+QGPS ret= 0
00>
00> [00:00:00.000,000] app: opt3001:manufacture_id=5449 device_id=3001
00> (Here means it finished init )
00> [00:00:00.000,000] app: Connected.
00> [00:00:00.000,000] nrf_ble_gatt: Requesting to update ATT MTU to 247 bytes on connection 0x5.
00> [00:00:00.000,000] nrf_ble_gatt: ATT MTU updated to 247 bytes on connection 0x5 (response).
00> [00:00:00.000,000] app: Data len is set to 0xF4(244)
00> [00:00:00.000,000] app: ATT MTU exchange completed. central 0xF7 peripheral 0xF7
00> [00:02:20.330,000] app: Received data from BLE NUS.
00> [00:02:20.336,000] app: 61 74 2B 73 65 74 5F 63|at+set_c
00> [00:02:20.336,000] app: 6F 6E 66 69 67 3D 63 65|onfig=ce
00> [00:02:20.336,000] app: 6C 6C 75 6C 61 72 3A 28|llular:(
00> [00:02:20.336,000] app: 41 54 49 29 |ATI)
00> [00:02:20.355,000] app: cmd = at+set_config=cellular:(ATI)
00>
00> [00:02:20.361,000] app: at_parse: at+set_config=cellular:(ATI)
00> [00:02:20.372,000] app: gsm_cmd: ATI
00> [00:02:20.659,000] app: ATI
00> Quectel
00> BG96
00> Revision: BG96MAR02A07M1G
00>
00> OK
00> [00:00:00.000,000] app: Received data from BLE NUS.
00> [00:00:00.000,000] app: 61 74 2B 73 65 74 5F 63|at+set_c
00> [00:00:00.000,000] app: 6F 6E 66 69 67 3D 63 65|onfig=ce
00> [00:00:00.000,000] app: 6C 6C 75 6C 61 72 3A 28|llular:(
00> [00:00:00.000,000] app: 41 54 2B 43 4F 50 53 3F|AT+COPS?
00> [00:00:00.000,000] app: 29 |)
00> [00:00:00.000,000] app: cmd = at+set_config=cellular:(AT+COPS?)
00>
00> [00:00:00.000,000] app: at_parse: at+set_config=cellular:(AT+COPS?)
00> [00:00:00.000,000] app: gsm_cmd: AT+COPS?
00> [00:00:00.000,000] app:
00> AT+COPS?
00> +COPS: 1,0,“CHINA MOBILE CMCC”,0
00>
00> OK
00> [00:00:00.000,000] app: Received data from BLE NUS.
00> [00:00:00.000,000] app: 61 74 2B 73 65 74 5F 63|at+set_c
00> [00:00:00.000,000] app: 6F 6E 66 69 67 3D 63 65|onfig=ce
00> [00:00:00.000,000] app: 6C 6C 75 6C 61 72 3A 28|llular:(
00> [00:00:00.000,000] app: 41 54 2B 47 53 4E 29 |AT+GSN)
00> [00:00:00.000,000] app: cmd = at+set_config=cellular:(AT+GSN)
00>
00> [00:00:00.000,000] app: at_parse: at+set_config=cellular:(AT+GSN)
00> [00:00:00.000,000] app: gsm_cmd: AT+GSN
00> [00:00:00.000,000] app:
00> AT+GSN
00> 866425033323751
00>
00> OK