Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BLE_API by
Diff: public/UUID.h
- Revision:
- 458:5546ebd25359
- Parent:
- 430:0c0ebeb98576
- Child:
- 462:8a86b66ba4de
--- a/public/UUID.h Fri Jun 19 15:51:58 2015 +0100
+++ b/public/UUID.h Fri Jun 19 15:51:58 2015 +0100
@@ -21,10 +21,6 @@
#include "blecommon.h"
-const unsigned LENGTH_OF_LONG_UUID = 16;
-typedef uint16_t ShortUUIDBytes_t;
-typedef uint8_t LongUUIDBytes_t[LENGTH_OF_LONG_UUID];
-
class UUID {
public:
enum UUID_Type_t {
@@ -32,6 +28,10 @@
UUID_TYPE_LONG = 1 // Full 128-bit UUID
};
+ static const unsigned LENGTH_OF_LONG_UUID = 16;
+ typedef uint16_t ShortUUIDBytes_t;
+ typedef uint8_t LongUUIDBytes_t[LENGTH_OF_LONG_UUID];
+
public:
/**
* Creates a new 128-bit UUID
