added debugging
Fork of BLE_nRF8001 by
BLE_nRF8001/BLEDescriptor.h
- Committer:
- jn80842
- Date:
- 2014-11-10
- Revision:
- 2:7805a5595aab
- Parent:
- 0:075ea2812998
File content as of revision 2:7805a5595aab:
#ifndef _BLE_DESCRIPTOR_H_ #define _BLE_DESCRIPTOR_H_ #include "BLEAttribute.h" class BLEDescriptor : public BLEAttribute { public: BLEDescriptor(const char* uuid, unsigned char valueSize); BLEDescriptor(const char* uuid, const char* value); virtual ~BLEDescriptor(); unsigned char valueSize() const; const unsigned char* value() const; unsigned char valueLength() const; void setValue(const unsigned char value[], unsigned char length); void setValue(const char* value); private: const char* _uuid; unsigned char _valueSize; unsigned char* _value; unsigned char _valueLength; }; #endif