C API for BALTECH SDK
felica.h File Reference

These are FeliCa card low-level commands. More...

#include "../typedefs.h"

Go to the source code of this file.

Macros

#define BRP_Felica_ErrFelicaNoTag   BRP_ERR_STATUS(0x1C00, 0x01)
 No PICC in HF field. More...
 
#define BRP_Felica_ErrFelicaHf   BRP_ERR_STATUS(0x1C00, 0x04)
 PICC-reader communication error. More...
 
#define BRP_Felica_ErrFelicaFrame   BRP_ERR_STATUS(0x1C00, 0x07)
 Bit error, parity error or frame error. More...
 
#define BRP_Felica_ErrFelicaCom   BRP_ERR_STATUS(0x1C00, 0x10)
 Communication error uC - reader chip. More...
 
#define BRP_Felica_ErrFelicaCardNotSupported   BRP_ERR_STATUS(0x1C00, 0x22)
 Reader chip does not support cardtype-selected baud rate. More...
 
#define BRP_Felica_ErrFelicaHwNotSupported   BRP_ERR_STATUS(0x1C00, 0x23)
 Command not supported by hardware. More...
 

Functions

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)
 Generic command for FeliCa. More...
 
brp_errcode brp_Felica_SetUID2 (brp_protocol protocol, brp_buf UID2)
 Sets UID2 used by generic command. More...
 
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)
 Polls for tags with number of time slots, returns NFCID2 list of detected tags (maximum 16 / length 8). More...
 

Detailed Description

These are FeliCa card low-level commands.

Definition in file felica.h.