You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the getFlags() method of BluetoothGattDescriptor and BluetoothGattCharacteristic returns a String. I would expect the translation from DBus API to Java in this case to be String[] given it returns an array of strings.
@hypfvieh , thanks for the fast response. I am also struggling to find something that returns a characteristic with properties defined but in terms of implementation the fix works so in principal hopefully this is fixed :)
Currently the getFlags() method of BluetoothGattDescriptor and BluetoothGattCharacteristic returns a String. I would expect the translation from DBus API to Java in this case to be String[] given it returns an array of strings.
bluez-dbus/bluez-dbus/src/main/java/com/github/hypfvieh/bluetooth/wrapper/BluetoothGattDescriptor.java
Line 143 in 22bc2ba
bluez-dbus/bluez-dbus/src/main/java/com/github/hypfvieh/bluetooth/wrapper/BluetoothGattCharacteristic.java
Line 213 in 22bc2ba
Is this a bug or does the end user need to do a contains() to determine which flags are present?
The text was updated successfully, but these errors were encountered: