C API for BALTECH SDK

§ brp_Bat_CheckStatus()

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.

Parameters
[in]protocolused to execute the command
[in]CondBitNdxHas to be a value between 0 and 15, that identifies the condition bit that shall be updated.
[in]StatusCodes
[in]StatusCodes_len
[in]Invertif True, the status code must not one of the codes in StatusCode.