C API for BALTECH SDK
bat.h File Reference

This command group allows to run multiple commands in a single batch. More...

#include "../typedefs.h"

Go to the source code of this file.

Macros

#define BRP_Bat_ErrSkipped   BRP_ERR_STATUS(0x4600, 0x90)
 This command was skipped, since condition bits did not match. More...
 

Functions

brp_errcode brp_Bat_Run (brp_protocol protocol, brp_Bat_Run_SubCmds_Entry *SubCmds, size_t SubCmds_len, brp_Bat_Run_Rsps_Entry **Rsps, size_t *Rsps_len, brp_mempool *mempool)
 Run a batch of BRP commands Via condition bits, it is possible to run sub- commands selectively. More...
 
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. More...
 
brp_errcode brp_Bat_CheckAny (brp_protocol protocol, unsigned CondBitNdx, unsigned CondBits, bool Invert)
 This command checks if one or more of a list of condition bits is set. More...
 
brp_errcode brp_Bat_CheckTemplate (brp_protocol protocol, unsigned CondBitNdx, brp_buf Template, size_t Template_len, unsigned *FieldBitLens, size_t FieldBitLens_len, bool Invert)
 This command checks if the result of the last action-sub-command (i.e. More...
 
brp_errcode brp_Bat_Delay (brp_protocol protocol, unsigned DelayTime)
 Delays execution for a specified amount of ms. More...
 

Detailed Description

This command group allows to run multiple commands in a single batch.

Definition in file bat.h.