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.
Dependents: microbit-dal microbit-dal microbit-ble-open microbit-dal ... more
Fork of BLE_API by
Diff: public/UUID.h
- Revision:
- 419:0b9370f628b4
- Parent:
- 339:1a56af0b1d71
- Child:
- 420:feaaae454283
diff -r accfdd7b9d7b -r 0b9370f628b4 public/UUID.h
--- a/public/UUID.h Mon Jun 08 10:41:18 2015 +0100
+++ b/public/UUID.h Mon Jun 08 10:41:19 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
