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

How to implement variable length data #48

Open
KammutierSpule opened this issue Nov 22, 2023 · 4 comments
Open

How to implement variable length data #48

KammutierSpule opened this issue Nov 22, 2023 · 4 comments

Comments

@KammutierSpule
Copy link

Is possible to receive variable length data after command?
Example:

AT+CMQTTTOPIC=0,11
>simcomtopic
OK
AT+CMQTTPAYLOAD=0,13
>simcompayload
OK
@marcinbor85
Copy link
Owner

No, this is example of two-stages command processing and such feature is not supported by cAT.

@KammutierSpule
Copy link
Author

Do you think is possible to extend the code to support it? Any suggestion where to look at in the source code?

@marcinbor85
Copy link
Owner

Yes. It should be relative easy. Just add another internal state.

@KammutierSpule
Copy link
Author

Ok thanks, I will need to investigate. Could you point me to some lines in the code where that can be added?

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