Improve readability with getHandle inline
Fork of BLE_API by
Diff: common/UUID.cpp
- Revision:
- 144:c025c8839682
- Parent:
- 116:ca826083980e
--- 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