C API for BALTECH SDK
felica.h
Go to the documentation of this file.
1 
11 #ifndef __BRP_BALTECH_API_CMDS_FELICA_H__
12 #define __BRP_BALTECH_API_CMDS_FELICA_H__
13 #include "../typedefs.h"
18 #define BRP_Felica_ErrFelicaNoTag BRP_ERR_STATUS(0x1C00, 0x01)
19 
23 #define BRP_Felica_ErrFelicaHf BRP_ERR_STATUS(0x1C00, 0x04)
24 
28 #define BRP_Felica_ErrFelicaFrame BRP_ERR_STATUS(0x1C00, 0x07)
29 
33 #define BRP_Felica_ErrFelicaCom BRP_ERR_STATUS(0x1C00, 0x10)
34 
38 #define BRP_Felica_ErrFelicaCardNotSupported BRP_ERR_STATUS(0x1C00, 0x22)
39 
43 #define BRP_Felica_ErrFelicaHwNotSupported BRP_ERR_STATUS(0x1C00, 0x23)
44 
58 brp_errcode brp_Felica_GenericCmd(brp_protocol protocol, brp_Felica_GenericCmd_FastBaud FastBaud, unsigned Cmd, brp_buf Param, size_t Param_len, unsigned Timeout, brp_buf* Resp, size_t* Resp_len, brp_mempool *mempool);
81 brp_errcode brp_Felica_Request(brp_protocol protocol, brp_Felica_Request_FastBaud FastBaud, unsigned SystemCode, unsigned RequestCode, unsigned* ColFlag, brp_Felica_Request_Labels_Entry** Labels, size_t* Labels_len, brp_mempool *mempool);
82 #endif
83 
brp_errcode brp_Felica_GenericCmd(brp_protocol protocol, brp_Felica_GenericCmd_FastBaud FastBaud, unsigned Cmd, brp_buf Param, size_t Param_len, unsigned Timeout, brp_buf *Resp, size_t *Resp_len, brp_mempool *mempool)
unsigned int brp_errcode
This type is used library-wide for passing error codes in the return value of functions.
Definition: errorcodes.h:23
struct brp_protocol_t * brp_protocol
This is a generic handle of a protocol.
Definition: protocol.h:34
struct brp_mempool_object_t * brp_mempool
mempool handle.
Definition: mempool.h:27
brp_Felica_GenericCmd_FastBaud
Definition: typedefs.h:1030
brp_Felica_Request_FastBaud
Definition: typedefs.h:1045
brp_errcode brp_Felica_SetUID2(brp_protocol protocol, brp_buf UID2)
brp_errcode brp_Felica_Request(brp_protocol protocol, brp_Felica_Request_FastBaud FastBaud, unsigned SystemCode, unsigned RequestCode, unsigned *ColFlag, brp_Felica_Request_Labels_Entry **Labels, size_t *Labels_len, brp_mempool *mempool)
unsigned char * brp_buf
represents a pointer to a protocol data buffer.
Definition: common.h:61
Definition: typedefs.h:1060