Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
cs_DeviceInformationService.h
Go to the documentation of this file.
1/*
2 * Author: Crownstone Team
3 * Copyright: Crownstone (https://crownstone.rocks)
4 * Date: Jul 13, 2015
5 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed)
6 */
7#pragma once
8
10#include <ble/cs_Service.h>
11
15public:
22
28
29protected:
33
34private:
38};
Characteristic of generic type T.
Definition: cs_Characteristic.h:29
The DeviceInformationService is a BLE service that gives info on hardware and firmware revisions.
Definition: cs_DeviceInformationService.h:14
void addSoftwareRevisionCharacteristic()
Characteristic< const char * > * _firmwareRevisionCharacteristic
Definition: cs_DeviceInformationService.h:36
void createCharacteristics()
Initialize a GeneralService object.
void addHardwareRevisionCharacteristic()
Characteristic< const char * > * _softwareRevisionCharacteristic
Definition: cs_DeviceInformationService.h:37
void addFirmwareRevisionCharacteristic()
Characteristic< const char * > * _hardwareRevisionCharacteristic
Definition: cs_DeviceInformationService.h:35
DeviceInformationService()
Constructor for alert notification service object.
Base class for a BLE service.
Definition: cs_Service.h:26
BLE service.