I uploaded nrf9160dk working code in nrf9160 feather board file. before upload the the code i added the new board circuitdojo_feather_nrf9160_ns in application section. Build was completed successfully. UART logs mentioned below:
*** Booting Zephyr OS build v2.7.99-ncs1-1 ***
[00:00:00.207,366] <inf> app_lwm2m_client: Run LWM2M client
[00:00:00.207,977] <inf> app_lwm2m_client: Initializing modem.
[00:00:00.222,106] <inf> app_lwm2m_client: endpoint: urn:imei:35265#####5955
[00:00:00.222,930] <dbg> gps_module.initialise_gps: GPS device found: NRF9160_GPS
[00:00:00.223,022] <inf> lwm2m_neighbour_cell: Registering ncell notification handler
[00:00:00.223,358] <inf> lwm2m_firmware: Update Counter: current 0, update 0
[00:00:00.223,388] <inf> lwm2m_firmware: Image is not confirmed OK
[00:00:00.223,449] <inf> lwm2m_firmware: Marked image as OK
[00:00:00.223,663] <inf> lwm2m_firmware: Update Counter updated
[00:00:00.223,663] <inf> lwm2m_firmware: Firmware updated successfully
[00:00:00.223,693] <inf> app_lwm2m_client: Connecting to LTE network.
[00:00:00.223,724] <inf> app_lwm2m_client: This may take several minutes.
UART0 start!
[00:00:34.269,287] <inf> app_lwm2m_client: Connected to LTE network
[00:00:34.274,261] <inf> net_lwm2m_rd_client: Start LWM2M Client: urn:imei:35265#######5955
[00:00:35.215,850] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'urn:imei:35265######955' with client lifetime 0
**[00:00:35.400,207] <err> net_lwm2m_rd_client: Failed with code 4.3 (Forbidden). Not Retrying.**
[00:00:35.400,543] <dbg> app_lwm2m_client.rd_client_event: Registration failure!
prj.cof
# Set LwM2M Server IP address here
CONFIG_APP_LWM2M_SERVER="leshan.eclipseprojects.io"
# DTLS settings
CONFIG_LWM2M_DTLS_SUPPORT=n
CONFIG_LWM2M_PEER_PORT=5683
—————————SIM Details———————
First time i use Hologram sim which comes with nrf9160 feather . Same error as above
Second time i use working i-Basis sim which comes with nrf9160-DK board and successfully tested with Leshan server but with nrf9160 Feather i am getting same error.
Could you please help me to resolve this issue.
Best Regards
Deepak Aagri