AssetTracker v2: connection management and sleep state

Hi!

I can't find a detailed technical description of the following points of the AssetTracker v2 application. Some description, explanation, details will be appreciated.

1. Connection management (connection/disconnection behavior). Does the app stay offline most of the time? Is the modem switched off during this offline periods? Or is it in some sleep mode (e.g., PSM)? What is the algorithm of connection management (including reconnections in case of a network lost)?

In the docs, I see "If the modem module receives an APP_EVT_LTE_DISCONNECT event, it instructs the modem to detach from the network". But I don't see this event to actually appear (neither in the code, nor in the logs).

2.  Power management, going to sleep. It's declared that the application sleeps most of the time. But I don't see anything clear about going to sleep neither in the app's code, nor in the logs. I would be glad to know some technical details of how it works.

Thank you!

Parents
  • Does the app stay offline most of the time?

    What do you mean by "offline"? It can go into PSM, but that doesn't mean it is disconnected from the network.

    Is the modem switched off during this offline periods?

    In PSM the modem is in deep sleep mode and the antenna is turned off.

    What is the algorithm of connection management (including reconnections in case of a network lost)?

    The reconnection to the network is handled by the modem, but the cloud connection is handled in the cloud module.

    But I don't see this event to actually appear (neither in the code, nor in the logs).

    Here the event appears, and a few lines below that, the modem is turned off with lte_lc_offline().

    Hope this answers your question.

  • Thanks for your answers!

    In PSM the modem is in deep sleep mode and the antenna is turned off.

    Ok. But if a carrier doesn't support PSM, what will happen? Will the device disconnect and switch off the modem (or go into flight mode)? Or will it just stay online and drain its battery quickly?

    Here the event appears, and a few lines below that, the modem is turned off with lte_lc_offline().

    This is a handler for this event. But I can't find this event to be emitted at all.

    Also, a couple of my previous questions:

    As far as I understand, nRF9160 has some sleep modes/states of MCU - e.g., deep sleep. Does the AssetTracker app use some features like these?
    Does it keep peripherals off (or in some low-power mode) most of the time?

Reply
  • Thanks for your answers!

    In PSM the modem is in deep sleep mode and the antenna is turned off.

    Ok. But if a carrier doesn't support PSM, what will happen? Will the device disconnect and switch off the modem (or go into flight mode)? Or will it just stay online and drain its battery quickly?

    Here the event appears, and a few lines below that, the modem is turned off with lte_lc_offline().

    This is a handler for this event. But I can't find this event to be emitted at all.

    Also, a couple of my previous questions:

    As far as I understand, nRF9160 has some sleep modes/states of MCU - e.g., deep sleep. Does the AssetTracker app use some features like these?
    Does it keep peripherals off (or in some low-power mode) most of the time?

Children
No Data
Related