added debugging
Fork of BLE_nRF8001 by
BLE_nRF8001/BLETypedCharacteristics.h@2:7805a5595aab, 2014-11-10 (annotated)
- Committer:
- jn80842
- Date:
- Mon Nov 10 01:24:23 2014 +0000
- Revision:
- 2:7805a5595aab
- Parent:
- 0:075ea2812998
just added debugging
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
RedBearLab | 0:075ea2812998 | 1 | #ifndef _BLE_TYPED_CHARACTERISTICS_H_ |
RedBearLab | 0:075ea2812998 | 2 | #define _BLE_TYPED_CHARACTERISTICS_H_ |
RedBearLab | 0:075ea2812998 | 3 | |
RedBearLab | 0:075ea2812998 | 4 | #include "BLETypedCharacteristic.h" |
RedBearLab | 0:075ea2812998 | 5 | |
RedBearLab | 0:075ea2812998 | 6 | class BLEBoolCharacteristic : public BLETypedCharacteristic<bool> { |
RedBearLab | 0:075ea2812998 | 7 | public: |
RedBearLab | 0:075ea2812998 | 8 | BLEBoolCharacteristic(const char* uuid, unsigned char properties); |
RedBearLab | 0:075ea2812998 | 9 | }; |
RedBearLab | 0:075ea2812998 | 10 | |
RedBearLab | 0:075ea2812998 | 11 | class BLECharCharacteristic : public BLETypedCharacteristic<char> { |
RedBearLab | 0:075ea2812998 | 12 | public: |
RedBearLab | 0:075ea2812998 | 13 | BLECharCharacteristic(const char* uuid, unsigned char properties); |
RedBearLab | 0:075ea2812998 | 14 | }; |
RedBearLab | 0:075ea2812998 | 15 | |
RedBearLab | 0:075ea2812998 | 16 | class BLEUnsignedCharCharacteristic : public BLETypedCharacteristic<unsigned char> { |
RedBearLab | 0:075ea2812998 | 17 | public: |
RedBearLab | 0:075ea2812998 | 18 | BLEUnsignedCharCharacteristic(const char* uuid, unsigned char properties); |
RedBearLab | 0:075ea2812998 | 19 | }; |
RedBearLab | 0:075ea2812998 | 20 | |
RedBearLab | 0:075ea2812998 | 21 | class BLEShortCharacteristic : public BLETypedCharacteristic<short> { |
RedBearLab | 0:075ea2812998 | 22 | public: |
RedBearLab | 0:075ea2812998 | 23 | BLEShortCharacteristic(const char* uuid, unsigned char properties); |
RedBearLab | 0:075ea2812998 | 24 | }; |
RedBearLab | 0:075ea2812998 | 25 | |
RedBearLab | 0:075ea2812998 | 26 | class BLEUnsignedShortCharacteristic : public BLETypedCharacteristic<unsigned short> { |
RedBearLab | 0:075ea2812998 | 27 | public: |
RedBearLab | 0:075ea2812998 | 28 | BLEUnsignedShortCharacteristic(const char* uuid, unsigned char properties); |
RedBearLab | 0:075ea2812998 | 29 | }; |
RedBearLab | 0:075ea2812998 | 30 | |
RedBearLab | 0:075ea2812998 | 31 | class BLEIntCharacteristic : public BLETypedCharacteristic<int> { |
RedBearLab | 0:075ea2812998 | 32 | public: |
RedBearLab | 0:075ea2812998 | 33 | BLEIntCharacteristic(const char* uuid, unsigned char properties); |
RedBearLab | 0:075ea2812998 | 34 | }; |
RedBearLab | 0:075ea2812998 | 35 | |
RedBearLab | 0:075ea2812998 | 36 | class BLEUnsignedIntCharacteristic : public BLETypedCharacteristic<unsigned int> { |
RedBearLab | 0:075ea2812998 | 37 | public: |
RedBearLab | 0:075ea2812998 | 38 | BLEUnsignedIntCharacteristic(const char* uuid, unsigned char properties); |
RedBearLab | 0:075ea2812998 | 39 | }; |
RedBearLab | 0:075ea2812998 | 40 | |
RedBearLab | 0:075ea2812998 | 41 | class BLELongCharacteristic : public BLETypedCharacteristic<long> { |
RedBearLab | 0:075ea2812998 | 42 | public: |
RedBearLab | 0:075ea2812998 | 43 | BLELongCharacteristic(const char* uuid, unsigned char properties); |
RedBearLab | 0:075ea2812998 | 44 | }; |
RedBearLab | 0:075ea2812998 | 45 | |
RedBearLab | 0:075ea2812998 | 46 | class BLEUnsignedLongCharacteristic : public BLETypedCharacteristic<unsigned long> { |
RedBearLab | 0:075ea2812998 | 47 | public: |
RedBearLab | 0:075ea2812998 | 48 | BLEUnsignedLongCharacteristic(const char* uuid, unsigned char properties); |
RedBearLab | 0:075ea2812998 | 49 | }; |
RedBearLab | 0:075ea2812998 | 50 | |
RedBearLab | 0:075ea2812998 | 51 | class BLEFloatCharacteristic : public BLETypedCharacteristic<float> { |
RedBearLab | 0:075ea2812998 | 52 | public: |
RedBearLab | 0:075ea2812998 | 53 | BLEFloatCharacteristic(const char* uuid, unsigned char properties); |
RedBearLab | 0:075ea2812998 | 54 | }; |
RedBearLab | 0:075ea2812998 | 55 | |
RedBearLab | 0:075ea2812998 | 56 | class BLEDoubleCharacteristic : public BLETypedCharacteristic<double> { |
RedBearLab | 0:075ea2812998 | 57 | public: |
RedBearLab | 0:075ea2812998 | 58 | BLEDoubleCharacteristic(const char* uuid, unsigned char properties); |
RedBearLab | 0:075ea2812998 | 59 | }; |
RedBearLab | 0:075ea2812998 | 60 | |
RedBearLab | 0:075ea2812998 | 61 | #endif |