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

Question: Enum for "Success == 0, Failure for everything else" #138

Open
mvniekerk opened this issue Jan 10, 2023 · 1 comment
Open

Question: Enum for "Success == 0, Failure for everything else" #138

mvniekerk opened this issue Jan 10, 2023 · 1 comment

Comments

@mvniekerk
Copy link
Contributor

mvniekerk commented Jan 10, 2023

Hi all
I'm implementing the AT commands for https://docs.ai-thinker.com/_media/lora/docs/ra-08_at_instruction.pdf .
The command +CLINKCHECK has the following:

Y0 indicates the Link Check result:
 0: indicates that the Link Check is successfully executed
 non-0: indicates that the Link Check fails

Is there a simple way to model this?

@MathiasKoch
Copy link
Member

There is no such annotation currently.

If you can come up with a clever and intuitive way of annotating it, a PR is welcomed.

Alternatively, a manual implementation of deserialize is quite easy

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

2 participants