update declaration for AdvertisementReportCallback_t

This commit is contained in:
Rohit Grover 2015-04-24 14:55:19 +01:00
parent 6a5663babb
commit c607797150

View file

@ -164,12 +164,12 @@ public:
};
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;