High level Bluetooth Low Energy API and radio abstraction layer

Dependencies:   nRF51822

Dependents:   LinkNode_LIS3DH

Fork of BLE_API by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

Comitter:
rgrover1
Date:
Fri Mar 27 13:03:37 2015 +0000
Parent:
325:501ad8b8bbe5
Child:
327:8c645f5694b2
Commit message:
Synchronized with git rev c936446c
Author: Rohit Grover
UARTService::write() should return a size_t

Changed in this revision

services/UARTService.h Show annotated file Show diff for this revision Revisions of this file
--- 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);