Skip to content

Characteristic is not valid for read: 2AD2 #13

@yosoycody

Description

@yosoycody

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions