able icon indicating copy to clipboard operation
able copied to clipboard

Add connect by mac address or through java class bluetoothdevice

Open dgatf opened this issue 4 years ago • 2 comments

This is not an issue but a request

Please add a function to connect to a device by the mac address or though the java class bluetoothdevice that can be obtained from the paired devices list: autoclass('android.bluetooth.BluetoothAdapter').getDefaultAdapter().getBondedDevices().toArray()

Use case: not always is desired to scan devices, but quickly connect through the mac address or java class bluetoothdevice from paired devices list

Thanks

dgatf avatar Apr 09 '20 16:04 dgatf

Thanks for interesting ideas. Indeed,sometimes scanning is redundant. I'll see what could be done.

b3b avatar Apr 11 '20 00:04 b3b

Currently, it is possible to use library to get a list of paired devices, and to connect to device by a MAC address. Usage example: https://herethere.me/pythonhere/examples/ble.html#get-list-of-paired-ble-devices

b3b avatar Feb 05 '21 18:02 b3b