BLE Library with custom services for the tortuga bike
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 <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] manufacturersName The name of the manufacturer of the device. [in] modelNumber The model number that is assigned by the device vendor. [in] serialNumber The serial number for a particular instance of the device. [in] hardwareRevision The hardware revision for the hardware within the device. [in] firmwareRevision The device's firmware version. [in] softwareRevision The 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] manufacturersName The name of the manufacturer of the device. [in] modelNumber The model number that is assigned by the device vendor. [in] serialNumber The serial number for a particular instance of the device. [in] hardwareRevision The hardware revision for the hardware within the device. [in] firmwareRevision The device's firmware version. [in] softwareRevision The device's software version.
Definition at line 49 of file DeviceInformationService.h.
Generated on Tue Jul 12 2022 21:14:56 by
1.7.2
