Bluetooth Device Range

Hello,

I was wondering if there was some range/distance info on devices showing up when calling IOBluetoothDeviceSelectorController? I'm looking for some way to see if my bluetooth device is within a few feet or farther away.


Thanks!

Replies

I'd be wary of putting a number on distance, ever, which at best could be a (very) loose extrapolation via RSSI.


As an example, a statistically low signal could be from a device less than a meter away, competing for attention in a device/signal heavy zone, where a 'stronger' signal could be from a lone device, several meters away, with no other devices in the same vicinity.


See https://developer.apple.com/documentation/corebluetooth/cbperipheral/1519111-readrssi