High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: public/UUID.h
- Revision:
- 670:5e4aecd9af5b
- Parent:
- 669:7179b4a5aa7d
- Child:
- 710:b2e1a2660ec2
--- a/public/UUID.h Fri Jun 19 15:53:01 2015 +0100 +++ b/public/UUID.h Fri Jun 19 15:53:01 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: /**