High level Bluetooth Low Energy API and radio abstraction layer

Dependents:   BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate BLE_ANCS_SDAPI_IRC ... more

Overview

The BLE_API is a high level abstraction for using Bluetooth Low Energy on multiple platforms. For details and examples using the BLE_API please see the BLE_API Summary Page. Or click on the API Documentation tab above.

Supported Services

Supported services can be found in the BLE_API/services folder.

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