Cannot create device on AVSystem portal with custom endpoint

Hey,

We are trying to create PoC which includes NordicSemi thingy 91 or nRF9160DK, AVSystem portal and AWS cloud.

By default AVSystem uses string "urn:imei:<imei number>" as device identifier. That works fine but because of issue of AVSystem it doesn't allow to create thing on AWS - because of colon usage.

To avoid that we are trying to create new device with endpoint "urnimei<imei number>" but this is where it doesn't work. Sequence is following:

1. Device was successfully added to AVSystem portal via provision.py script from lwm2m client application and at_client application. Device become visible on AVSystem portal in state bootstrap.

2. Next step - connect device using lwm2m_client application. In order to use updated endpoint following config was added to Pjt.conf file: CONFIG_APP_ENDPOINT_PREFIX="urnimei"

3. On connection terminal shows following:

[00:00:00.296,020] <inf> net_lwm2m_obj_loc_assistance: Created a location assistance object: 0
[00:00:00.296,234] <inf> app_lwm2m_client: Run LWM2M client
[00:00:00.501,342] <inf> app_lwm2m_client: Initializing modem.
[00:00:00.505,218] <inf> app_lwm2m_client: endpoint: urnimei351516172688616
[00:00:00.510,223] <inf> lwm2m_neighbour_cell: Registering ncell notification handler
[00:00:00.510,559] <inf> lwm2m_firmware: Update Counter: current 0, update 0
[00:00:00.510,589] <inf> lwm2m_firmware: Image is not confirmed OK
[00:00:00.510,681] <inf> lwm2m_firmware: Marked image as OK
[00:00:00.510,894] <inf> lwm2m_firmware: Update Counter updated
[00:00:00.510,894] <inf> lwm2m_firmware: Firmware updated successfully
[00:00:00.510,955] <inf> app_lwm2m_client: Connecting to LTE network.
[00:00:00.510,955] <inf> app_lwm2m_client: This may take several minutes.
[00:00:23.136,199] <inf> app_lwm2m_client: Connected to LTE network
[00:00:23.140,136] <inf> lwm2m_connmon: Updating modem data on connmon
[00:00:23.141,662] <inf> net_lwm2m_rd_client: Start LWM2M Client: urnimei351516172688616
[00:00:23.800,262] <inf> net_lwm2m_rd_client: Bootstrap started with endpoint 'urnimei351516172688616' with client lifetime 0
[00:02:50.961,822] <err> net_lwm2m_engine: Cannot connect UDP (-116)
[00:02:50.968,597] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-116)

Unfortunately guys from AVSystem have lack of knowledge with Thingy side.

Can you please suggest how to debug this?

Thanks,

Mykhaylo 

 

Parents
  • Thanks a lot for your feedback, Mykhaylo! 

    MykhayloKohut said:
    What I see in it is that endpoint value is changed to my new format "urnimei" instead of "urn:imei:". But Identity value is still "urn:imei:" while I would expect it to be same "urnimei". Is there any way to change Identity value?

    I asked one of my colleagues with an active AVSystem account to perform the same steps you did, and he was able to successfully connect to the Coiote server: 

    *** Booting Zephyr OS build v3.0.99-ncs1  *** 
    
    I: Starting bootloader 
    
    I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3 
    
    I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3 
    
    I: Boot source: none 
    
    I: Swap type: none 
    
    I: Bootloader chainload address offset: 0x10000 
    
    I: Jumping to the first image slot*** Booting Zephyr OS build v3.0.99-ncs1  ***Flash regions        Domain        Permissions00 03 0x00000 0x20000     Secure        rwxl04 31 0x20000 0x100000     Non-Secure    rwxl 
    
    Non-secure callable region 0 placed in flash region 3 with size 32. 
    
    SRAM region        Domain        Permissions00 03 0x00000 0x08000     Secure        rwxl04 31 0x08000 0x40000     Non-Secure    rwxlPeripheral        Domain        Status00 NRF_P0               Non-Secure    OK01 NRF_CLOCK            Non-Secure    OK02 NRF_RTC0             Non-Secure    OK03 NRF_RTC1             Non-Secure    OK04 NRF_NVMC             Non-Secure    OK05 NRF_UARTE1           Non-Secure    OK06 NRF_UARTE2           Secure        SKIP07 NRF_TWIM2            Non-Secure    OK08 NRF_SPIM3            Non-Secure    OK09 NRF_TIMER0           Non-Secure    OK10 NRF_TIMER1           Non-Secure    OK11 NRF_TIMER2           Non-Secure    OK12 NRF_SAADC            Non-Secure    OK13 NRF_PWM0             Non-Secure    OK14 NRF_PWM1             Non-Secure    OK15 NRF_PWM2             Non-Secure    OK16 NRF_PWM3             Non-Secure    OK17 NRF_WDT              Non-Secure    OK18 NRF_IPC              Non-Secure    OK19 NRF_VMC              Non-Secure    OK20 NRF_FPU              Non-Secure    OK21 NRF_EGU0             Non-Secure    OK22 NRF_EGU1             Non-Secure    OK23 NRF_EGU2             Non-Secure    OK24 NRF_EGU3             Non-Secure    OK25 NRF_EGU4             Non-Secure    OK26 NRF_EGU5             Non-Secure    OK27 NRF_DPPIC            Non-Secure    OK28 NRF_REGULATORS       Non-Secure    OK29 NRF_PDM              Non-Secure    OK30 NRF_I2S              Non-Secure    OK31 NRF_GPIOTE1          Non-Secure    OK 
    
    SPM: NS image at 0x20200 
    
    SPM: NS MSP at 0x200257d0 
    
    SPM: NS reset vector at 0x2f401 
    
    SPM: prepare to jump to Non-Secure image.*** Booting Zephyr OS build v3.0.99-ncs1  *** 
    
    [1B][m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:00.317,138] [1B][0m<inf> app_lwm2m_client: Run LWM2M client[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:00.602,752] [1B][0m<inf> app_lwm2m_client: Initializing modem.[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:00.634,552] [1B][0m<inf> app_lwm2m_client: endpoint: urnimei352656106443396[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:00.639,251] [1B][0m<inf> lwm2m_neighbour_cell: Registering ncell notification handler[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:00.639,556] [1B][0m<inf> lwm2m_firmware: Update Counter: current 0, update 0[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:00.639,587] [1B][0m<inf> lwm2m_firmware: Image is not confirmed OK[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:00.639,678] [1B][0m<inf> lwm2m_firmware: Marked image as OK[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:00.640,228] [1B][0m<inf> lwm2m_firmware: Update Counter updated[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:00.640,258] [1B][0m<inf> lwm2m_firmware: Firmware updated successfully[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:00.640,289] [1B][0m<inf> app_lwm2m_client: Connecting to LTE network.[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:00.640,319] [1B][0m<inf> app_lwm2m_client: This may take several minutes.[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:02.593,292] [1B][0m<inf> app_lwm2m_client: Connected to LTE network[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:02.609,527] [1B][0m<inf> lwm2m_connmon: Updating modem data on connmon[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:02.621,307] [1B][0m<inf> net_lwm2m_rd_client: Start LWM2M Client: urnimei352656106443396[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:03.317,199] [1B][0m<inf> net_lwm2m_rd_client: RD Client started with endpoint 'urnimei352656106443396' with client lifetime 30[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:03.613,861] [1B][0m<inf> lwm2m_security: Need to write credentials, requesting LTE and GNSS offline...[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:07.296,508] [1B][0m<inf> lwm2m_security: Requesting LTE and GNSS online[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:08.832,519] [1B][0m<inf> lwm2m_security: Modem connection restored[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:09.253,479] [1B][0m<inf> net_lwm2m_engine: Connected, sock id 0[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:09.606,292] [1B][0m<dbg> app_lwm2m_client: rd_client_event: Registration complete[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:09.606,506] [1B][0m<inf> app_lwm2m_client: Obtained date-time from modem[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:09.611,450] [1B][0m<dbg> gnss_module: gnss_event_handler: A-GPS data request not supported.[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:09.611,480] [1B][0m<dbg> gnss_module: start_gnss: Started GNSS scan[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:09.611,511] [1B][0m<inf> net_lwm2m_rd_client: Registration Done (EP='urnimei352656106443396')[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:19.086,029] [1B][0m<inf> app_lwm2m_gas_res_sensor: Gas resistance: 9931.000000 Ω[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:19.248,260] [1B][0m<inf> app_lwm2m_temp_sensor: Temperature: 20.270827 °C[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:19.409,240] [1B][0m<inf> app_lwm2m_humid_sensor: Humidity: 52.306538 %[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:19.745,788] [1B][0m<inf> app_lwm2m_accel: Acceleration x-direction: -3.-190732[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:19.746,673] [1B][0m<inf> app_lwm2m_accel: Acceleration y-direction: -3.-178325[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:19.747,497] [1B][0m<inf> app_lwm2m_accel: Acceleration z-direction: -3.-165918[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:19.888,275] [1B][0m<inf> app_lwm2m_press_sensor: Pressure: 98.307593 kPa[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:20.047,821] [1B][0m<inf> app_lwm2m_light_sensor: Light value: 0x2B5796FF[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:20.048,553] [1B][0m<inf> app_lwm2m_light_sensor: Colour value: 0x6CFFFFC9[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:39.900,054] [1B][0m<inf> net_lwm2m_rd_client: Update callback (code:2.4)[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:39.900,085] [1B][0m<dbg> app_lwm2m_client: rd_client_event: Registration update complete[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:39.900,115] [1B][0m<inf> net_lwm2m_rd_client: Update Done[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:59.036,834] [1B][0m<inf> net_lwm2m_rd_client: Update callback (code:2.4)[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:59.036,865] [1B][0m<dbg> app_lwm2m_client: rd_client_event: Registration update complete[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:59.036,865] [1B][0m<inf> net_lwm2m_rd_client: Update Done[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:01:18.235,198] [1B][0m<inf> net_lwm2m_rd_client: Update callback (code:2.4)[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:01:18.235,260] [1B][0m<dbg> app_lwm2m_client: rd_client_event: Registration update complete[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:01:18.235,260] [1B][0m<inf> net_lwm2m_rd_client: Update Done[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:01:37.821,563] [1B][0m<inf> net_lwm2m_rd_client: Update callback (code:2.4)[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:01:37.821,594] [1B][0m<dbg> app_lwm2m_client: rd_client_event: Registration update complete[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:01:37.821,624] [1B][0m<inf> net_lwm2m_rd_client: Update Done[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:01:59.984,191] [1B][0m<inf> net_lwm2m_rd_client: Update callback (code:2.4)[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:01:59.984,252] [1B][0m<dbg> app_lwm2m_client: rd_client_event: Registration update complete[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:01:59.984,252] [1B][0m<inf> net_lwm2m_rd_client: Update Done[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:02:21.841,522] [1B][0m<inf> net_lwm2m_rd_client: Update callback (code:2.4)[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:02:21.841,552] [1B][0m<dbg> app_lwm2m_client: rd_client_event: Registration update complete[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:02:21.841,583] [1B][0m<inf> net_lwm2m_rd_client: Update Done[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:02:44.075,531] [1B][0m<inf> net_lwm2m_rd_client: Update callback (code:2.4)[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:02:44.075,561] [1B][0m<dbg> app_lwm2m_client: rd_client_event: Registration update complete[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:02:44.075,592] [1B][0m<inf> net_lwm2m_rd_client: Update Done[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:03:06.469,512] [1B][0m<inf> net_lwm2m_rd_client: Update callback (code:2.4)[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:03:06.469,543] [1B][0m<dbg> app_lwm2m_client: rd_client_event: Registration update complete[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:03:06.469,573] [1B][0m<inf> net_lwm2m_rd_client: Update Done[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:03:27.847,503] [1B][0m<inf> net_lwm2m_rd_client: Update callback (code:2.4)[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:03:27.847,534] [1B][0m<dbg> app_lwm2m_client: rd_client_event: Registration update complete[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:03:27.847,534] [1B][0m<inf> net_lwm2m_rd_client: Update Done[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:03:50.159,118] [1B][0m<inf> net_lwm2m_rd_client: Update callback (code:2.4)[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:03:50.159,149] [1B][0m<dbg> app_lwm2m_client: rd_client_event: Registration update complete[1B][0m 

    He did not use the provision.py script though and performed the steps manually instead. That brought my attention to the script itself. You probably have to update this line as well in the script to make the identity value match:

    identity = f'urn:imei:{imei}'

    Cheers, 

    Markus 

Reply
  • Thanks a lot for your feedback, Mykhaylo! 

    MykhayloKohut said:
    What I see in it is that endpoint value is changed to my new format "urnimei" instead of "urn:imei:". But Identity value is still "urn:imei:" while I would expect it to be same "urnimei". Is there any way to change Identity value?

    I asked one of my colleagues with an active AVSystem account to perform the same steps you did, and he was able to successfully connect to the Coiote server: 

    *** Booting Zephyr OS build v3.0.99-ncs1  *** 
    
    I: Starting bootloader 
    
    I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3 
    
    I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3 
    
    I: Boot source: none 
    
    I: Swap type: none 
    
    I: Bootloader chainload address offset: 0x10000 
    
    I: Jumping to the first image slot*** Booting Zephyr OS build v3.0.99-ncs1  ***Flash regions        Domain        Permissions00 03 0x00000 0x20000     Secure        rwxl04 31 0x20000 0x100000     Non-Secure    rwxl 
    
    Non-secure callable region 0 placed in flash region 3 with size 32. 
    
    SRAM region        Domain        Permissions00 03 0x00000 0x08000     Secure        rwxl04 31 0x08000 0x40000     Non-Secure    rwxlPeripheral        Domain        Status00 NRF_P0               Non-Secure    OK01 NRF_CLOCK            Non-Secure    OK02 NRF_RTC0             Non-Secure    OK03 NRF_RTC1             Non-Secure    OK04 NRF_NVMC             Non-Secure    OK05 NRF_UARTE1           Non-Secure    OK06 NRF_UARTE2           Secure        SKIP07 NRF_TWIM2            Non-Secure    OK08 NRF_SPIM3            Non-Secure    OK09 NRF_TIMER0           Non-Secure    OK10 NRF_TIMER1           Non-Secure    OK11 NRF_TIMER2           Non-Secure    OK12 NRF_SAADC            Non-Secure    OK13 NRF_PWM0             Non-Secure    OK14 NRF_PWM1             Non-Secure    OK15 NRF_PWM2             Non-Secure    OK16 NRF_PWM3             Non-Secure    OK17 NRF_WDT              Non-Secure    OK18 NRF_IPC              Non-Secure    OK19 NRF_VMC              Non-Secure    OK20 NRF_FPU              Non-Secure    OK21 NRF_EGU0             Non-Secure    OK22 NRF_EGU1             Non-Secure    OK23 NRF_EGU2             Non-Secure    OK24 NRF_EGU3             Non-Secure    OK25 NRF_EGU4             Non-Secure    OK26 NRF_EGU5             Non-Secure    OK27 NRF_DPPIC            Non-Secure    OK28 NRF_REGULATORS       Non-Secure    OK29 NRF_PDM              Non-Secure    OK30 NRF_I2S              Non-Secure    OK31 NRF_GPIOTE1          Non-Secure    OK 
    
    SPM: NS image at 0x20200 
    
    SPM: NS MSP at 0x200257d0 
    
    SPM: NS reset vector at 0x2f401 
    
    SPM: prepare to jump to Non-Secure image.*** Booting Zephyr OS build v3.0.99-ncs1  *** 
    
    [1B][m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:00.317,138] [1B][0m<inf> app_lwm2m_client: Run LWM2M client[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:00.602,752] [1B][0m<inf> app_lwm2m_client: Initializing modem.[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:00.634,552] [1B][0m<inf> app_lwm2m_client: endpoint: urnimei352656106443396[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:00.639,251] [1B][0m<inf> lwm2m_neighbour_cell: Registering ncell notification handler[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:00.639,556] [1B][0m<inf> lwm2m_firmware: Update Counter: current 0, update 0[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:00.639,587] [1B][0m<inf> lwm2m_firmware: Image is not confirmed OK[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:00.639,678] [1B][0m<inf> lwm2m_firmware: Marked image as OK[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:00.640,228] [1B][0m<inf> lwm2m_firmware: Update Counter updated[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:00.640,258] [1B][0m<inf> lwm2m_firmware: Firmware updated successfully[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:00.640,289] [1B][0m<inf> app_lwm2m_client: Connecting to LTE network.[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:00.640,319] [1B][0m<inf> app_lwm2m_client: This may take several minutes.[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:02.593,292] [1B][0m<inf> app_lwm2m_client: Connected to LTE network[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:02.609,527] [1B][0m<inf> lwm2m_connmon: Updating modem data on connmon[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:02.621,307] [1B][0m<inf> net_lwm2m_rd_client: Start LWM2M Client: urnimei352656106443396[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:03.317,199] [1B][0m<inf> net_lwm2m_rd_client: RD Client started with endpoint 'urnimei352656106443396' with client lifetime 30[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:03.613,861] [1B][0m<inf> lwm2m_security: Need to write credentials, requesting LTE and GNSS offline...[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:07.296,508] [1B][0m<inf> lwm2m_security: Requesting LTE and GNSS online[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:08.832,519] [1B][0m<inf> lwm2m_security: Modem connection restored[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:09.253,479] [1B][0m<inf> net_lwm2m_engine: Connected, sock id 0[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:09.606,292] [1B][0m<dbg> app_lwm2m_client: rd_client_event: Registration complete[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:09.606,506] [1B][0m<inf> app_lwm2m_client: Obtained date-time from modem[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:09.611,450] [1B][0m<dbg> gnss_module: gnss_event_handler: A-GPS data request not supported.[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:09.611,480] [1B][0m<dbg> gnss_module: start_gnss: Started GNSS scan[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:09.611,511] [1B][0m<inf> net_lwm2m_rd_client: Registration Done (EP='urnimei352656106443396')[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:19.086,029] [1B][0m<inf> app_lwm2m_gas_res_sensor: Gas resistance: 9931.000000 Ω[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:19.248,260] [1B][0m<inf> app_lwm2m_temp_sensor: Temperature: 20.270827 °C[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:19.409,240] [1B][0m<inf> app_lwm2m_humid_sensor: Humidity: 52.306538 %[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:19.745,788] [1B][0m<inf> app_lwm2m_accel: Acceleration x-direction: -3.-190732[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:19.746,673] [1B][0m<inf> app_lwm2m_accel: Acceleration y-direction: -3.-178325[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:19.747,497] [1B][0m<inf> app_lwm2m_accel: Acceleration z-direction: -3.-165918[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:19.888,275] [1B][0m<inf> app_lwm2m_press_sensor: Pressure: 98.307593 kPa[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:20.047,821] [1B][0m<inf> app_lwm2m_light_sensor: Light value: 0x2B5796FF[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:20.048,553] [1B][0m<inf> app_lwm2m_light_sensor: Colour value: 0x6CFFFFC9[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:39.900,054] [1B][0m<inf> net_lwm2m_rd_client: Update callback (code:2.4)[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:39.900,085] [1B][0m<dbg> app_lwm2m_client: rd_client_event: Registration update complete[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:39.900,115] [1B][0m<inf> net_lwm2m_rd_client: Update Done[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:59.036,834] [1B][0m<inf> net_lwm2m_rd_client: Update callback (code:2.4)[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:59.036,865] [1B][0m<dbg> app_lwm2m_client: rd_client_event: Registration update complete[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:00:59.036,865] [1B][0m<inf> net_lwm2m_rd_client: Update Done[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:01:18.235,198] [1B][0m<inf> net_lwm2m_rd_client: Update callback (code:2.4)[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:01:18.235,260] [1B][0m<dbg> app_lwm2m_client: rd_client_event: Registration update complete[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:01:18.235,260] [1B][0m<inf> net_lwm2m_rd_client: Update Done[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:01:37.821,563] [1B][0m<inf> net_lwm2m_rd_client: Update callback (code:2.4)[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:01:37.821,594] [1B][0m<dbg> app_lwm2m_client: rd_client_event: Registration update complete[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:01:37.821,624] [1B][0m<inf> net_lwm2m_rd_client: Update Done[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:01:59.984,191] [1B][0m<inf> net_lwm2m_rd_client: Update callback (code:2.4)[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:01:59.984,252] [1B][0m<dbg> app_lwm2m_client: rd_client_event: Registration update complete[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:01:59.984,252] [1B][0m<inf> net_lwm2m_rd_client: Update Done[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:02:21.841,522] [1B][0m<inf> net_lwm2m_rd_client: Update callback (code:2.4)[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:02:21.841,552] [1B][0m<dbg> app_lwm2m_client: rd_client_event: Registration update complete[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:02:21.841,583] [1B][0m<inf> net_lwm2m_rd_client: Update Done[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:02:44.075,531] [1B][0m<inf> net_lwm2m_rd_client: Update callback (code:2.4)[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:02:44.075,561] [1B][0m<dbg> app_lwm2m_client: rd_client_event: Registration update complete[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:02:44.075,592] [1B][0m<inf> net_lwm2m_rd_client: Update Done[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:03:06.469,512] [1B][0m<inf> net_lwm2m_rd_client: Update callback (code:2.4)[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:03:06.469,543] [1B][0m<dbg> app_lwm2m_client: rd_client_event: Registration update complete[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:03:06.469,573] [1B][0m<inf> net_lwm2m_rd_client: Update Done[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:03:27.847,503] [1B][0m<inf> net_lwm2m_rd_client: Update callback (code:2.4)[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:03:27.847,534] [1B][0m<dbg> app_lwm2m_client: rd_client_event: Registration update complete[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:03:27.847,534] [1B][0m<inf> net_lwm2m_rd_client: Update Done[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:03:50.159,118] [1B][0m<inf> net_lwm2m_rd_client: Update callback (code:2.4)[1B][0m 
    
    [1B][1;32muart:~$ [1B][m[1B][8D[1B][J[00:03:50.159,149] [1B][0m<dbg> app_lwm2m_client: rd_client_event: Registration update complete[1B][0m 

    He did not use the provision.py script though and performed the steps manually instead. That brought my attention to the script itself. You probably have to update this line as well in the script to make the identity value match:

    identity = f'urn:imei:{imei}'

    Cheers, 

    Markus 

Children
No Data
Related