10 #ifndef __BRP_BALTECH_SDK_CMDS_EM_H__ 11 #define __BRP_BALTECH_SDK_CMDS_EM_H__ 12 #include "../typedefs.h" 13 #ifdef BALTECH_SDK_INTERNAL 17 #define BRP_EM_ErrEmNoTag BRP_ERR_STATUS(0x3100, 0x01) 18 #endif // BALTECH_SDK_INTERNAL 19 #ifdef BALTECH_SDK_INTERNAL 23 #define BRP_EM_ErrEmRxdata BRP_ERR_STATUS(0x3100, 0x03) 24 #endif // BALTECH_SDK_INTERNAL 25 #ifdef BALTECH_SDK_INTERNAL 29 #define BRP_EM_ErrEmChecksum BRP_ERR_STATUS(0x3100, 0x04) 30 #endif // BALTECH_SDK_INTERNAL 31 #ifdef BALTECH_SDK_INTERNAL 35 #define BRP_EM_ErrEmParity BRP_ERR_STATUS(0x3100, 0x05) 36 #endif // BALTECH_SDK_INTERNAL 37 #ifdef BALTECH_SDK_INTERNAL 41 #define BRP_EM_EmCmdError BRP_ERR_STATUS(0x3100, 0x06) 42 #endif // BALTECH_SDK_INTERNAL 43 #ifdef BALTECH_SDK_INTERNAL 47 #define BRP_EM_EmTagtypeNotDetected BRP_ERR_STATUS(0x3100, 0x07) 48 #endif // BALTECH_SDK_INTERNAL 49 #ifdef BALTECH_SDK_INTERNAL 53 #define BRP_EM_ErrEmOvTo BRP_ERR_STATUS(0x3100, 0x08) 54 #endif // BALTECH_SDK_INTERNAL 55 #ifdef BALTECH_SDK_INTERNAL 59 #define BRP_EM_EmParamError BRP_ERR_STATUS(0x3100, 0x09) 60 #endif // BALTECH_SDK_INTERNAL 61 #ifdef BALTECH_SDK_INTERNAL 65 #define BRP_EM_ErrEmHfreqctrl BRP_ERR_STATUS(0x3100, 0x0A) 66 #endif // BALTECH_SDK_INTERNAL 67 #ifdef BALTECH_SDK_INTERNAL 71 #define BRP_EM_ErrEmHw BRP_ERR_STATUS(0x3100, 0x0B) 72 #endif // BALTECH_SDK_INTERNAL 73 #ifdef BALTECH_SDK_INTERNAL 77 #define BRP_EM_ErrEmHwNotSupported BRP_ERR_STATUS(0x3100, 0x0D) 78 #endif // BALTECH_SDK_INTERNAL 79 #ifdef BALTECH_SDK_INTERNAL 82 brp_EM_DecodeCfg_RxMod RxMod;
93 #ifdef BRP_SUPPORT_LEGACY_METHODS 94 brp_errcode brp_EM_DecodeCfg(
brp_protocol protocol, brp_EM_DecodeCfg_RxMod _input_RxMod,
unsigned _input_RxBaud);
96 brp_errcode brp_EM_DecodeCfg(brp_EM_DecodeCfg_t params);
113 #ifdef BRP_SUPPORT_LEGACY_METHODS 116 brp_errcode brp_EM_Read4100(brp_EM_Read4100_t params);
131 #ifdef BRP_SUPPORT_LEGACY_METHODS 134 brp_errcode brp_EM_Read4205(brp_EM_Read4205_t params);
140 } brp_EM_Write4205_t;
149 #ifdef BRP_SUPPORT_LEGACY_METHODS 152 brp_errcode brp_EM_Write4205(brp_EM_Write4205_t params);
163 #ifdef BRP_SUPPORT_LEGACY_METHODS 166 brp_errcode brp_EM_Halt4205(brp_EM_Halt4205_t params);
171 } brp_EM_Login4205_t;
179 #ifdef BRP_SUPPORT_LEGACY_METHODS 182 brp_errcode brp_EM_Login4205(brp_EM_Login4205_t params);
186 unsigned ProtectMask;
187 } brp_EM_Protect4205_t;
195 #ifdef BRP_SUPPORT_LEGACY_METHODS 198 brp_errcode brp_EM_Protect4205(brp_EM_Protect4205_t params);
213 #ifdef BRP_SUPPORT_LEGACY_METHODS 216 brp_errcode brp_EM_Read4469(brp_EM_Read4469_t params);
222 } brp_EM_Write4469_t;
231 #ifdef BRP_SUPPORT_LEGACY_METHODS 234 brp_errcode brp_EM_Write4469(brp_EM_Write4469_t params);
245 #ifdef BRP_SUPPORT_LEGACY_METHODS 248 brp_errcode brp_EM_Halt4469(brp_EM_Halt4469_t params);
253 } brp_EM_Login4469_t;
261 #ifdef BRP_SUPPORT_LEGACY_METHODS 264 brp_errcode brp_EM_Login4469(brp_EM_Login4469_t params);
285 #ifdef BRP_SUPPORT_LEGACY_METHODS 288 brp_errcode brp_EM_Read4450(brp_EM_Read4450_t params);
290 #endif // BALTECH_SDK_INTERNAL unsigned int brp_errcode
This type is used library-wide for passing error codes in the return value of functions.
struct brp_protocol_t * brp_protocol
This is a generic handle of a protocol.
struct brp_mempool_object_t * brp_mempool
mempool handle.
unsigned char * brp_buf
represents a pointer to a protocol data buffer.