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

Go to the source code of this file.

Macros

#define BRP_AR_ErrNoMessage   BRP_ERR_STATUS(0x0500, 0x01)
 
#define BRP_AR_ErrScriptRuntime   BRP_ERR_STATUS(0x0500, 0x02)
 
#define BRP_AR_ErrScriptSyntax   BRP_ERR_STATUS(0x0500, 0x03)
 
#define BRP_AR_ErrScriptNotImplemented   BRP_ERR_STATUS(0x0500, 0x04)
 
#define BRP_AR_ErrArDisabled   BRP_ERR_STATUS(0x0500, 0x10)
 

Functions

brp_errcode brp_AR_SetMode (brp_protocol protocol, brp_AutoReadMode Mode)
 
brp_errcode brp_AR_GetMessage (brp_protocol protocol, brp_MessageType *MsgType, brp_buf *MsgData, size_t *MsgData_len, brp_mempool *mempool)
 
brp_errcode brp_AR_RunScript (brp_protocol protocol, brp_buf Script, size_t Script_len)
 

Detailed Description

With the Autoread command group, you can control a reader configured for Autoread mode. This mode allows the reader to autonomously scan for cards, validate and read them, and interact with the user (e.g. give feedback via beeper/LED or switch a door relay). Besides, the reader buffers data read from the card, so the host application can retrieve it.

For more details on how to implement Autoread, please see our Autoread workflow overview.

Definition in file ar.h.