Provision Argon WiFi Credentials via BLE question

Dan, I have tried with other devices and the results are the same. The library only works if the Argon is connected to a Wifi already (pulsing Cyan). I will play around a bit on my side but wont get my hopes up. This would be a game changer should we be able to perform WiFi setup from any mode.

I have noticed that in scenario 3 (Argon loaded with fake details, trying to connect). The SSIDs found in the trace has nothing to do with the scan function on the HTML page. Looks like if the Argon cant connect to the the required WiFi with fake password that it scans automatically for all available networks.

as per below where Asus2.4G SSID was loaded with incorrect password

0000007686 [ncp.esp32.client] TRACE: Connecting to “Asus2.4G”
0000024535 [ncp.esp32.at] TRACE: < +CWJAP:4
0000024535 [ncp.esp32.at] TRACE: < ERROR
0000024536 [net.esp32ncp] TRACE: Failed to connect to WiFi: -170
0000024541 [ncp.esp32.at] TRACE: > AT+CWLAP
0000027049 [ncp.esp32.at] TRACE: < +CWLAP:(3,“Robertson”,-45,“40:b0:76:28:ef:d0”,6)
0000027050 [ncp.esp32.at] TRACE: < +CWLAP:(3,“Asus2.4G”,-46,“40:b0:76:28:ef:d1”,6)
0000027051 [ncp.esp32.at] TRACE: < +CWLAP:(3,“76 Zen”,-75,“1c:3b:f3:f7:71:16”,9)
0000027053 [ncp.esp32.at] TRACE: < +CWLAP:(4,“Van Der Linde Wifi”,-93,“d8:32:14:a1:c5:31”,2)
0000027053 [ncp.esp32.at] TRACE: < OK

Would be great if we could get this Lib to work form listening mode like with the CLI setup.

  1. $particle serial wifi
  2. scan + password
  3. restart
  4. $ particle usb setup-done
1 Like