Closed keeramis closed 3 months ago
@keeramis I was checking particle-usb
and saw that setWifiCredentials
function was removed so this PR should be closed right?
@hugomontero Thanks for taking a look! I am temporarily closing this PR because of the new changes scoping out here. https://www.notion.so/particle/CLI-Improved-WiFi-Configuration-8a2ee199e4484b428e0ee0c9b26d219a
Description
Device-OS added a new control request to set network credentials without needing for a connection attempt. This PR adds support to use this control request to configure wifi network. If device is of device-os version which does not support this control request (which is 6.x TBD), wifi is configured via serial commands
How to Test
npm start -- serial wifi
Completeness