Closed keeramis closed 5 months ago
Control requests prevents the user to pre-configure the wifi if the SSID is not present on the area. The use case that made us to rollback the first change was: On production line some costumers requires to pre-configure the wifi credentials the devices will use in the work area. (the devices for this use case were P2/Photon2)
Good call Hugo. Keerthy changed the fix to use control requests for DVOS >6 (since serial commands are gone there) and she'll figure out with Scott a better solution.
Description
Run serial wifi configuration via control requests for gen3 and above. Use serial commands for gen2.
How to Test
npm start -- serial wifi
npm start -- serial wifi --file creds.json
where creds.json looks like