BLE_API_Tiny_BLE

Dependents:   CSSE4011_BLE_IMU

Fork of BLE_API by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

Comitter:
rgrover1
Date:
Wed May 13 08:51:07 2015 +0100
Parent:
380:2109a08c311c
Child:
382:dcd0428dadb0
Commit message:
Synchronized with git rev aabb9c18
Author: Rohit Grover
update declaration for AdvertisementReportCallback_t

Changed in this revision

public/Gap.h Show annotated file Show diff for this revision Revisions of this file
--- a/public/Gap.h	Wed May 13 08:51:07 2015 +0100
+++ b/public/Gap.h	Wed May 13 08:51:07 2015 +0100
@@ -150,12 +150,12 @@
     typedef void (*LinkSecuredCallback_t)(Handle_t handle, SecurityMode_t securityMode);
     typedef void (*PasskeyDisplayCallback_t)(Handle_t handle, const Passkey_t passkey);
 
-    typedef void (*AdvertisementReportCallback_t)(const address_t       peerAddr,
-                                                  int8_t                rssi,
-                                                  bool                  isScanResponse,
-                                                  AdvertisementType_t   type,
-                                                  uint8_t              *advertisingDataLenPtr,
-                                                  const uint8_t       **advertisingDataPtr);
+    typedef void (*AdvertisementReportCallback_t)(const address_t      peerAddr,
+                                                  int8_t               rssi,
+                                                  bool                 isScanResponse,
+                                                  AdvertisementType_t  type,
+                                                  uint8_t              advertisingDataLen,
+                                                  const uint8_t       *advertisingData);
 
     friend class BLEDevice;