High level Bluetooth Low Energy API and radio abstraction layer

Fork of BLE_API by Bluetooth Low Energy

Revision:
501:ff6801633d2c
Parent:
497:926d444599e8
Child:
503:4e69a47047c5
diff -r 2625510739a6 -r ff6801633d2c public/GattClient.h
--- a/public/GattClient.h	Fri Jun 19 15:52:03 2015 +0100
+++ b/public/GattClient.h	Fri Jun 19 15:52:03 2015 +0100
@@ -28,6 +28,14 @@
         OP_WRITE_CMD
     };
 
+    struct ReadResponse_t {
+        GattAttribute::Handle_t  handle; /**< Attribute Handle. */
+        uint16_t                 offset; /**< Offset of the attribute data. */
+        uint16_t                 len;    /**< Attribute data length. */
+        const uint8_t           *data;   /**< Attribute data, variable length. */
+    };
+    typedef void (*ReadCallback_t)(const ReadResponse_t *params);
+
 public:
     /**
      * Launch service discovery. Once launched, service discovery will remain