Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add set credentials usb request #31

Merged
merged 3 commits into from
May 16, 2024

Conversation

scott-brust
Copy link
Member

See corresponding dvos PR

* Store network credential but do not attempt to power on wifi or connect.
*
* On success, the network credentials get saved to a persistent storage.
* On failure, there was not enough room to store the credentials
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can only happen if DVOS runs out of memory when resizing the 10 item credentials vector. I dont think this is likely to happen?

Do we want to make it explicit that if the device has 10 credentials and we send another one that the 10th credential will be dropped?
Do we want to change this behavior?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally, we would want to replace SSIDs which are old / least recently connected. But that's probably an overkill? What we can do though is have another control request that loads the config file and then display the SSIDs it in the CLI.

@keeramis keeramis merged commit 212ec2f into main May 16, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants