-
Notifications
You must be signed in to change notification settings - Fork 6
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
New feature: Added static parser: argument into quotes. #6
base: master
Are you sure you want to change the base?
Conversation
SerialTerminal.hpp
Outdated
@@ -183,6 +183,26 @@ namespace maschinendeck { | |||
|
|||
return Pair<String, String>(keyword, message); | |||
} | |||
|
|||
static String ParseArgument(String message) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you really think, this is neccesary? the cli gets split on the first space, what is the need for the quotes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, for example for password user-case. Is working like a charm here:
https://github.com/hpsaturn/esp32-wifi-cli/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i looked at your example, of course, but what exactly is the benefit from the quotation marks? you could to the exact same thing without them, couldnt you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that not, because is possible have passwords with spaces in the end. For example the next password: " xxx xxxx ". How you could handle it?
Summary
WiFi Setup example features