added debugging
Fork of BLE_nRF8001 by
BLE_nRF8001/BLEAttribute.h
- Committer:
- jn80842
- Date:
- 2014-11-10
- Revision:
- 2:7805a5595aab
- Parent:
- 0:075ea2812998
File content as of revision 2:7805a5595aab:
#ifndef _BLE_ATTRIBUTE_H_ #define _BLE_ATTRIBUTE_H_ enum BLEAttributeType { BLETypeService = 0x2800, BLETypeCharacteristic = 0x2803, BLETypeDescriptor = 0x2900 }; #define BLE_ATTRIBUTE_MAX_VALUE_LENGTH 19 class BLEAttribute { public: BLEAttribute(const char* uuid, enum BLEAttributeType type); const char* uuid() const; enum BLEAttributeType type() const; protected: static unsigned char numAttributes(); private: static unsigned char _numAttributes; const char* _uuid; enum BLEAttributeType _type; }; #endif