fork BLE_API to add update adv payload API
Fork of BLE_API by
Diff: services/BatteryService.h
- Revision:
- 664:1624b24837d0
- Parent:
- 663:73177d7c6e75
- Child:
- 667:875aecb84719
--- a/services/BatteryService.h Fri Jun 19 15:53:00 2015 +0100 +++ b/services/BatteryService.h Fri Jun 19 15:53:00 2015 +0100 @@ -56,7 +56,7 @@ ble.updateCharacteristicValue(batteryLevelCharacteristic.getValueAttribute().getHandle(), &batteryLevel, 1); } -private: +protected: BLEDevice &ble; uint8_t batteryLevel;