High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Revision 427:6d47371cb05c, committed 2015-06-19
- Comitter:
- rgrover1
- Date:
- Fri Jun 19 15:51:54 2015 +0100
- Parent:
- 426:1114653158f6
- Child:
- 428:d56a1d755676
- Commit message:
- Synchronized with git rev 6a5663ba
Author: Rohit Grover
add AdvertisementType_t
Changed in this revision
public/Gap.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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: