client: Add ranging distance display support to bluetoothctl
Track org.bluez.Ranging1 proxies and append/remove them on InterfacesAdded/InterfacesRemoved. Print the Distance property on PropertiesChanged, and show it under the info option alongside the Battery Percentage and the newly added CS Session Active property. Add register_provider and unregister_provider options as a reference implementation. The estimate is derived only from Mode 1 and Mode 3 RTT samples; procedures without any such step report no distance rather than a made up one. The RangingProviderManager1 of the default controller is resolved from a tracked proxy list, so it is picked up regardless of the order the adapter and manager proxies arrive in and follows a later "select".
N
Naga Bhavani Akella committed
71cd7d370f7cd61d9f6ddfc048e8da495ec881ab
Parent: 03d9316
Committed by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
on 9/2/2026, 4:05:01 PM