BALTECH Docs
C API for BALTECH SDK
lga.h
Go to the documentation of this file.
1
22
#ifndef __BRP_BALTECH_API_CMDS_LGA_H__
23
#define __BRP_BALTECH_API_CMDS_LGA_H__
24
#include "../typedefs.h"
30
#define BRP_Lga_ErrNotag BRP_ERR_STATUS(0x1200, 0x01)
31
38
#define BRP_Lga_ErrLegic BRP_ERR_STATUS(0x1200, 0x02)
39
47
#define BRP_Lga_ErrCommunication BRP_ERR_STATUS(0x1200, 0x03)
48
61
#define BRP_Lga_ErrNotInitialized BRP_ERR_STATUS(0x1200, 0x04)
62
68
#define BRP_Lga_ErrNotAssembled BRP_ERR_STATUS(0x1200, 0x05)
69
109
brp_errcode
brp_Lga_TransparentCommand
(
brp_protocol
protocol,
unsigned
CmdCode,
brp_buf
CmdParams,
size_t
CmdParams_len,
unsigned
Timeout,
unsigned
* Status,
brp_buf
* Resp,
size_t
* Resp_len,
brp_mempool
*mempool);
110
#endif
111
brp_Lga_TransparentCommand
brp_errcode brp_Lga_TransparentCommand(brp_protocol protocol, unsigned CmdCode, brp_buf CmdParams, size_t CmdParams_len, unsigned Timeout, unsigned *Status, brp_buf *Resp, size_t *Resp_len, brp_mempool *mempool)
brp_errcode
unsigned int brp_errcode
This type is used library-wide for passing error codes in the return value of functions.
Definition:
errorcodes.h:23
brp_protocol
struct brp_protocol_t * brp_protocol
This is a generic handle of a protocol.
Definition:
protocol.h:34
brp_mempool
struct brp_mempool_object_t * brp_mempool
mempool handle.
Definition:
mempool.h:27
brp_buf
unsigned char * brp_buf
represents a pointer to a protocol data buffer.
Definition:
common.h:61