forked from sandeepmistry/arduino-BLEPeripheral
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBLETypedCharacteristics.h
61 lines (48 loc) · 1.87 KB
/
BLETypedCharacteristics.h
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#ifndef _BLE_TYPED_CHARACTERISTICS_H_
#define _BLE_TYPED_CHARACTERISTICS_H_
#include "BLETypedCharacteristic.h"
class BLEBoolCharacteristic : public BLETypedCharacteristic<bool> {
public:
BLEBoolCharacteristic(const char* uuid, unsigned char properties);
};
class BLECharCharacteristic : public BLETypedCharacteristic<char> {
public:
BLECharCharacteristic(const char* uuid, unsigned char properties);
};
class BLEUnsignedCharCharacteristic : public BLETypedCharacteristic<unsigned char> {
public:
BLEUnsignedCharCharacteristic(const char* uuid, unsigned char properties);
};
class BLEShortCharacteristic : public BLETypedCharacteristic<short> {
public:
BLEShortCharacteristic(const char* uuid, unsigned char properties);
};
class BLEUnsignedShortCharacteristic : public BLETypedCharacteristic<unsigned short> {
public:
BLEUnsignedShortCharacteristic(const char* uuid, unsigned char properties);
};
class BLEIntCharacteristic : public BLETypedCharacteristic<int> {
public:
BLEIntCharacteristic(const char* uuid, unsigned char properties);
};
class BLEUnsignedIntCharacteristic : public BLETypedCharacteristic<unsigned int> {
public:
BLEUnsignedIntCharacteristic(const char* uuid, unsigned char properties);
};
class BLELongCharacteristic : public BLETypedCharacteristic<long> {
public:
BLELongCharacteristic(const char* uuid, unsigned char properties);
};
class BLEUnsignedLongCharacteristic : public BLETypedCharacteristic<unsigned long> {
public:
BLEUnsignedLongCharacteristic(const char* uuid, unsigned char properties);
};
class BLEFloatCharacteristic : public BLETypedCharacteristic<float> {
public:
BLEFloatCharacteristic(const char* uuid, unsigned char properties);
};
class BLEDoubleCharacteristic : public BLETypedCharacteristic<double> {
public:
BLEDoubleCharacteristic(const char* uuid, unsigned char properties);
};
#endif