![]()  | 
     BALTECH Docs | 
    C API for BALTECH SDK
   
    
   
   | 
   
| brp_errcode brp_Bat_CheckStatus | ( | brp_protocol | protocol, | 
| unsigned | CondBitNdx, | ||
| unsigned * | StatusCodes, | ||
| size_t | StatusCodes_len, | ||
| bool | Invert | ||
| ) | 
This command checks the status of the last action-sub-command (i.e.
sub- command that did not start with "Check..."). Depending on the result it sets (or clears, if Invert is true) a condition bit.
| [in] | protocol | used to execute the command | 
| [in] | CondBitNdx | Has to be a value between 0 and 15, that identifies the condition bit that shall be updated. | 
| [in] | StatusCodes | |
| [in] | StatusCodes_len | |
| [in] | Invert | if True, the status code must not one of the codes in StatusCode. |