Compatible with Keewi v1

Fork of BLE_API by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

Comitter:
Rohit Grover
Date:
Thu Jul 31 09:07:59 2014 +0100
Parent:
110:8559a2da6f41
Child:
112:189ff241dae1
Commit message:
remove include of nordic-specific gatts.h from GattCharacteristic.h

Changed in this revision

public/BLEDevice.h Show annotated file Show diff for this revision Revisions of this file
public/GattCharacteristic.h Show annotated file Show diff for this revision Revisions of this file
--- a/public/BLEDevice.h	Fri Jul 25 10:34:18 2014 +0100
+++ b/public/BLEDevice.h	Thu Jul 31 09:07:59 2014 +0100
@@ -14,15 +14,15 @@
  * limitations under the License.
  */
 
+#ifndef __BLE_DEVICE__
+#define __BLE_DEVICE__
+
 #include "mbed.h"
 #include "blecommon.h"
 #include "Gap.h"
 #include "GattServer.h"
 #include "BLEDeviceInstanceBase.hpp"
 
-#ifndef __BLE_DEVICE__
-#define __BLE_DEVICE__
-
 /**
  * The base class used to abstract away BLE capable radio transceivers or SOCs,
  * to enable this BLE API to work with any radio transparently.
--- a/public/GattCharacteristic.h	Fri Jul 25 10:34:18 2014 +0100
+++ b/public/GattCharacteristic.h	Thu Jul 31 09:07:59 2014 +0100
@@ -21,8 +21,6 @@
 #include "blecommon.h"
 #include "UUID.h"
 
-#include "ble_gatts.h"
-
 /**************************************************************************/
 /*!
     \brief  GATT characteristic