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: UUID.h
- Revision:
- 61:119faa0dfeee
- Parent:
- 60:de30b62ab8c1
- Child:
- 67:0fac4e99f29b
--- a/UUID.h Fri May 30 09:58:35 2014 +0100
+++ b/UUID.h Fri May 30 10:48:48 2014 +0100
@@ -32,7 +32,7 @@
public:
UUID(const uint8_t longUUID[LENGTH_OF_LONG_UUID]);
- UUID(uint16_t shortUUID);
+ UUID(uint16_t uuid);
virtual ~UUID(void);
public:
@@ -43,7 +43,7 @@
return baseUUID;
}
uint16_t get16BitUUID(void) const {
- return value;
+ return shortUUID;
}
private:
@@ -53,7 +53,7 @@
* are zeroed out to allow comparison with other long
* UUIDs which differ only in the 16-bit relative
* part.*/
- uint16_t value; // 16 bit uuid (byte 2-3 using with base)
+ uint16_t shortUUID; // 16 bit uuid (byte 2-3 using with base)
};
#endif // ifndef __UUID_H__
