C API for BALTECH SDK

§ brp_DHWCtrl_BgmExec()

brp_errcode brp_DHWCtrl_BgmExec ( brp_protocol  protocol,
brp_buf  Cmd,
size_t  Cmd_len,
unsigned  Timeout,
brp_buf Rsp,
size_t *  Rsp_len,
brp_mempool mempool 
)

Execute a Bgm12X API command.

Parameters
[in]protocolused to execute the command
[in]CmdCommand data Bytes to be sent.
[in]Cmd_len
[in]TimeoutMaximum time to wait for receiving a response.
[out]RspReceived data Bytes.
[out]Rsp_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