High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Revision 572:8c0ceafa1058, committed 2015-06-19
- Comitter:
- rgrover1
- Date:
- Fri Jun 19 15:52:49 2015 +0100
- Parent:
- 571:4449c1345409
- Child:
- 573:a98f3fb1ca7b
- 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: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: