jgh
Fork of BLE_API by
Diff: ble/Gap.h
- Revision:
- 1121:df91547290be
- Parent:
- 1119:7a487d506451
- Child:
- 1122:57dcf7dc2fe8
--- a/ble/Gap.h Mon Jan 11 08:52:03 2016 +0000 +++ b/ble/Gap.h Mon Jan 11 08:52:04 2016 +0000 @@ -516,7 +516,7 @@ */ virtual uint8_t getMaxWhitelistSize(void) const { - return BLE_ERROR_NOT_IMPLEMENTED; + return 0; } /** @@ -542,7 +542,7 @@ * Set the internal whitelist to be used by the Link Layer when scanning, * advertising or initiating a connection depending on the filter policies. * - * @param[out] whitelist + * @param[in] whitelist * A reference to a whitelist containing the addresses to * be added to the internal whitelist. * @@ -557,7 +557,7 @@ * @note If the input whitelist is larger than @ref getMaxWhitelistSize() * the @ref BLE_ERROR_PARAM_OUT_OF_RANGE is returned. */ - virtual ble_error_t setWhitelist(Whitelist_t &whitelist) + virtual ble_error_t setWhitelist(const Whitelist_t &whitelist) { (void) whitelist; return BLE_ERROR_NOT_IMPLEMENTED;