Skip to content

Are Aggregate Format Descriptors supported? #235

@mundodisco8

Description

@mundodisco8

Is your feature request related to a problem? Please describe.
I'm exposing the Battery Health Status characteristic of the BLE Battery Service (section 3.6 here Its data is an struct (see 3.26 on the GATT Spec Suplement)

I added 5 Char Presentation Format descriptors, one for each item (hopefully correctly configured)

Image

And tied them all up with my aggregate format descriptor (Part G Generic Attribute Profile, section 3.3.3.6). When I read the data, though, I just get 15, which is the value of the first field, flags, correctly presented as a uint8_t without units (as described by its format descriptor).

It's the first time I do this, and I'm using an ST microcontroller (I opened a case on their side too, to make sure I did everything correclty) but I wanted to know if aggregate descriptors are supported in the Android App (or the iOS App, for that matter)

Describe the solution you'd like
To use Aggregate Format Descriptors, so I can define presentation values for characteristics that present a range of aggregated data.

Describe alternatives you've considered
I could create individual characteristics for each char, and give them format descriptors, but I think that given that I'm using a Bluetooth defined char, it would be nice to get it correctly set up.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions