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

feat: Add support for custom commands #23

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Rapsssito
Copy link

This PR adds supports for custom RPC commands (that support any amount of data fields) so Improv can be extended by the user for custom use cases (such as cases where more credentials are required).

I added a new CUSTOM command type to the Command enum, allowing for the introduction of custom command handling. Following the same logic, I updated the ImprovCommand struct to replace ssid and password fields with a vector of data fields (but added methods to retrieve ssid and password from the data fields, ensuring backward compatibility).

@Rapsssito
Copy link
Author

@jesserockz, I can update the website if you think adding "extended" command support is worth doing.

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.

1 participant