You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
samples: bluetooth: Improve update frequency of distance estimates
Improves the update frequency of distance estimates in
channel_sounding_ras_initiator.
This is accomplished by the following changes:
- Add another sem `sem_distance_estimate_updated` which is given each
time the distance estimates are updated. The main thread will take
`sem_distance_estimate_updated` and print the new estimate.
- Use `channel_map_repetition = 1` to make the CS procedure length
shorter. I believe the benefit of having multiple measurements of th
same channel in each procedure is less than having a faster procedure
interval.
- Lower the `subevent_len` to 16000 us. This is enough to fit all the
steps of the CS procedure in a single subevent.
- Lower the connection interval to 20 ms (from 50). With a CS procedure
interval of 5 (or 10) this effectively means that there should be a
new CS procedure and thus a new distance estimate every
~100 ms (or ~200 ms). Depending on if realtime ranging data is
supported or not.
Signed-off-by: Erik Sandgren <[email protected]>
0 commit comments