encodeCommandBody<C extends Command>(command: C,body: CommandBody<C>): string
Writes a command body as XML. Parameters missing from body are left out;
an empty body gives an empty string, which the firmware treats as "use
the current values" rather than as an empty <body/>.
C extends Command
command: C
The command whose parameters to write.
body: CommandBody<C>
The parameter values, by element name.