11 #ifndef __BRP_BALTECH_API_CMDS_BAT_H__ 12 #define __BRP_BALTECH_API_CMDS_BAT_H__ 13 #include "../typedefs.h" 18 #define BRP_Bat_ErrSkipped BRP_ERR_STATUS(0x4600, 0x90) unsigned int brp_errcode
This type is used library-wide for passing error codes in the return value of functions.
struct brp_protocol_t * brp_protocol
This is a generic handle of a protocol.
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)
struct brp_mempool_object_t * brp_mempool
mempool handle.
brp_errcode brp_Bat_CheckStatus(brp_protocol protocol, unsigned CondBitNdx, unsigned *StatusCodes, size_t StatusCodes_len, bool Invert)
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)
brp_errcode brp_Bat_CheckAny(brp_protocol protocol, unsigned CondBitNdx, unsigned CondBits, bool Invert)
brp_errcode brp_Bat_Delay(brp_protocol protocol, unsigned DelayTime)
unsigned char * brp_buf
represents a pointer to a protocol data buffer.