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

LPN without friend node

Hi,

We have one client/provisioner and multiple servers/provisionees (light switch style) in our mesh network.

Now we plan to have a LPN-sensor node (server as above) in that network without using friend-nodes.

The sensor should wake up once every minute, send a message to the client, stay up for 5 sec. and then sleep again.

1. What changes to the server would be necessary to achieve that?

2. Is it possible to use LPN without friend-nodes?

regards

Gerry

Parents
  • The sensor should wake up once every minute, send a message to the client, stay up for 5 sec. and then sleep again.

    Hello, as far as I know, the client is the one to send messages to the server.

    What you want to do is achievable by setting the timeout of the messages from the client to the server less thant the timeout for sleep. I think it can't be deep sleep, because it needs an external interrupt to wake-up, so there may be a limitation there.

    1. You'd have to define a timer in the node (I'm pretty sure it has to be a client node, but I might be wrong) to make it "sleep" when it expires by using a callback. Check out the files simple_hal.c and .h, they have an example of a timer to control the blink of the lights in the light switch example. Consider that "sd_app_event_wait function will put the device to System On low power node" by default. Although more power modes are described here, I'd use SYSTEM_ON because of the use of a timer as wake up.

    2. About this question, I'm checking out on this paper Bluetooth Mesh Energy Consumption: A Model, where they created a LPN model without a friend node.

Reply
  • The sensor should wake up once every minute, send a message to the client, stay up for 5 sec. and then sleep again.

    Hello, as far as I know, the client is the one to send messages to the server.

    What you want to do is achievable by setting the timeout of the messages from the client to the server less thant the timeout for sleep. I think it can't be deep sleep, because it needs an external interrupt to wake-up, so there may be a limitation there.

    1. You'd have to define a timer in the node (I'm pretty sure it has to be a client node, but I might be wrong) to make it "sleep" when it expires by using a callback. Check out the files simple_hal.c and .h, they have an example of a timer to control the blink of the lights in the light switch example. Consider that "sd_app_event_wait function will put the device to System On low power node" by default. Although more power modes are described here, I'd use SYSTEM_ON because of the use of a timer as wake up.

    2. About this question, I'm checking out on this paper Bluetooth Mesh Energy Consumption: A Model, where they created a LPN model without a friend node.

Children
Related