diff --git a/public/Gap.h b/public/Gap.h index e7b4dac..f6f5db0 100644 --- a/public/Gap.h +++ b/public/Gap.h @@ -164,12 +164,12 @@ public: }; typedef FunctionPointerWithContext 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;