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

Support for commands with both quoted and unquoted strings #166

Open
ijager opened this issue Jul 26, 2023 · 0 comments
Open

Support for commands with both quoted and unquoted strings #166

ijager opened this issue Jul 26, 2023 · 0 comments

Comments

@ijager
Copy link
Contributor

ijager commented Jul 26, 2023

I want to send the following command:

AT+QSSLCFG="ciphersuite",2,0xFFFF

Note that it has both a quoted string "ciphersuite" and an unquoted string 0xFFFF, I believe this is currently not possible to serialize with atat as the quote_escape_strings option is set for the entire command.

So I would like to add this quote_escape_strings option for ArgAttributes as an optional arg.

pub quote_escape_strings: Option<bool>,

I think if the option is set on ArgAttributes it should override the CmdAttributes.

Any thoughts?

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

No branches or pull requests

1 participant