High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: public/UUID.h
- Revision:
- 527:493185cebc03
- Parent:
- 526:caa67c3187a0
- Child:
- 567:e4b38e43de7c
--- a/public/UUID.h Fri Jun 19 15:52:06 2015 +0100 +++ b/public/UUID.h Fri Jun 19 15:52:07 2015 +0100 @@ -17,6 +17,7 @@ #ifndef __UUID_H__ #define __UUID_H__ +#include <stdint.h> #include <string.h> #include "blecommon.h" @@ -28,9 +29,10 @@ UUID_TYPE_LONG = 1 // Full 128-bit UUID }; + typedef uint16_t ShortUUIDBytes_t; + static const unsigned LENGTH_OF_LONG_UUID = 16; - typedef uint16_t ShortUUIDBytes_t; - typedef uint8_t LongUUIDBytes_t[LENGTH_OF_LONG_UUID]; + typedef uint8_t LongUUIDBytes_t[LENGTH_OF_LONG_UUID]; public: /**