Jacob McEntire / BLE_API_mod2

Fork of BLE_API by Bluetooth Low Energy

Revision:
654:3d76af29560a
Parent:
652:b8a596891951
Child:
655:4dce7c6d2eb3
--- a/public/GattCharacteristicCallbackParams.h	Fri Jun 19 15:52:59 2015 +0100
+++ b/public/GattCharacteristicCallbackParams.h	Fri Jun 19 15:52:59 2015 +0100
@@ -34,14 +34,10 @@
 };
 
 struct GattCharacteristicReadCBParams {
-    GattAttribute::Handle_t charHandle;
-    enum Type {
-        GATTS_CHAR_OP_INVALID               = 0x00,  /**< Invalid Operation. */
-        GATTS_CHAR_OP_READ_REQ              = 0x0A,  /**< Read Request. */
-    } op;                   /**< Type of write operation, */
-    uint16_t        offset; /**< Offset for the read operation. */
-    uint16_t        len;
-    const uint8_t  *data;   /* @note: data might not persist beyond the callback; make a local copy if needed. */
+    GattAttribute::Handle_t  charHandle;
+    uint16_t                 offset; /**< Offset for the read operation. */
+    uint16_t                 len;
+    const uint8_t           *data;   /* @note: data might not persist beyond the callback; make a local copy if needed. */
 };
 
 enum GattCharacteristicAuthCBReply_t {