High level Bluetooth Low Energy API and radio abstraction layer
Dependents: BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate BLE_ANCS_SDAPI_IRC ... more
Overview
The BLE_API is a high level abstraction for using Bluetooth Low Energy on multiple platforms. For details and examples using the BLE_API please see the BLE_API Summary Page. Or click on the API Documentation tab above.
Supported Services
Supported services can be found in the BLE_API/services folder.
Diff: ble/services/BatteryService.h
- Revision:
- 935:e9b595e6b0ed
- Parent:
- 934:5e3acddfcd82
- Child:
- 937:4932e700daf2
--- a/ble/services/BatteryService.h Thu Nov 26 12:52:06 2015 +0000 +++ b/ble/services/BatteryService.h Thu Nov 26 12:52:06 2015 +0000 @@ -28,11 +28,11 @@ class BatteryService { public: /** - * @param[ref] _ble - * BLE object for the underlying controller. - * @param[in] level - * 8bit batterly level. Usually used to represent percentage of batterly charge remaining. - */ + * @param[ref] _ble + * BLE object for the underlying controller. + * @param[in] level + * 8bit batterly level. Usually used to represent percentage of batterly charge remaining. + */ BatteryService(BLE &_ble, uint8_t level = 100) : ble(_ble), batteryLevel(level),