add "LE Device Address" 0x1B to advertising data types

Fork of BLE_API by Bluetooth Low Energy

Revision:
788:89433790768b
Parent:
786:d6d7087d8377
Child:
789:e33a8b853eb8
--- a/ble/GattCallbackParamTypes.h	Tue Aug 11 15:13:13 2015 +0100
+++ b/ble/GattCallbackParamTypes.h	Tue Aug 11 15:13:13 2015 +0100
@@ -28,6 +28,7 @@
         OP_EXEC_WRITE_REQ_NOW    = 0x06,  /**< Execute Write Request: Immediately execute all prepared writes. */
     };
 
+    Gap::Handle_t            connHandle;
     GattAttribute::Handle_t  handle;
     WriteOp_t                writeOp; /**< Type of write operation, */
     uint16_t                 offset;  /**< Offset for the write operation. */
@@ -36,6 +37,7 @@
 };
 
 struct GattReadCallbackParams {
+    Gap::Handle_t            connHandle;
     GattAttribute::Handle_t  handle;
     uint16_t                 offset;  /**< Offset for the read operation. */
     uint16_t                 len;
@@ -58,6 +60,7 @@
 };
 
 struct GattWriteAuthCallbackParams {
+    Gap::Handle_t            connHandle;
     GattAttribute::Handle_t  handle;
     uint16_t                 offset; /**< Offset for the write operation. */
     uint16_t                 len;    /**< Length of the incoming data. */
@@ -67,6 +70,7 @@
 };
 
 struct GattReadAuthCallbackParams {
+    Gap::Handle_t            connHandle;
     GattAttribute::Handle_t  handle;
     uint16_t                 offset; /**< Offset for the read operation. */
     uint16_t                 len;    /**< Optional: new length of the outgoing data. */
@@ -77,6 +81,7 @@
 
 /* For encapsulating handle-value update events (notifications or indications) generated at the remote server. */
 struct GattHVXCallbackParams {
+  Gap::Handle_t            connHandle;
   GattAttribute::Handle_t  handle; /**< Attribute Handle to which the HVx operation applies. */
   HVXType_t                type;   /**< Indication or Notification, see @ref HVXType_t. */
   uint16_t                 len;    /**< Attribute data length. */