AT BG96 Factory Default

Prior to changing the bootloader on the RAK5010 board, we’ve been testing with the RAK Serial Port Tool. Somehow I think I got into an error state. How can I completely factory reset the BG96?

This is what I’m seeing:

at+set_config=cellular:(AT+CFUN?)
AT+CFUN?AT+CFUN?
+CFUN: 4

OK>>at+set_config=cellular:(AT+CFUN=1)
AT+CFUN=1
AT+CFUN=1
+CME ERROR: 3
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ

Nothing I tried can set CFUN=1, it’s always 4. The SIM works on another board.

at+set_config=cellular:(AT+COPS=?)
AT+COPS=?AT+COPS=?
ERROR
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ

at+version
Firmware Version: RUI v3.0.0.15
OK

Found what I did…

I’m using Airplane mode and the W_DISABLE pin to control some power functions.

“Airplane Mode: AT+CFUN=4 command or W_DISABLE# pin can set the module into airplane mode. In
this case, RF function will be invalid.”

My custom software handles this pin in code, but when I was testing, I ran this:

at+set_config=cellular:(AT+QCFG=“airplanecontrol”,1)

So the device was set to Airplane mode, running:

at+set_config=cellular:(AT+QCFG=“airplanecontrol”,0)

Resolved my issue.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.