Lightly modified version of the BLE stack, that doesn't bring up a DFUService by default... as we have our own.
Fork of BLE_API by
Diff: services/HeartRateService.h
- Revision:
- 123:fede41ce9407
- Parent:
- 118:620d28e7a1ba
- Child:
- 234:aac647674384
--- a/services/HeartRateService.h Tue Sep 30 01:03:56 2014 +0100 +++ b/services/HeartRateService.h Wed Nov 05 14:08:42 2014 +0000 @@ -92,10 +92,8 @@ } /** - * This callback allows the UART service to receive updates to the - * txCharacteristic. The application should forward the call to this - * function from the global onDataWritten() callback handler; or if that's - * not used, this method can be used as a callback directly. + * This callback allows the HeartRateService to receive updates to the + * controlPoint Characteristic. */ virtual void onDataWritten(const GattCharacteristicWriteCBParams *params) { if (params->charHandle == controlPoint.getValueAttribute().getHandle()) {