Lancaster University's fork of the mbed BLE API. Lives on github, https://github.com/lancaster-university/BLE_API
Dependents: microbit-dal microbit-dal microbit-ble-open microbit-dal ... more
Fork of BLE_API by
Diff: ble/services/UARTService.h
- Revision:
- 723:71507679c9b2
- Parent:
- 722:eab9499e4250
- Child:
- 727:1a1f5c5aedfe
diff -r eab9499e4250 -r 71507679c9b2 ble/services/UARTService.h --- a/ble/services/UARTService.h Thu Jul 02 09:06:12 2015 +0100 +++ b/ble/services/UARTService.h Thu Jul 02 09:06:12 2015 +0100 @@ -159,7 +159,7 @@ return receiveBuffer[receiveBufferIndex++]; } -private: +protected: /** * This callback allows the UART service to receive updates to the * txCharacteristic. The application should forward the call to this @@ -177,7 +177,7 @@ } } -private: +protected: BLE &ble; uint8_t receiveBuffer[BLE_UART_SERVICE_MAX_DATA_LEN]; /**< The local buffer into which we receive