Minor fixes

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.

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.

Parameters:
ref]_ble BLE object for the underlying controller.
[in]manufacturersNameThis characteristic represents the name of the manufacturer of the device. The name is copied into the BLE stack during this constructor.
[in]modelNumberThis characteristic represents the model number that is assigned by the device vendor. The value is copied into the BLE stack during this constructor.
[in]serialNumberThis characteristic represents the serial number for a particular instance of the device. The value is copied into the BLE stack during this constructor.
[in]hardwareRevisionThis characteristic represents the hardware revision for the hardware within the device. The value is copied into the BLE stack during this constructor.
[in]firmwareRevisionThis characteristic represents the firmware revision for the firmware within the device. The value is copied into the BLE stack during this constructor.
[in]softwareRevisionThis characteristic represents the software revision for the software within the device. The value is copied into the BLE stack during this constructor.

Definition at line 60 of file DeviceInformationService.h.