How to stop bluetooth radio (to reduce current consumption) with NRF-connect and Zephyr ?

We have an application that wakes-up every N minutes and listen to devices in a ble mesh then performs many other actions. In order to save battery, we would like to power down radio when not communicating. 
How can it be done with NRF-connect and Zephyr ?

Parents
  • Hi.

    I would suggest that you take a look at the LPN feature. This allows a node to go to sleep between communication. The LPN doesn't need to stay in RX mode all the time to avoid missing out on packets from other Mesh nodes. The LPN will have a designated Friend node that caches messages for the LPN, and the LPN will wake up at a given time interval to pull information from the Friend node.

    You can find more information in the online documentation.

    Br,
    Joakim

  • Hi,

    Reading your answer I realized, my question was not clear enough. The node performs actions for 30 seconds and need only to be connected to the mesh network for 9s, then it sleeps for 10min. I was looking for a way to shutdown radio for the 21s the node does not need to be connected to the mesh network while performing its other actions.
    It has nothing to do with having a Friend node, since we use only messages with ack, we can manage to handle "lost or delayed" messages with an other way.

Reply
  • Hi,

    Reading your answer I realized, my question was not clear enough. The node performs actions for 30 seconds and need only to be connected to the mesh network for 9s, then it sleeps for 10min. I was looking for a way to shutdown radio for the 21s the node does not need to be connected to the mesh network while performing its other actions.
    It has nothing to do with having a Friend node, since we use only messages with ack, we can manage to handle "lost or delayed" messages with an other way.

Children
Related