BLE_API_Tiny_BLE
Fork of BLE_API by
Revision 68:dcadab8a56dd, committed 2014-06-05
- Comitter:
- Rohit Grover
- Date:
- Thu Jun 05 08:52:20 2014 +0100
- Parent:
- 67:0fac4e99f29b
- Child:
- 69:2fd349295d2c
- Commit message:
- white space diffs
Changed in this revision
UUID.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/UUID.h Thu Jun 05 08:48:51 2014 +0100 +++ b/UUID.h Thu Jun 05 08:52:20 2014 +0100 @@ -20,7 +20,7 @@ #include "blecommon.h" -const unsigned LENGTH_OF_LONG_UUID = 16; +const unsigned LENGTH_OF_LONG_UUID = 16; typedef uint16_t ShortUUID_t; typedef uint8_t LongUUID_t[LENGTH_OF_LONG_UUID]; @@ -38,13 +38,13 @@ virtual ~UUID(void); public: - uint8_t shortOrLong(void) const { + uint8_t shortOrLong(void) const { return type; } const uint8_t* getBaseUUID(void) const { return baseUUID; } - ShortUUID_t getShortUUID(void) const { + ShortUUID_t getShortUUID(void) const { return shortUUID; }