Andrea Sortino / BLE_API

Fork of BLE_API by Bluetooth Low Energy

Revision:
428:d56a1d755676
Parent:
427:6d47371cb05c
Child:
432:bbe0348d3eef
diff -r 6d47371cb05c -r d56a1d755676 public/Gap.h
--- a/public/Gap.h	Fri Jun 19 15:51:54 2015 +0100
+++ b/public/Gap.h	Fri Jun 19 15:51:54 2015 +0100
@@ -164,12 +164,12 @@
     };
     typedef FunctionPointerWithContext<const AdvertisementCallbackParams_t *> AdvertisementReportCallback_t;
 
-    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;