forked from sandeepmistry/arduino-BLEPeripheral
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathBLETypedCharacteristics.cpp
41 lines (31 loc) · 1.56 KB
/
BLETypedCharacteristics.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#include "BLETypedCharacteristics.h"
BLECharCharacteristic::BLECharCharacteristic(const char* uuid, unsigned char properties) :
BLETypedCharacteristic<char>(uuid, properties) {
}
BLEUnsignedCharCharacteristic::BLEUnsignedCharCharacteristic(const char* uuid, unsigned char properties) :
BLETypedCharacteristic<unsigned char>(uuid, properties) {
}
BLEShortCharacteristic::BLEShortCharacteristic(const char* uuid, unsigned char properties) :
BLETypedCharacteristic<short>(uuid, properties) {
}
BLEUnsignedShortCharacteristic::BLEUnsignedShortCharacteristic(const char* uuid, unsigned char properties) :
BLETypedCharacteristic<unsigned short>(uuid, properties) {
}
BLEIntCharacteristic::BLEIntCharacteristic(const char* uuid, unsigned char properties) :
BLETypedCharacteristic<int>(uuid, properties) {
}
BLEUnsignedIntCharacteristic::BLEUnsignedIntCharacteristic(const char* uuid, unsigned char properties) :
BLETypedCharacteristic<unsigned int>(uuid, properties) {
}
BLELongCharacteristic::BLELongCharacteristic(const char* uuid, unsigned char properties) :
BLETypedCharacteristic<long>(uuid, properties) {
}
BLEUnsignedLongCharacteristic::BLEUnsignedLongCharacteristic(const char* uuid, unsigned char properties) :
BLETypedCharacteristic<unsigned long>(uuid, properties) {
}
BLEFloatCharacteristic::BLEFloatCharacteristic(const char* uuid, unsigned char properties) :
BLETypedCharacteristic<float>(uuid, properties) {
}
BLEDoubleCharacteristic::BLEDoubleCharacteristic(const char* uuid, unsigned char properties) :
BLETypedCharacteristic<double>(uuid, properties) {
}