Lancaster University's fork of the mbed BLE API. Lives on github, https://github.com/lancaster-university/BLE_API

Dependents:   microbit-dal microbit-dal microbit-ble-open microbit-dal ... more

Fork of BLE_API by Bluetooth Low Energy

Embed: (wiki syntax)

« Back to documentation index

DeviceInformationService Class Reference

DeviceInformationService Class Reference

BLE 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. More...

#include <DeviceInformationService.h>

Public Member Functions

 DeviceInformationService (BLE &_ble, const char *manufacturersName=NULL, const char *modelNumber=NULL, const char *serialNumber=NULL, const char *hardwareRevision=NULL, const char *firmwareRevision=NULL, const char *softwareRevision=NULL)
 Device Information Service Constructor: copies device-specific information into the BLE stack.

Detailed Description

BLE 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.

Definition at line 28 of file DeviceInformationService.h.


Constructor & Destructor Documentation

DeviceInformationService ( BLE _ble,
const char *  manufacturersName = NULL,
const char *  modelNumber = NULL,
const char *  serialNumber = NULL,
const char *  hardwareRevision = NULL,
const char *  firmwareRevision = NULL,
const char *  softwareRevision = NULL 
)

Device Information Service Constructor: copies device-specific information into the BLE stack.

Parameters:
ref]_ble BLE object for the underlying controller.
[in]manufacturersNameThe name of the manufacturer of the device.
[in]modelNumberThe model number that is assigned by the device vendor.
[in]serialNumberThe serial number for a particular instance of the device.
[in]hardwareRevisionThe hardware revision for the hardware within the device.
[in]firmwareRevisionThe device's firmware version.
[in]softwareRevisionThe device's software version.

Definition at line 49 of file DeviceInformationService.h.