High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: services/BatteryService.h
- Revision:
- 521:b2dae8d95c4d
- Parent:
- 520:2ac0f11a183a
- Child:
- 524:6e97ab392e2a
--- a/services/BatteryService.h Fri Jun 19 15:52:06 2015 +0100 +++ b/services/BatteryService.h Fri Jun 19 15:52:06 2015 +0100 @@ -56,7 +56,7 @@ ble.updateCharacteristicValue(batteryLevelCharacteristic.getValueAttribute().getHandle(), &batteryLevel, 1); } -private: +protected: BLEDevice &ble; uint8_t batteryLevel;