Dan Using IOS 2.2-rc1
I have run some scenarios and terminal trace results below - some interesting results
Wifi Manager lib test results
All Automatic
Scenario 1
already connected to valid network and Pulsing Cyan
**wifi manager works as expected SSIDs are found and passwords accepted with Argon being reset.
0000097908 [system.ctrl.ble] TRACE: Connected
0000098238 [wiring.ble] TRACE: Connected by Central device.
0000102100 [app.BLEWiFiSetupManager] TRACE: Added message to the queue: {“msg_type”:“scan”}0000102526 [app.BLEWiFiSetupManager] TRACE: State Transition: 1 → 2
0000103001 [app.BLEWiFiSetupManager] TRACE: String RX: {“msg_type”:“scan”}
0000103001 [app.BLEWiFiSetupManager] INFO: key=msg_type value=scan
0000105421 [app.BLEWiFiSetupManager] INFO: WiFi Scan Complete
0000105421 [app.BLEWiFiSetupManager] TRACE: State Transition: 2 → 1
0000118033 [app.BLEWiFiSetupManager] TRACE: Added message to the queue: {“msg_type”:“set_creds”,“ssid”:“Asus2.4G”,“password”:“Mxxxxk1”}
0000118232 [app.BLEWiFiSetupManager] TRACE: State Transition: 1 → 2
0000118686 [app.BLEWiFiSetupManager] TRACE: String RX: {“msg_type”:“set_creds”,“ssid”:“Asus2.4G”,“password”:“Mxxxxx1”}
0000118687 [app.BLEWiFiSetupManager] INFO: key=msg_type value=set_creds
0000118688 [app.BLEWiFiSetupManager] INFO: Set WiFi SSID: Asus2.4G
0000118688 [app.BLEWiFiSetupManager] INFO: Set WiFi Password: Mxxxxnk1
0000118754 [app.BLEWiFiSetupManager] INFO: WiFi credentials set
0000118755 [app.BLEWiFiSetupManager] TRACE: State Transition: 2 → 1
Scenario 2
Argon has no network credentials flashing blue (out the box)
*****Nothing gets logged in terminal not even BLE connect
No SSIDs on HTML page found.
Scenario 3
Connected to fake WIFI credentials loaded flashing green
No SSID returned on HTML page however they are picked up in the trace as per below
0000385333 [wiring.ble] TRACE: Connected by Central device.
0000385417 [system.ctrl.ble] TRACE: Connected
0000387831 [app.BLEWiFiSetupManager] TRACE: Added message to the queue: {“msg_type”:“scan”}0000395551 [ncp.at] TRACE: < +CWJAP:4
0000395551 [ncp.at] TRACE: < ERROR
0000395552 [net.esp32ncp] TRACE: Failed to connect to WiFi: -170
0000395552 [gsm0710muxer] INFO: Stopping GSM07.10 muxer
0000395553 [gsm0710muxer] INFO: Gracefully stopping GSM07.10 muxer
0000395554 [gsm0710muxer] INFO: Closing all muxed channels
0000395554 [gsm0710muxer] INFO: Closing mux channel 1
0000395555 [gsm0710muxer] INFO: Closing mux channel 2
0000395555 [gsm0710muxer] INFO: Muxed channel 3 already closed
0000395556 [gsm0710muxer] INFO: Muxed channel 4 already closed
0000396822 [gsm0710muxer] INFO: Sending CLD (multiplexer close down)
0000396824 [gsm0710muxer] INFO: Received response to CLD or timed out, exiting multiplexed
mode
0000396825 [gsm0710muxer] INFO: GSM07.10 muxer thread exiting
0000396825 [gsm0710muxer] INFO: GSM07.10 muxer stopped
0000396826 [net.esp32ncp] TRACE: NCP event 3
0000396827 [net.esp32ncp] TRACE: NCP power state changed: IF_POWER_STATE_POWERING_DOWN
0000396827 [system.nm] TRACE: Interface 4 power state changed: 3
0000396828 [net.esp32ncp] TRACE: NCP event 3
0000396829 [net.esp32ncp] TRACE: NCP power state changed: IF_POWER_STATE_DOWN
0000396829 [system.nm] TRACE: Interface 4 power state changed: 1
0000396830 [hal] TRACE: Deinit modem serial.
0000396830 [net.esp32ncp] TRACE: NCP event 3
0000396830 [net.esp32ncp] TRACE: NCP power state changed: IF_POWER_STATE_POWERING_DOWN
0000396831 [system.nm] TRACE: Interface 4 power state changed: 3
0000396832 [net.esp32ncp] TRACE: NCP event 3
0000396832 [net.esp32ncp] TRACE: NCP power state changed: IF_POWER_STATE_DOWN
0000396833 [system.nm] TRACE: Interface 4 power state changed: 1
0000396833 [hal] TRACE: NCP state changed: 0
0000396834 [net.esp32ncp] TRACE: NCP event 1
0000396834 [hal] TRACE: Deinit modem serial.
0000396935 [net.esp32ncp] TRACE: NCP event 3
0000396935 [net.esp32ncp] TRACE: NCP power state changed: IF_POWER_STATE_POWERING_UP
0000396936 [system.nm] TRACE: Interface 4 power state changed: 4
0000398242 [ncp.at] TRACE: > AT
0000398244 [ncp.at] TRACE: < OK
0000399244 [hal] TRACE: NCP ready to accept AT commands
0000399244 [ncp.at] TRACE: > AT+CMUX=0
0000399246 [ncp.at] TRACE: < OK
0000399247 [gsm0710muxer] INFO: Starting GSM07.10 muxer
0000399247 [gsm0710muxer] INFO: Openning mux channel 0
0000399248 [gsm0710muxer] INFO: GSM07.10 muxer thread started
0000399252 [gsm0710muxer] INFO: Openning mux channel 1
0000399256 [ncp.at] TRACE: > AT
0000399258 [ncp.at] TRACE: < OK
0000399259 [ncp.at] TRACE: > AT+CWDHCP=0,3
0000399264 [ncp.at] TRACE: < OK
0000399264 [hal] TRACE: NCP state changed: 1
0000399264 [net.esp32ncp] TRACE: NCP event 1
0000399265 [net.esp32ncp] TRACE: NCP event 3
0000399265 [net.esp32ncp] TRACE: NCP power state changed: IF_POWER_STATE_UP
0000399266 [system.nm] TRACE: Interface 4 power state changed: 2
0000399269 [ncp.at] TRACE: > AT+CWLAP
0000401777 [ncp.at] TRACE: < +CWLAP:(4,“Asus2.4G”,-45,“1c:7f:2c:9f:20:a0”,1)
0000401778 [ncp.at] TRACE: < +CWLAP:(4,“CRS”,-46,“1c:7f:2c:9f:20:a1”,1)
0000401780 [ncp.at] TRACE: < +CWLAP:(4,“Ballito Tracking”,-68,“88:ce:fa:7f:1f:24”,5)
0000401781 [ncp.at] TRACE: < +CWLAP:(3,“Motolek Ballito Fibre”,-73,“f6:92:bf:e4:8c:e3”,11)
0000401783 [ncp.at] TRACE: < +CWLAP:(3,“Redsky”,-74,“c0:a0:bb:96:c1:3e”,1)
0000401785 [ncp.at] TRACE: < +CWLAP:(3,“Balfour Fibre”,-76,“c0:c9:e3:44:90:ac”,10)
0000401786 [ncp.at] TRACE: < +CWLAP:(3,“Battery Centre”,-80,“fc:ec:da:84:42:20”,6)
0000401787 [ncp.at] TRACE: < +CWLAP:(4,“Vodacom-5EMJ9Y8”,-81,“a0:1c:8d:bf:ca:58”,1)
0000401788 [ncp.at] TRACE: < +CWLAP:(3,“HUAWEI-8717”,-84,“88:40:3b:05:87:17”,1)
0000401789 [ncp.at] TRACE: < +CWLAP:(4,“Motolek Downstairs”,-85,“04:95:e6:26:9d:01”,8)
0000401790 [ncp.at] TRACE: < +CWLAP:(4,“Supertrack”,-90,“e4:18:6b:1c:54:10”,1)
0000401791 [ncp.at] TRACE: < +CWLAP:(4,“Veshtirand”,-90,“88:ce:fa:8f:77:b8”,5)
0000401792 [ncp.at] TRACE: < +CWLAP:(3,“Aquarius Equipment”,-91,“8c:5a:c1:04:5f:8b”,12)
0000401793 [ncp.at] TRACE: < +CWLAP:(3,“Ballitomagrepairs”,-93,“88:ce:fa:81:c9:30”,5)
0000401794 [ncp.at] TRACE: < +CWLAP:(3,"",-93,“8c:5a:c1:04:5f:8f”,12)
0000401795 [ncp.at] TRACE: < OK
0000401795 [gsm0710muxer] INFO: Openning mux channel 2
0000403054 [hal] TRACE: Connecting to “Balfour Fibre”
0000413889 [wiring.ble] TRACE: Disconnected by remote device.
0000413919 [system.ctrl.ble] TRACE: Disconnected
Scenario 4
Putting device in Listening mode - flashing blue (from mode searching for fake WIFI flashing green)
*****Nothing gets logged - not even the BLE connection
No SSIDs returned on HTML page
Scenario 5
Putting in listening mode flashing blue (from connected to WIFI mode pulsing cyan)
*****Nothing gets logged in terminal
Network SSIDs are found on HTML page but password is not set and argon does not reset.