8 years ago.

Howto change the UUID in the example of BLE_HeartRate_DELTA ?

Dear all,

I would like to use custom UUID in the example of BLE_HeartRate_DELTA ? But I can't find where to change the UUID. Any help would be appreciated.

Best regards,

Paul Kang

1 Answer

8 years ago.

For some services - like Heart Rate - there are built-in services, so the source code for these services is included with mbed OS. If you want to change them, copy this file into your project, and include this file instead of ble/services/HeartRateService.h.

Then, change all occurrences of UUID_HEART_RATE_SERVICE in both HeartRateService.h and main.cpp to the new service UUID that you'd like to use.

Accepted Answer