Closed nitin710 closed 1 year ago
Review 01
Are there test results affirming that when the network is available it will still connect on both MCUs?
Yes, that has been tested. I will add it to the results above and ping you.
Did you intend to include bin files?
Ah, missed the upload. Will fix that.
@produceconsumerobot updated PR with test results for "successful connect". also linked bin files.
@nitin710 great! Test results look good to me. Let's add these tests to our FW testing protocol/records. Perhaps we can even add a new column for the "modules" (or files) these tests touch so that we can be sure to run these tests at appropriate times in the future. I will try to test this out tomorrow on univ networks, but I'd say go ahead and merge if you're ready.
Added the tests to our protocols. Merging to master.
Description
Fixes a bug where network switching on feather M0 would take
attemptDelay
(set in code) seconds. This artifact was introduced when changes were made to support enterprise wifi on ESP32.This bug caused the Feather M0 to wait for 20 secs before switching networks (even if the network it was trying to connect to was not available). This patch fixes that issue and now, if a network is not available (Feather M0 fails to connect to it), it moves on to the next network.
Requirements
Issues Referenced
Documentation update
Testing
The following shows the setup log indicating time taken between trying separate networks.
Testing on ESP32 (SSID not available)
WL_NO_SSID_AVAIL
Testing on ESP32 (SSID available)
Testing on Feather M0 (SSID not available)
WL_DISCONNECTED
Testing on Feather M0 (SSID available)
Steps to test
Checklist to allow merge
master
DIGITAL_WRITE_DEBUG
= false (if set true while testing)ofxEmotiBitVersion.h
Screenshots: