C API for BALTECH SDK

§ brp_DHWCtrl_Run()

brp_errcode brp_DHWCtrl_Run ( brp_protocol  protocol,
brp_buf  CommandList,
size_t  CommandList_len,
unsigned *  Status,
brp_buf Response,
size_t *  Response_len,
brp_mempool mempool 
)

Executes a list of commands.

The commands are stored sequentially in the buffer. Every command has as a header the command code and the length of the following parameters. Both are given in bytes. It is possible to execute every DHWCtrl command through this interface.

Parameters
[in]protocolused to execute the command
[in]CommandListCommands to execute.
[in]CommandList_len
[out]Status
[out]ResponseCollection of all answers.
[out]Response_len
[in]mempoolis used to store response data. Maybe NULL to use an internal mempool, in this case the data is only available until another command uses the internal mempool