BLE mouse with uBit ( still some issues to resolve )

Dependencies:   BLE_API microbit_ble_mouse mbed nRF51822

Fork of microbit_mouse_BLE by Shahariar Hossain

Embed: (wiki syntax)

« Back to documentation index

HIDDeviceInformationService Class Reference

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]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.
[in]pnpIDThis characteristic represents HID-specific information, such as vendor id, product id and version.

Definition at line 65 of file HIDDeviceInformationService.h.