weliem / blessed-android

BLESSED, a Bluetooth Low Energy (BLE) library for Android
MIT License
557 stars 119 forks source link

Possibility of exposing BluetoothDevice #162

Closed sylwia-golonko closed 2 years ago

sylwia-golonko commented 2 years ago

BluetoothCentral currently exposed only mac addres, name and mtu. Can the library also expose the whole BluetoothDevice? It contains a lot of useful methods (e.g. for bonding) that can't be accessed via BluetoothCentral .

weliem commented 2 years ago

I added a method getBondState() to BluetoothCentral and released version 2.3.3.

I don't think there is much more interesting stuff you can ask BluetoothDevice. What else do you need?

sylwia-golonko commented 2 years ago

Things related to bonding, like:

Thanks in advance.

weliem commented 2 years ago

just released a new version that also offers createBond() and setPairingConfirmation()....2.3.5

weliem commented 2 years ago

closing this issue since requested functions are now available...