-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(scan): Make sure scan struct is cleared before set #10282
Conversation
👋 Hello me-no-dev, we appreciate your contribution to this project! Click to see more instructions ...
Review and merge process you can expect ...
|
Test Results 56 files - 83 56 suites - 83 4m 17s ⏱️ - 1h 38m 31s Results for commit 2a58393. ± Comparison against base commit e70f4d3. This pull request removes 9 tests.
♻️ This comment has been updated with latest results. |
Memory usage test (comparing PR against master branch)The table below shows the summary of memory usage change (decrease - increase) in bytes and percentage for each target.
Click to expand the detailed deltas report [usage change in BYTES]
|
Tested with https://github.com/TD-er/MCVE_ESPxx and a C6. Before only two APs where found. With the fix all APs around are found. |
Also tried here using the same MCVE code ;) on a C3 which was failing very well before and now working just fine. |
This PR should also address this macro: #define WIFI_SCAN_PARAMS_DEFAULT_CONFIG() { \
.scan_time.active.min = WIFI_ACTIVE_SCAN_MIN_DEFAULT_TIME, \
.scan_time.active.max = WIFI_ACTIVE_SCAN_MAX_DEFAULT_TIME, \
.scan_time.passive = WIFI_PASSIVE_SCAN_DEFAULT_TIME, \
.home_chan_dwell_time = WIFI_SCAN_HOME_CHANNEL_DWELL_DEFAULT_TIME\
} This macro is suggested to be used in the comments for Edit: |
@P-R-O-C-H-Y @me-no-dev @TD-er As that macro is important and part of the ESP-IDF code, would it need to be addressed before a new version arduino-esp32 is released next or does this PR work without it? |
@brentru we do not use that macro in Arduino |
new parameters could cause issues if scan is not cleared
fixes: #10281