Use “AT+QLWM2M?” command and configure file(bootstrap.ini, carrier_apn_cfg, lwm2m_cfg and qcli_config)
to connect to leshan Lwm2m server(coap://leshan.eclipseprojects.io:5683) using a non secure connection
but can not register…
The log as below:
I have the same issue as tim stated above.
I used your config file and didn’t work.
Since “coap://leshan.eclipse.org:5683” is not working, I’ve used “coap://leshan.eclipseprojects.io:5683”.
However, the result was same.
I’ve tried several methods…
Method 1:
AT+QLWM2M=“select”,0
AT+QLWM2M=“enable”,1
AT+QLWM2M=“qcli_en”,1
AT+QLWM2M=“register”
And restart
Method 2:
AT+QLWM2M=“select”,0
AT+QLWM2M=“enable”,1
AT+QLWM2M=“cdp”,“coap://leshan.eclipseprojects.io”,5683 or (“coaps://leshan.eclipseprojects.io”,5684)
AT+QLWM2M=“psk”,0
AT+QLWM2M=“psk”,1
AT+QLWM2M=“qcli_en”,1
AT+QLWM2M=“register”
And restart
What exact steps do I need to do from BG96?
I would like to know the steps for “with PSK” and “without PSK.”
I’ve used default settings and didn’t work.
I’ve changed config file and didn’t work.
I tried so many different ways(combine default settings and config) and all failed.
Just let you know that I used those two methods to set default values and didn’t include config file.
Later on, I implemented config file because it didn’t register.
Hey i am facing very similar issue now the LWM2M client connection stops at registering only
+QLWEVENT: 0,“STATE_INITIAL”
+QLWEVENT: 3,“STATE_REGISTER_REQUIRED”
+QLWEVENT: 4,“STATE_REGISTERING”
Unfortunately i am using SixFab cellular IoT Kit with raspberry pi and Quectel BG96 so can’t collect modem log for debug UART with no DBG_UART available there.
But i have tried config file similar to what was shared above still doesn’t solve the issue … currently i am focussed to get this working with non-secure mode …
1.Attaching config used that was added in Alternate file system /datatx through EFS explorer
Current BG96 firmware version is BG96MAR04A03M1G_01.003.01.003
Have registered client device on leshan server and bootstrap server as well.
Also tried with AT+QLWM2M cmds as well still not helping.