-
Notifications
You must be signed in to change notification settings - Fork 195
Open
Milestone
Description
As @beaufortfrancois suggests (following @Vudentz remark) in pull-request #239 , it would be valuable to add a boolean connectable
member to BluetoothDevice
.
Instances of BluetoothDevice
return by a regular requestLEScan
(the one without explicitly filtering out connectable devices) have no hint whether or not we can connect to their GATT server.
Once we get device from requestDevice
, such a BluetoothDevice
instance would also hold same boolean connectable
member. Subsequent call to .gatt.connect()
would fail if connectable
is false
.
..oh and I already acknowledge I'll be opposed the fact that we can pre-filter devices (see #243)
Metadata
Metadata
Assignees
Labels
No labels