Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: microbit-dal microbit-dal microbit-ble-open microbit-dal ... more
Fork of BLE_API by
Diff: services/DeviceInformationService.h
- Revision:
- 528:8d21604fe31d
- Parent:
- 526:caa67c3187a0
- Child:
- 567:e4b38e43de7c
--- a/services/DeviceInformationService.h Fri Jun 19 15:52:07 2015 +0100
+++ b/services/DeviceInformationService.h Fri Jun 19 15:52:07 2015 +0100
@@ -17,7 +17,7 @@
#ifndef __BLE_DEVICE_INFORMATION_SERVICE_H__
#define __BLE_DEVICE_INFORMATION_SERVICE_H__
-#include "BLEDevice.h"
+#include "BLE.h"
/**
* @class DeviceInformationService
@@ -31,7 +31,7 @@
* @brief Device Information Service Constructor.
*
* @param[ref] _ble
- * BLEDevice object for the underlying controller.
+ * BLE 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(BLEDevice &_ble,
+ DeviceInformationService(BLE &_ble,
const char *manufacturersName = NULL,
const char *modelNumber = NULL,
const char *serialNumber = NULL,
@@ -115,7 +115,7 @@
}
protected:
- BLEDevice &ble;
+ BLE &ble;
GattCharacteristic manufacturersNameStringCharacteristic;
GattCharacteristic modelNumberStringCharacteristic;
GattCharacteristic serialNumberStringCharacteristic;
