C API for BALTECH SDK
ultralight.h File Reference
#include "../typedefs.h"

Go to the source code of this file.

Macros

#define BRP_Ultralight_ErrNoTag   BRP_ERR_STATUS(0x2500, 0x01)
 
#define BRP_Ultralight_ErrAuth   BRP_ERR_STATUS(0x2500, 0x02)
 
#define BRP_Ultralight_ErrHf   BRP_ERR_STATUS(0x2500, 0x03)
 
#define BRP_Ultralight_ErrKey   BRP_ERR_STATUS(0x2500, 0x04)
 
#define BRP_Ultralight_ErrNack   BRP_ERR_STATUS(0x2500, 0x05)
 
#define BRP_Ultralight_ErrInterface   BRP_ERR_STATUS(0x2500, 0x18)
 
#define BRP_Ultralight_ErrCmd   BRP_ERR_STATUS(0x2500, 0x19)
 
#define BRP_Ultralight_ErrHwNotSupported   BRP_ERR_STATUS(0x2500, 0x20)
 
#define BRP_Ultralight_ErrFirmwareNotSupported   BRP_ERR_STATUS(0x2500, 0x21)
 
#define BRP_Ultralight_BreakErr   BRP_ERR_STATUS(0x2500, 0x28)
 

Functions

brp_errcode brp_Ultralight_ExecCmd (brp_protocol protocol, unsigned Cmd, brp_buf Param, size_t Param_len, brp_buf *Response, size_t *Response_len, brp_mempool *mempool)
 
brp_errcode brp_Ultralight_Read (brp_protocol protocol, unsigned PageAdr, brp_buf *PageData, brp_mempool *mempool)
 
brp_errcode brp_Ultralight_Write (brp_protocol protocol, unsigned PageAdr, brp_buf PageData)
 
brp_errcode brp_Ultralight_AuthE2 (brp_protocol protocol, brp_Ultralight_AuthE2_DivMode DivMode, bool HasExtIdx, unsigned KeyIdx, brp_buf DivData, size_t DivData_len, unsigned KeyExtIdx)
 
brp_errcode brp_Ultralight_AuthUser (brp_protocol protocol, brp_Ultralight_AuthUser_CryptoMode CryptoMode, brp_buf Key, size_t Key_len)
 

Detailed Description

With this command group, you can access MIFARE Ultralight cards in low-level mode. To work with this command group, a card has to be in ISO 14443-3 Type A selected state. This can be achieved using the Iso14a commandgroup".

Definition in file ultralight.h.