No changes
Fork of nRF51822 by
Diff: source/nRF5xGap.h
- Revision:
- 600:0978b5626451
- Parent:
- 598:814c1ce92947
- Child:
- 604:0f5c8725146c
diff -r 3e66e1eb264d -r 0978b5626451 source/nRF5xGap.h --- a/source/nRF5xGap.h Mon Jan 11 10:19:36 2016 +0000 +++ b/source/nRF5xGap.h Mon Jan 11 10:19:36 2016 +0000 @@ -92,6 +92,10 @@ virtual ble_error_t reset(void); + /* + * The following functions are part of the whitelisting experimental API. + * Therefore, this functionality can change in the near future. + */ virtual uint8_t getMaxWhitelistSize(void) const; virtual ble_error_t getWhitelist(Gap::Whitelist_t &whitelistOut) const; virtual ble_error_t setWhitelist(const Gap::Whitelist_t &whitelistIn); @@ -118,6 +122,10 @@ #endif private: + /* + * Whitelisting API related structures and helper functions. + */ + /* Policy modes set by the user. By default these are set to ignore the whitelist */ Gap::AdvertisingPolicyMode_t advertisingPolicyMode; Gap::ScanningPolicyMode_t scanningPolicyMode; @@ -139,6 +147,7 @@ */ ble_error_t generateStackWhitelist(void); +private: bool radioNotificationCallbackParam; /* parameter to be passed into the Timeout-generated radio notification callback. */ Timeout radioNotificationTimeout;