BLE RSSI #2449
-
Hello, First of all, many thanks for this product, even if there's still work to be done.... In a certain configuration, I'd like to use a BLE connection (Android / iOS) rather than Local Network to connect 2 devices, but within a given perimeter (i.e. < 1meter). Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The short answer is no. The C++ API has a callback This most likely won't ever be exposed in Nearby Connections, but more likely to be handled as a part of Nearby Presence. |
Beta Was this translation helpful? Give feedback.
-
@Droppix were you able to find this distance or strength of signal in iOS or Android? |
Beta Was this translation helpful? Give feedback.
The short answer is no.
The C++ API has a callback
endpoint_distance_changed_cb
that will return very general distance info ("very close", "close", "far"). However, this isn't exposed in the Swift API or in Android. Additionally, the BLE medium isn't enabled for iOS yet, so using the C++ API would not actually provide updates on distance.This most likely won't ever be exposed in Nearby Connections, but more likely to be handled as a part of Nearby Presence.