Andrea Sortino / BLE_API

Fork of BLE_API by Bluetooth Low Energy

Revision:
427:6d47371cb05c
Parent:
424:370d5f1f292f
Child:
428:d56a1d755676
--- 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,6 +164,13 @@
     };
     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);
+
     friend class BLEDevice;
 
 private: