Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: BLE_PowerBank_HeyFaradey
Fork of BLE_API by
Diff: ble/Gap.h
- Revision:
- 1121:df91547290be
- Parent:
- 1119:7a487d506451
- Child:
- 1122:57dcf7dc2fe8
diff -r 85a019284052 -r df91547290be ble/Gap.h
--- 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;
