back up of work during May 2019
Dependencies: microbit
HIDDeviceInformationService 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 <HIDDeviceInformationService.h>
Public Member Functions | |
HIDDeviceInformationService (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, PnPID_t *PnPID=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 30 of file HIDDeviceInformationService.h.
Constructor & Destructor Documentation
HIDDeviceInformationService | ( | 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 , |
||
PnPID_t * | PnPID = NULL |
||
) |
Device Information Service Constructor.
- Parameters:
-
ref] _ble BLE object for the underlying controller. [in] manufacturersName This characteristic represents the name of the manufacturer of the device. The name is copied into the BLE stack during this constructor. [in] modelNumber This characteristic represents the model number that is assigned by the device vendor. The value is copied into the BLE stack during this constructor. [in] serialNumber This characteristic represents the serial number for a particular instance of the device. The value is copied into the BLE stack during this constructor. [in] hardwareRevision This characteristic represents the hardware revision for the hardware within the device. The value is copied into the BLE stack during this constructor. [in] firmwareRevision This characteristic represents the firmware revision for the firmware within the device. The value is copied into the BLE stack during this constructor. [in] softwareRevision This characteristic represents the software revision for the software within the device. The value is copied into the BLE stack during this constructor. [in] pnpID This characteristic represents HID-specific information, such as vendor id, product id and version.
Definition at line 65 of file HIDDeviceInformationService.h.
Generated on Mon Jul 18 2022 14:25:12 by 1.7.2