The Opportunity Factory / BLE_API

Dependents:   TORTUGA_BLE

Fork of BLE_API by aapje monkey

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 <BikeDeviceInformationService.h>

Public Member Functions

 DeviceInformationService (BLE &_ble, const char *manufacturersName="unknown", const char *modelNumber="unknown", const char *serialNumber="unknown", const char *hardwareRevision="unknown", const char *firmwareRevision="unknown", const char *softwareRevision="unknown")
 Device Information Service Constructor: copies device-specific information into the BLE stack.
 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 BikeDeviceInformationService.h.


Constructor & Destructor Documentation

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

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 BikeDeviceInformationService.h.

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.