update declaration for AdvertisementReportCallback_t
This commit is contained in:
parent
6a5663babb
commit
c607797150
1 changed files with 6 additions and 6 deletions
12
public/Gap.h
12
public/Gap.h
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue