Lightly modified version of the BLE stack, that doesn't bring up a DFUService by default... as we have our own.
Fork of BLE_API by
Diff: services/DeviceInformationService.h
- Revision:
- 237:6050833395f1
- Parent:
- 118:620d28e7a1ba
- Child:
- 242:0e9201b67e2f
diff -r a77aefd88e78 -r 6050833395f1 services/DeviceInformationService.h --- a/services/DeviceInformationService.h Mon Dec 08 20:13:59 2014 +0000 +++ b/services/DeviceInformationService.h Mon Dec 08 20:17:37 2014 +0000 @@ -19,16 +19,19 @@ #include "BLEDevice.h" -/* Device Information Service */ -/* Service: https://developer.bluetooth.org/gatt/services/Pages/ServiceViewer.aspx?u=org.bluetooth.service.device_information.xml */ -/* Manufacturer Name String Char: https://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.manufacturer_name_string.xml */ +/** +* @class DeviceInformationService +* @breif BLE Device Information Service <br> +* Service: https://developer.bluetooth.org/gatt/services/Pages/ServiceViewer.aspx?u=org.bluetooth.service.device_information.xml <br> +* Manufacturer Name String Char: https://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.manufacturer_name_string.xml +*/ class DeviceInformationService { public: /** - * Constructor. + * @breif Device Information Service Constructor. * - * @param[in] _ble - * Reference to the BLEDevice. + * @param[ref] _ble + * 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