9 years, 11 months ago.

Extending enums in GATTServices and GattCharacterstics

The mbed library for the NRF51822 provides the GATTServices.h and GattCharacterstics.h files for adding services and characterstics.

What happens in the case when the enums listed with UUID do not have a service name or characterstic that has not been encountered as yet. For example, if I am measuring a physical quantity, say light intensity, how do we extend the enums to accomodate a new set of values?

Is there a way to add UUID's?

1 Answer

9 years, 10 months ago.

I didn't extend the enums, but I did add custom BLE services/characteristics/UUIDs in this project (with matching android app):