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:
- 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:
/**
