Questions about the distance measurement mesh model

Hello

My application is based on the Distance measurement sample which uses a BLE  scan response callback to trigger the measurement synchronization sequence in reflector mode and scan callback to trigger synchronization sequence in  initiator mode. With the Distance mesh model the measurement sequence is started with the bt_mesh_dm_cli_measurement_start API

It seems that simply calling this API every time a scan packet arrives is going to overwhelm the mesh network. On the other hand it would be great to receive more than one measurement so averaging can be applied. What's your recommendation on how frequently should  bt_mesh_dm_cli_measurement_start API be called?
Also

There is an API bt_mesh_dm_cli_results_get() which returns the measurement results.

However the results are available in the bt_mesh_dm_cli_measurement_start() callback. 
Can you clarify when this function should be called?

Do you plan to add a sample how the DM model should be used? That would very helpful

Thank you

Andy

Parents Reply Children
No Data
Related