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

What are the advertising and scanning parameters in mesh

I am using BLE mesh SDK V1.0.1.

I want to know the answers of following questions,

1. What are the advertising and scanning parameters used for flooding in Mesh?

2. Does developer have control to change advertising and scanning parameters?

3. Are advertising and scanning parameters fixed in SDK or SDK modify them during runtime?

4. Is there an idle sleep period between advertising and scanning to reduce the power consumption?

5. Also, provide the above information, if it is different in BLE mesh SDK V2.1.1.

Parents
  • I would recommend using the latest mesh sdk v2.1.1. The mesh sdk v1.0.1 does not have a qualified mesh stack.

    1) Take a look at the nrf_mesh_init() function in nrf_mesh.c, especially the scanner_init() & advertiser_init() functions. Take a look at the scanner_config_reset() function too.

    2) Yes, you can change this. Take a look at the nrf_mesh_config_bearer.h header file.

    3) Take a look at this devzone case.

    4) Mesh is not meant to be used for battery powered devices at the moment, because the mesh nodes must listen for incoming packets most of the time. Therefore, the radio will be on quite a lot, making it infeasible to make this device battery operated. You do have low power friends & friendship feature, which will come in a future mesh sdk. You can however change the advertising & scanning parameters to lower the power consumption of mesh nodes.

    5) Refer to my first comment above.

Reply
  • I would recommend using the latest mesh sdk v2.1.1. The mesh sdk v1.0.1 does not have a qualified mesh stack.

    1) Take a look at the nrf_mesh_init() function in nrf_mesh.c, especially the scanner_init() & advertiser_init() functions. Take a look at the scanner_config_reset() function too.

    2) Yes, you can change this. Take a look at the nrf_mesh_config_bearer.h header file.

    3) Take a look at this devzone case.

    4) Mesh is not meant to be used for battery powered devices at the moment, because the mesh nodes must listen for incoming packets most of the time. Therefore, the radio will be on quite a lot, making it infeasible to make this device battery operated. You do have low power friends & friendship feature, which will come in a future mesh sdk. You can however change the advertising & scanning parameters to lower the power consumption of mesh nodes.

    5) Refer to my first comment above.

Children
No Data
Related