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

vclient command limited to 512 characters #134

Open
RiRomain opened this issue Oct 29, 2023 · 0 comments · May be fixed by #135
Open

vclient command limited to 512 characters #134

RiRomain opened this issue Oct 29, 2023 · 0 comments · May be fixed by #135

Comments

@RiRomain
Copy link

The command tool vclient has a limit of 512 characters for the list of command.
-c, --command <commandlist>

I do read all the command at once to publish them all via mqtt, this fails as my command list is 1938 character long.

Limitation is the commands array that is declared with 512 char long at: https://github.com/openv/vcontrold/blob/master/src/vclient.c#L85
char commands[512] = "";

Could this be increased?

RiRomain added a commit to RiRomain/vcontrold that referenced this issue Oct 29, 2023
@RiRomain RiRomain linked a pull request Oct 29, 2023 that will close this issue
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 a pull request may close this issue.

1 participant