High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: public/Gap.h
- Revision:
- 572:8c0ceafa1058
- Parent:
- 569:a5a6a1681fcf
- Child:
- 573:a98f3fb1ca7b
diff -r 4449c1345409 -r 8c0ceafa1058 public/Gap.h --- a/public/Gap.h Fri Jun 19 15:52:49 2015 +0100 +++ b/public/Gap.h Fri Jun 19 15:52:49 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: