Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1b9d1e8

Browse files
andrewchildsfpistm
authored andcommittedApr 17, 2025
Reset scan filters when stopScan is called [Fixes arduino-libraries#350]
1 parent fddebfc commit 1b9d1e8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/utility/GAP.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ int GAPClass::stopScan()
147147
}
148148
}
149149

150+
_scanNameFilter = "";
151+
_scanUuidFilter = "";
152+
_scanAddressFilter = "";
150153
_scanning = false;
151154

152155
for (unsigned int i = 0; i < _discoveredDevices.size(); i++) {

0 commit comments

Comments
 (0)
Please sign in to comment.