capacitor-community/bluetooth-le

Possibility to connect without scanning before

treb93 opened this issue · 1 comments

Description
When using cordova-plugin-ble-central, it's possible to connect using MAC address without scanning on Android. (see related documentation)

Is it possible to implement this feature ? I guess it might reduce latency and help to strengthen the connection process

This is already possible. As mentioned here, the deviceId is the Bluetooth MAC address on Android. If you already know it, you can directly call connect with it. However, this is only possible on Android and not on iOS nor web.