NRF9160dk Power Saver

Good day

I intend to use a power saving mode to turn on a device for a set amount of time.  During this, the device would still need to receive commands over mqtt.  Is this possible?

Thank you in advance.

Kind regards,

Hassan.

Parents
  • Hi,

     

    I intend to use a power saving mode to turn on a device for a set amount of time.  During this, the device would still need to receive commands over mqtt.  Is this possible?

    This depends on several of your applications requirements.

    Ideally, to maintain a TCP connection (mqtt is TCP based), you need to keep it alive. This keep-alive can differ from cellular network-to-network, due to routing within the specific telecom provider. For some networks, this is several minutes, for others it can be up to 30 minutes.

     

    If you have a RX driven application, meaning an application that is supposed to act on a command from the internet, you need to poll the server in your wanted interval. This interval depends on what your application requires in terms of latency.

    For a RX driven application, you usually run eDRX, as it can have lower sleep intervals (down to seconds area).

     

    Kind regards

    Håkon

Reply
  • Hi,

     

    I intend to use a power saving mode to turn on a device for a set amount of time.  During this, the device would still need to receive commands over mqtt.  Is this possible?

    This depends on several of your applications requirements.

    Ideally, to maintain a TCP connection (mqtt is TCP based), you need to keep it alive. This keep-alive can differ from cellular network-to-network, due to routing within the specific telecom provider. For some networks, this is several minutes, for others it can be up to 30 minutes.

     

    If you have a RX driven application, meaning an application that is supposed to act on a command from the internet, you need to poll the server in your wanted interval. This interval depends on what your application requires in terms of latency.

    For a RX driven application, you usually run eDRX, as it can have lower sleep intervals (down to seconds area).

     

    Kind regards

    Håkon

Children
Related