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.
Fork of nRF51822 by
Revision 605:07229eef5014, committed 2016-01-11
- Comitter:
- vcoubard
- Date:
- Mon Jan 11 10:19:38 2016 +0000
- Parent:
- 604:0f5c8725146c
- Child:
- 606:513eed5ad414
- Commit message:
- Synchronized with git rev 91e8bf4b
Author: Andres Amaya Garcia
Modify nRF5xGap::reset() to reset the whitelist
Changed in this revision
| source/nRF5xGap.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/source/nRF5xGap.cpp Mon Jan 11 10:19:38 2016 +0000
+++ b/source/nRF5xGap.cpp Mon Jan 11 10:19:38 2016 +0000
@@ -440,6 +440,13 @@
/* Clear derived class members */
m_connectionHandle = BLE_CONN_HANDLE_INVALID;
+ /* Set the whitelist policy filter modes to IGNORE_WHITELIST */
+ advertisingPolicyMode = Gap::ADV_POLICY_IGNORE_WHITELIST;
+ scanningPolicyMode = Gap::SCAN_POLICY_IGNORE_WHITELIST;
+
+ /* Clear the internal whitelist */
+ whitelistAddressesSize = 0;
+
return BLE_ERROR_NONE;
}
