![]()  | 
     BALTECH Docs | 
    C API for BALTECH SDK
   
    
   
   | 
   
| 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.
| [in] | protocol | used to execute the command | 
| [in] | CommandList | Commands to execute. | 
| [in] | CommandList_len | |
| [out] | Status | |
| [out] | Response | Collection of all answers. | 
| [out] | Response_len | |
| [in] | mempool | is 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 |