This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

PSM parameters for GPS in lwm2m

Hello, 

we are currently trying to use GPS with PSM on the lwm2m_client on a LTE-M network. 

Unfortunately, after enabling PSM -> activating GPS -> deactivating GPS -> disabling PSM the device cannot send data anymore.

We are getting 60 seconds AT and deactivated TAU from the network. What are the needed PSM parameters for the GPS driver? 

Kind regards, 

Manuel

Parents
  • Hi.

    With the newest modem and application firmware, the GPS stack should be able to run in intervals as short as a few seconds. However, it is recommended that you give it more time to run, at least for the first fix.

     

    We are getting 60 seconds AT and deactivated TAU

    How do you check what PSM values you are granted? With +CEREG?

    Could you try to use the %XMONITOR command instead?

    That will show both the "normal" and "extended" version of the timer so that you can see what pTAU you actually get.

    Could you send me a log, to help me understand what is going on?

     

    Unfortunately, after enabling PSM -> activating GPS -> deactivating GPS -> disabling PSM the device cannot send data anymore.

     That is strange. Are you able to capture a modem trace of it, to help me debug the issue?

    Best regards,

    Didrik

  • Hi Didrik, 

    thanks for your answer. 

    I am already checking the PSM values with XMONITOR. That command returns 00011110 as AT and 11100000 as TAU.

    Unfortunately, I cannot capture a modem trace as we are not using a DevKit. 

    I can only provide a serial log, where you can see that after enabling PSM and trying a GPS fix it runs into resending loop. 

    [2020-04-18 14:58:39.617] uart:~$ [09:47:09.781,646] <inf> net_lwm2m_rd_client: Update Done
    [2020-04-18 14:58:39.617] uart:~$ uart:~$ [09:48:01.881,439] <inf> gps_control: Enabling PSM
    [2020-04-18 14:59:31.773] uart:~$ [09:48:01.890,960] <inf> gps_control: PSM enabled
    [2020-04-18 14:59:31.773] uart:~$ [09:48:01.894,622] <dbg> nrf9160_gps.start: GPS operational
    [2020-04-18 14:59:31.773] uart:~$ [09:48:01.894,622] <inf> gps_control: GPS started successfully. Searching for satellites 
    [2020-04-18 14:59:31.773] uart:~$ [09:48:01.894,653] <inf> gps_control: to get position fix. This may take several minutes.
    [2020-04-18 14:59:31.773] uart:~$ [09:48:01.894,653] <inf> gps_control: The device will attempt to get a fix for 600 seconds, 
    [2020-04-18 14:59:31.773] uart:~$ [09:48:01.894,653] <inf> gps_control: before the GPS is stopped.
    [2020-04-18 14:59:31.773] uart:~$ [09:48:01.894,653] <inf> gps_control: GPS operation started
    [2020-04-18 14:59:31.773] uart:~$ uart:~$ [09:48:04.104,125] <dbg> app_lwm2m_connmon.modem_signal_handler: rsrp:-99
    [2020-04-18 14:59:33.929] uart:~$ uart:~$ [09:48:05.116,485] <inf> net_lwm2m_rd_client: Update callback (code:2.4)
    [2020-04-18 14:59:34.992] uart:~$ [09:48:05.116,516] <dbg> app_lwm2m_client.rd_client_event: Registration update complete
    [2020-04-18 14:59:34.992] uart:~$ [09:48:05.116,516] <dbg> app_lwm2m_powerOutage.update_sCell_ID: powerOutage get scellId 23461121
    [2020-04-18 14:59:34.992] uart:~$ [09:48:05.153,839] <inf> button: Update sCellId
    [2020-04-18 14:59:34.992] uart:~$ [09:48:05.153,930] <inf> net_lwm2m_rd_client: Update Done
    [2020-04-18 14:59:34.992] uart:~$ uart:~$ [09:48:58.091,156] <inf> net_lwm2m_rd_client: Update callback (code:2.4)
    [2020-04-18 15:00:27.959] uart:~$ [09:48:58.091,186] <dbg> app_lwm2m_client.rd_client_event: Registration update complete
    [2020-04-18 15:00:27.959] uart:~$ [09:48:58.091,186] <dbg> app_lwm2m_powerOutage.update_sCell_ID: powerOutage get scellId 23158785
    [2020-04-18 15:00:27.959] uart:~$ [09:48:58.128,631] <inf> button: Update sCellId
    [2020-04-18 15:00:27.959] uart:~$ [09:48:58.128,753] <inf> net_lwm2m_rd_client: Update Done
    [2020-04-18 15:00:27.959] uart:~$ uart:~$ [09:49:52.916,107] <inf> net_lwm2m_rd_client: Update callback (code:2.4)
    [2020-04-18 15:01:22.787] uart:~$ [09:49:52.916,137] <dbg> app_lwm2m_client.rd_client_event: Registration update complete
    [2020-04-18 15:01:22.787] uart:~$ [09:49:52.916,137] <dbg> app_lwm2m_powerOutage.update_sCell_ID: powerOutage get scellId 23158785
    [2020-04-18 15:01:22.787] uart:~$ [09:49:52.953,491] <inf> button: Update sCellId
    [2020-04-18 15:01:22.787] uart:~$ [09:49:52.953,613] <inf> net_lwm2m_rd_client: Update Done
    [2020-04-18 15:01:22.787] uart:~$ uart:~$ [09:50:12.816,436] <dbg> app_lwm2m_connmon.modem_signal_handler: rsrp:-94
    [2020-04-18 15:01:42.646] uart:~$ uart:~$ [09:50:45.800,964] <inf> net_lwm2m_rd_client: Update callback (code:2.4)
    [2020-04-18 15:02:15.679] uart:~$ [09:50:45.800,994] <dbg> app_lwm2m_client.rd_client_event: Registration update complete
    [2020-04-18 15:02:15.679] uart:~$ [09:50:45.800,994] <dbg> app_lwm2m_powerOutage.update_sCell_ID: powerOutage get scellId 23158785
    [2020-04-18 15:02:15.679] uart:~$ [09:50:45.838,928] <inf> button: Update sCellId
    [2020-04-18 15:02:15.679] uart:~$ [09:50:45.839,050] <inf> net_lwm2m_rd_client: Update Done
    [2020-04-18 15:02:15.679] uart:~$ uart:~$ [09:51:39.737,670] <inf> net_lwm2m_rd_client: Update callback (code:2.4)
    [2020-04-18 15:03:09.615] uart:~$ [09:51:39.737,701] <dbg> app_lwm2m_client.rd_client_event: Registration update complete
    [2020-04-18 15:03:09.615] uart:~$ [09:51:39.737,701] <dbg> app_lwm2m_powerOutage.update_sCell_ID: powerOutage get scellId 23461121
    [2020-04-18 15:03:09.615] uart:~$ [09:51:39.775,177] <inf> button: Update sCellId
    [2020-04-18 15:03:09.615] uart:~$ [09:51:39.775,268] <inf> net_lwm2m_rd_client: Update Done
    [2020-04-18 15:03:09.615] uart:~$ uart:~$ [09:51:54.100,860] <dbg> app_lwm2m_connmon.modem_signal_handler: rsrp:-99
    [2020-04-18 15:03:23.928] uart:~$ uart:~$ [09:52:35.919,555] <inf> net_lwm2m_rd_client: Update callback (code:2.4)
    [2020-04-18 15:04:05.787] uart:~$ [09:52:35.919,586] <dbg> app_lwm2m_client.rd_client_event: Registration update complete
    [2020-04-18 15:04:05.787] uart:~$ [09:52:35.919,616] <dbg> app_lwm2m_powerOutage.update_sCell_ID: powerOutage get scellId 23461121
    [2020-04-18 15:04:05.787] uart:~$ [09:52:35.957,061] <inf> button: Update sCellId
    [2020-04-18 15:04:05.787] uart:~$ [09:52:35.957,183] <inf> net_lwm2m_rd_client: Update Done
    [2020-04-18 15:04:05.787] uart:~$ uart:~$ [09:53:27.768,402] <inf> net_lwm2m_rd_client: Update callback (code:2.4)
    [2020-04-18 15:04:57.632] uart:~$ [09:53:27.768,432] <dbg> app_lwm2m_client.rd_client_event: Registration update complete
    [2020-04-18 15:04:57.632] uart:~$ [09:53:27.768,432] <dbg> app_lwm2m_powerOutage.update_sCell_ID: powerOutage get scellId 23158785
    [2020-04-18 15:04:57.632] uart:~$ [09:53:27.806,335] <inf> button: Update sCellId
    [2020-04-18 15:04:57.632] uart:~$ [09:53:27.806,457] <inf> net_lwm2m_rd_client: Update Done
    [2020-04-18 15:04:57.632] uart:~$ uart:~$ [09:54:31.268,981] <inf> net_lwm2m_engine: Resending message: 0x20023060
    [2020-04-18 15:06:01.101] uart:~$ uart:~$ [09:54:51.269,409] <inf> net_lwm2m_engine: Resending message: 0x20023060
    [2020-04-18 15:06:21.101] uart:~$ uart:~$ [09:55:31.269,836] <inf> net_lwm2m_engine: Resending message: 0x20023060
    [2020-04-18 15:07:01.101] uart:~$ uart:~$ [09:56:51.270,263] <wrn> net_lwm2m_rd_client: Registration Update Timeout
    [2020-04-18 15:08:21.131] uart:~$ [09:56:51.270,294] <dbg> app_lwm2m_client.rd_client_event: Registration update failure!
    [2020-04-18 15:08:21.131] uart:~$ [09:56:51.306,457] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:08:21.131] uart:~$ uart:~$ [09:57:03.308,044] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:08:33.162] uart:~$ [09:57:03.308,074] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:08:33.162] uart:~$ [09:57:03.308,135] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:08:33.162] uart:~$ uart:~$ [09:57:15.308,685] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:08:45.162] uart:~$ [09:57:15.308,715] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:08:45.162] uart:~$ [09:57:15.308,776] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:08:45.162] uart:~$ uart:~$ [09:57:27.310,333] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:08:57.162] uart:~$ [09:57:27.310,363] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:08:57.162] uart:~$ [09:57:27.310,424] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:08:57.162] uart:~$ uart:~$ [09:57:39.311,004] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:09:09.162] uart:~$ [09:57:39.311,035] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:09:09.162] uart:~$ [09:57:39.311,096] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:09:09.162] uart:~$ uart:~$ [09:57:51.311,645] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:09:21.162] uart:~$ [09:57:51.311,676] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:09:21.162] uart:~$ [09:57:51.311,737] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:09:21.162] uart:~$ uart:~$ [09:58:01.894,775] <dbg> nrf9160_gps.stop: Stopping GPS
    [2020-04-18 15:09:31.740] uart:~$ [09:58:01.895,111] <inf> gps_control: GPS operation was stopped
    [2020-04-18 15:09:31.740] uart:~$ [09:58:01.895,111] <inf> gps_control: The device will try to get fix again in 120 seconds
    [2020-04-18 15:09:31.740] uart:~$ uart:~$ [09:58:03.313,323] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:09:33.162] uart:~$ [09:58:03.313,354] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:09:33.162] uart:~$ [09:58:03.313,415] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:09:33.162] uart:~$ uart:~$ [09:58:15.314,025] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:09:45.162] uart:~$ [09:58:15.314,056] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:09:45.162] uart:~$ [09:58:15.314,117] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:09:45.162] uart:~$ uart:~$ [09:58:27.315,734] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:09:57.177] uart:~$ [09:58:27.315,765] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:09:57.177] uart:~$ [09:58:27.315,826] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:09:57.177] uart:~$ uart:~$ [09:58:39.317,474] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:10:09.162] uart:~$ [09:58:39.317,504] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:10:09.162] uart:~$ [09:58:39.317,565] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:10:09.162] uart:~$ uart:~$ [09:58:51.318,176] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:10:21.178] uart:~$ [09:58:51.318,206] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:10:21.178] uart:~$ [09:58:51.318,267] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:10:21.178] uart:~$ uart:~$ [09:59:03.319,915] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:10:33.164] uart:~$ [09:59:03.319,915] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:10:33.164] uart:~$ [09:59:03.319,976] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:10:33.164] uart:~$ uart:~$ [09:59:15.321,624] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:10:45.179] uart:~$ [09:59:15.321,624] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:10:45.179] uart:~$ [09:59:15.321,716] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:10:45.179] uart:~$ uart:~$ [09:59:27.323,333] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:10:57.179] uart:~$ [09:59:27.323,364] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:10:57.179] uart:~$ [09:59:27.323,425] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:10:57.179] uart:~$ uart:~$ [09:59:39.324,035] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:11:09.179] uart:~$ [09:59:39.324,066] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:11:09.179] uart:~$ [09:59:39.324,127] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:11:09.179] uart:~$ uart:~$ [09:59:51.325,744] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:11:21.179] uart:~$ [09:59:51.325,775] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:11:21.179] uart:~$ [09:59:51.325,836] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:11:21.179] uart:~$ uart:~$ [10:00:01.895,263] <inf> gps_control: Enabling PSM
    [2020-04-18 15:11:31.788] uart:~$ [10:00:01.895,812] <inf> gps_control: PSM enabled
    [2020-04-18 15:11:31.788] uart:~$ [10:00:01.899,536] <dbg> nrf9160_gps.start: GPS operational
    [2020-04-18 15:11:31.788] uart:~$ [10:00:01.899,536] <inf> gps_control: GPS started successfully. Searching for satellites 
    [2020-04-18 15:11:31.788] uart:~$ [10:00:01.899,536] <inf> gps_control: to get position fix. This may take several minutes.
    [2020-04-18 15:11:31.788] uart:~$ [10:00:01.899,536] <inf> gps_control: The device will attempt to get a fix for 600 seconds, 
    [2020-04-18 15:11:31.788] uart:~$ [10:00:01.899,566] <inf> gps_control: before the GPS is stopped.
    [2020-04-18 15:11:31.788] uart:~$ [10:00:01.899,566] <inf> gps_control: GPS operation started
    [2020-04-18 15:11:31.788] uart:~$ uart:~$ [10:00:03.326,477] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:11:33.179] uart:~$ [10:00:03.326,507] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:11:33.179] uart:~$ [10:00:03.326,568] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:11:33.179] uart:~$ uart:~$ [10:00:15.328,125] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:11:45.179] uart:~$ [10:00:15.328,155] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:11:45.179] uart:~$ [10:00:15.328,216] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:11:45.179] uart:~$ uart:~$ [10:00:27.329,803] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:11:57.178] uart:~$ [10:00:27.329,803] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:11:57.178] uart:~$ [10:00:27.329,895] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:11:57.178] uart:~$ uart:~$ [10:00:39.331,451] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:12:09.177] uart:~$ [10:00:39.331,481] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:12:09.177] uart:~$ [10:00:39.331,542] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:12:09.177] uart:~$ uart:~$ [10:00:51.332,122] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:12:21.193] uart:~$ [10:00:51.332,122] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:12:21.193] uart:~$ [10:00:51.332,183] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:12:21.193] uart:~$ uart:~$ [10:01:03.333,770] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:12:33.177] uart:~$ [10:01:03.333,801] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:12:33.177] uart:~$ [10:01:03.333,862] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:12:33.177] uart:~$ uart:~$ [10:01:15.335,418] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:12:45.193] uart:~$ [10:01:15.335,449] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:12:45.193] uart:~$ [10:01:15.335,510] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:12:45.193] uart:~$ uart:~$ [10:01:27.336,059] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:12:57.193] uart:~$ [10:01:27.336,090] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:12:57.193] uart:~$ [10:01:27.336,151] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:12:57.193] uart:~$ uart:~$ [10:01:39.336,730] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:13:09.193] uart:~$ [10:01:39.336,761] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:13:09.193] uart:~$ [10:01:39.336,822] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:13:09.193] uart:~$ uart:~$ [10:01:51.338,378] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:13:21.193] uart:~$ [10:01:51.338,409] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:13:21.193] uart:~$ [10:01:51.338,470] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:13:21.193] uart:~$ uart:~$ [10:02:03.340,026] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:13:33.193] uart:~$ [10:02:03.340,057] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:13:33.193] uart:~$ [10:02:03.340,118] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:13:33.193] uart:~$ uart:~$ [10:02:15.340,698] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:13:45.193] uart:~$ [10:02:15.340,728] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:13:45.193] uart:~$ [10:02:15.340,789] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:13:45.193] uart:~$ uart:~$ [10:02:27.342,346] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:13:57.193] uart:~$ [10:02:27.342,376] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:13:57.193] uart:~$ [10:02:27.342,437] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:13:57.193] uart:~$ uart:~$ [10:02:39.344,024] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:14:09.193] uart:~$ [10:02:39.344,055] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:14:09.193] uart:~$ [10:02:39.344,116] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:14:09.193] uart:~$ uart:~$ [10:02:51.345,672] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:14:21.193] uart:~$ [10:02:51.345,703] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:14:21.193] uart:~$ [10:02:51.345,764] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:14:21.193] uart:~$ uart:~$ [10:03:03.346,313] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:14:33.193] uart:~$ [10:03:03.346,343] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:14:33.193] uart:~$ [10:03:03.346,405] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:14:33.193] uart:~$ uart:~$ [10:03:15.347,991] <err> net_lwm2m_engine: Unable to resolve address
    [2020-04-18 15:14:45.209] uart:~$ [10:03:15.347,991] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-2)
    [2020-04-18 15:14:45.209] uart:~$ [10:03:15.348,083] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'nrf-352656100465437' with client lifetime 60
    [2020-04-18 15:14:45.209] uart:~$ uart:~$ *** Booting Zephyr OS build v2.1.99-ncs1  ***

    Is there already a possibility to use GPS on LWM2M without PSM?

    Kind regards, 

    Manuel

  • mschweig said:
    Is there already a possibility to use GPS on LWM2M without PSM?

     Yes, since version 1.1.0 the GPS stack has been able to run during LTE idle mode DRx and idle mode eDRX.

    If it works with LwM2M would depend on how much/often you are sending or receiving data. If you do that often enough, the GPS stack might not get enough time to run in between (this also heavily depends on the network, and how fast you are released into idle mode).

    Another important point: While you are in PSM, you can still transmit at any time. However, after transmitting, you must be available for downlink data for 1 minute (i.e. an active time of 00011110). When you are sending with a period of ~30 seconds, this means that you never really enter PSM.

  • Hi, 

    Ok, thanks for the information. I solved the issue by setting AT and TAU in the prj.conf. 

    Kind regards, 

    Manuel

Reply Children
No Data
Related