prova invio BLE

Dependents:   BLE_HeartRate_IDB04A1

Fork of BLE_API by Bluetooth Low Energy

Revision:
501:ff6801633d2c
Parent:
499:db9bc083f91e
Child:
505:ac825d37e8f2
--- a/public/DiscoveredCharacteristic.h	Fri Jun 19 15:52:03 2015 +0100
+++ b/public/DiscoveredCharacteristic.h	Fri Jun 19 15:52:03 2015 +0100
@@ -20,8 +20,8 @@
 #include "UUID.h"
 #include "Gap.h"
 #include "GattAttribute.h"
+#include "GattClient.h"
 
-class GattClient; /* forward declaration */
 
 /**
  * Structure for holding information about the service and the characteristics
@@ -52,14 +52,6 @@
         operator unsigned() const; /* disallow implicit conversion into an integer */
     };
 
-    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);
-
     /**
      * Initiate (or continue) a read for the value attribute, optionally at a
      * given offset. If the Characteristic or Descriptor to be read is longer