Hello, I am trying to use the distance measurement library (in NCS 2.8.0 using nrf52833), but instead of using "scanned" events for synchronization I would like to trigger the measurement from inside an connection by sending a GATT write and a notification.
The idea is that the initiator sends a GATT write to a peripheral, which then starts the DM in reflector role and sends a notification back to the initiator which would use this event to start DM in initiator role. Unfortunately the devices don't seem to be able to synchronize this way ("nrf_dm: dm_thread: Ranging failed (nrf_dm status: 1)").
My first question is, is this approach even feasible?
Can DM be done with an active connection?
If not, can you suggest other synchronization methods over BLE other than using scan events? Could disconnection events be used?
Thank you