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/UARTService.h
- Revision:
- 326:f79c1562312f
- Parent:
- 242:0e9201b67e2f
- Child:
- 327:8c645f5694b2
--- a/services/UARTService.h Mon Mar 23 16:28:09 2015 +0000 +++ b/services/UARTService.h Fri Mar 27 13:03:37 2015 +0000 @@ -98,7 +98,7 @@ * @param length Amount of characters to be appended. * @return Amount of characters appended to the rxCharacteristic. */ - ssize_t write(const void *_buffer, size_t length) { + size_t write(const void *_buffer, size_t length) { size_t origLength = length; const uint8_t *buffer = static_cast<const uint8_t *>(_buffer);