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: common/UUID.cpp
- Revision:
- 144:c025c8839682
- Parent:
- 116:ca826083980e
- Child:
- 260:ea7f9f14cc15
--- a/common/UUID.cpp Fri Nov 21 09:23:24 2014 +0000 +++ b/common/UUID.cpp Fri Nov 21 09:23:24 2014 +0000 @@ -14,12 +14,14 @@ * limitations under the License. */ - -#include <stdio.h> #include <string.h> #include "UUID.h" +UUID::UUID(ShortUUIDBytes_t shortUUID) : type(UUID_TYPE_SHORT), baseUUID(), shortUUID(shortUUID) { + /* empty */ +} + /**************************************************************************/ /*! @brief Creates a new 128-bit UUID @@ -89,25 +91,4 @@ } } } - -/**************************************************************************/ -/*! - @brief Creates a short (16-bit) UUID - - @param[in] ble_uuid - The 16-bit BLE UUID value. -*/ -/**************************************************************************/ -UUID::UUID(ShortUUIDBytes_t shortUUID) : type(UUID_TYPE_SHORT), baseUUID(), shortUUID(shortUUID) -{ - /* empty */ -} - -/**************************************************************************/ -/*! - @brief UUID destructor -*/ -/**************************************************************************/ -UUID::~UUID(void) -{ -} + \ No newline at end of file