High level Bluetooth Low Energy API and radio abstraction layer

Fork of BLE_API by Bluetooth Low Energy

Revision:
495:b0d77b1db2df
Parent:
490:58a0313fffb5
Child:
497:926d444599e8
diff -r 2e4af47b00a8 -r b0d77b1db2df public/GattClient.h
--- a/public/GattClient.h	Fri Jun 19 15:52:02 2015 +0100
+++ b/public/GattClient.h	Fri Jun 19 15:52:02 2015 +0100
@@ -17,7 +17,15 @@
 #ifndef __GATT_CLIENT_H__
 #define __GATT_CLIENT_H__
 
+#include "blecommon.h"
+#include "Gap.h"
+#include "GattAttribute.h"
+
 class GattClient {
+public:
+    /* Initiate a Gatt Client read procedure by attribute-handle.*/
+    virtual ble_error_t read(Gap::Handle_t connHandle, GattAttribute::Handle_t attributeHandle, uint16_t offset) const = 0;
+
 #if 0
 public:
     /* Event callback handlers. */