Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Characteristic is not valid for read: 2AD2 #13

Open
yosoycody opened this issue Feb 29, 2020 · 0 comments
Open

Characteristic is not valid for read: 2AD2 #13

yosoycody opened this issue Feb 29, 2020 · 0 comments

Comments

@yosoycody
Copy link

I'm trying to load the Indoor Bike data characteristic (which is part of Fitness Machine service), using the loadExtensionsFromFolder() method.

I have the following code:

BluetoothGattParser bluetoothGattParser = BluetoothGattParserFactory.getDefault();
bluetoothGattParser.loadExtensionsFromFolder("/gatt_custom");

gatt_custom is a folder off of root that contains two sub-folders, service and characteristic. Within characteristic, I have this xml file for Indoor Bike data characteristic: https://share.getcloudapp.com/z8uXZAYX

Any idea what I'm wrong? I keep getting:
org.sputnikdev.bluetooth.gattparser.CharacteristicFormatException: Characteristic is not valid for read: 2AD2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant