Julie Newcomb / BLE_nRF8001

Fork of BLE_nRF8001 by RedBearLab

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers BLEUuid.h Source File

BLEUuid.h

00001 #ifndef _BLE_UUID_H_
00002 #define _BLE_UUID_H_
00003 
00004 #define MAX_UUID_LENGTH 16
00005 
00006 class BLEUuid
00007 {
00008   public:
00009     BLEUuid(const char * str);
00010 
00011     const char* str();
00012     const unsigned char* data();
00013     unsigned char length();
00014 
00015   private:
00016     const char*    _str;
00017     unsigned char _data[MAX_UUID_LENGTH];
00018     unsigned char _length;
00019 };
00020 
00021 #endif