openv / vcontrold

:fire: vcontrold Daemon for control and logging of Viessmann® type heating devices
https://github.com/openv/openv/wiki
GNU General Public License v3.0
103 stars 58 forks source link

vclient command limited to 512 characters #134

Open RiRomain opened 1 year ago

RiRomain commented 1 year ago

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?