Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BLE_API by
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 (BLEDevice &_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 | ( | BLEDevice & | _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 BLEDevice 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.
Definition at line 60 of file DeviceInformationService.h.
Generated on Tue Jul 12 2022 18:47:13 by
