Questions about Nordic Distance Measurement library sample

1. The code uses a value 0xFF55AA5A to identify the adv packet as the one that supports distance measurement. Is this value checked by  lower layers?

If not - why not just use 1 bit ?

2. The advertising interval in the sample is set to BT_GAP_ADV_FAST_INT_MIN_1 ( 30 ms )

Have slower intervals been tested ? My concern is the device battery life

3. My application uses mesh and its scanner ( registers a scanner callback )

Have the app been tested with mesh? 

Thanks

Parents
  • Sorry, accidentally hit a wrong button to mark the previous response as a suggested answer. Wonder if this can be undone.

    This is far from resolved

    I did some digging and it looks like the sample is not going to work out of the box with mesh because it wants to start scan in active mode as it needs to call the distance library API during a scan response. However mesh starts scan in passive mode in

    bt_mesh_scan_enable() in adv.c 
    I'm going to  poke around some more, but if you have any suggestions how to get around this - please share
    Thanks
Reply
  • Sorry, accidentally hit a wrong button to mark the previous response as a suggested answer. Wonder if this can be undone.

    This is far from resolved

    I did some digging and it looks like the sample is not going to work out of the box with mesh because it wants to start scan in active mode as it needs to call the distance library API during a scan response. However mesh starts scan in passive mode in

    bt_mesh_scan_enable() in adv.c 
    I'm going to  poke around some more, but if you have any suggestions how to get around this - please share
    Thanks
Children
No Data
Related