I don't know why this is happening.
Fork of BLE_API by
Diff: services/DeviceInformationService.h
- Revision:
- 567:e4b38e43de7c
- Parent:
- 528:8d21604fe31d
- Child:
- 664:1624b24837d0
diff -r 6681c6e0d7c0 -r e4b38e43de7c services/DeviceInformationService.h --- a/services/DeviceInformationService.h Fri Jun 19 15:52:11 2015 +0100 +++ b/services/DeviceInformationService.h Fri Jun 19 15:52:28 2015 +0100 @@ -17,7 +17,7 @@ #ifndef __BLE_DEVICE_INFORMATION_SERVICE_H__ #define __BLE_DEVICE_INFORMATION_SERVICE_H__ -#include "BLE.h" +#include "BLEDevice.h" /** * @class DeviceInformationService @@ -31,7 +31,7 @@ * @brief Device Information Service Constructor. * * @param[ref] _ble - * BLE object for the underlying controller. + * BLEDevice object for the underlying controller. * @param[in] manufacturersName * This characteristic represents the name of the * manufacturer of the device. The name is copied into the @@ -57,7 +57,7 @@ * the software within the device. The value is copied * into the BLE stack during this constructor. */ - DeviceInformationService(BLE &_ble, + DeviceInformationService(BLEDevice &_ble, const char *manufacturersName = NULL, const char *modelNumber = NULL, const char *serialNumber = NULL, @@ -114,8 +114,8 @@ serviceAdded = true; } -protected: - BLE &ble; +private: + BLEDevice &ble; GattCharacteristic manufacturersNameStringCharacteristic; GattCharacteristic modelNumberStringCharacteristic; GattCharacteristic serialNumberStringCharacteristic;