C API for BALTECH SDK
mce.h
Go to the documentation of this file.
1 
11 #ifndef __BRP_BALTECH_API_CMDS_MCE_H__
12 #define __BRP_BALTECH_API_CMDS_MCE_H__
13 #include "../typedefs.h"
17 #define BRP_Mce_ErrNoTag BRP_ERR_STATUS(0x4D00, 0x01)
18 
21 #define BRP_Mce_ErrDisabled BRP_ERR_STATUS(0x4D00, 0x03)
22 
25 #define BRP_Mce_ErrLicense BRP_ERR_STATUS(0x4D00, 0x04)
26 
48 brp_errcode brp_Mce_Request(brp_protocol protocol, brp_buf* Snr, size_t* Snr_len, brp_mempool *mempool);
49 #endif
50 
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
brp_errcode brp_Mce_Enable(brp_protocol protocol, brp_Mce_Enable_Mode Mode)
This command enables/disables Mobile Card Emulation (MCE).
struct brp_mempool_object_t * brp_mempool
mempool handle.
Definition: mempool.h:27
brp_Mce_Enable_Mode
Definition: typedefs.h:2009
brp_errcode brp_Mce_Request(brp_protocol protocol, brp_buf *Snr, size_t *Snr_len, brp_mempool *mempool)
This command is used to check if a Mobile Card Emulation (MCE) device (usually a smartphone running a...
unsigned char * brp_buf
represents a pointer to a protocol data buffer.
Definition: common.h:61