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

[SDK Mesh 0.9.2 Alpha] [nRF52832] Is it possible to sleep/reconnect without repeated provisioning?

I want to use several sensors that makes a measurement send the data to server (same as provisioner) and fall asleep. Wake up after 20 minutes and process repeats. Does all sensors need to be provisioned again by provisioner after wake up? Is there any possibility to skip provisioning (save the static keys in flash?)?

Parents
  • Hi Godmode,

    No, provisioning only needed once. Provisioning and configuration data are already stored in flash by default. Please check if PERSISTENT_STORAGE set = 1 in nrf_mesh_config_core.h

  • Seems like you are trying to do Low Power Node without Friend node.

    The problem of this solution is that, if all devices most of the time stay in sleep mode, who will relay the data ? You would need a number of nodes which provide full coverage to act as relay nodes.

    Also this is only when your data is on single direction, from the server to client, if you want to query data/command from a node, and it's sleeping, you won't be able to cache the packet for it when it is waking up.

    Other than that it should work fine, you can hard code configuration&provisioning and let the devices work out of the box.

Reply
  • Seems like you are trying to do Low Power Node without Friend node.

    The problem of this solution is that, if all devices most of the time stay in sleep mode, who will relay the data ? You would need a number of nodes which provide full coverage to act as relay nodes.

    Also this is only when your data is on single direction, from the server to client, if you want to query data/command from a node, and it's sleeping, you won't be able to cache the packet for it when it is waking up.

    Other than that it should work fine, you can hard code configuration&provisioning and let the devices work out of the box.

Children
No Data
Related