26 #ifndef __BRP_BALTECH_SDK_CMDS_ISO15_H__ 27 #define __BRP_BALTECH_SDK_CMDS_ISO15_H__ 28 #include "../typedefs.h" 32 #define BRP_Iso15_ErrNoTag BRP_ERR_STATUS(0x2100, 0x01) 39 #define BRP_Iso15_ErrCollision BRP_ERR_STATUS(0x2100, 0x02) 43 #define BRP_Iso15_ErrHf BRP_ERR_STATUS(0x2100, 0x04) 47 #define BRP_Iso15_ErrLabel BRP_ERR_STATUS(0x2100, 0x05) 51 #define BRP_Iso15_ErrCom BRP_ERR_STATUS(0x2100, 0x10) 52 #ifdef BALTECH_SDK_INTERNAL 56 #define BRP_Iso15_ErrCmd BRP_ERR_STATUS(0x2100, 0x20) 57 #endif // BALTECH_SDK_INTERNAL 61 #define BRP_Iso15_ErrParamNotSupported BRP_ERR_STATUS(0x2100, 0x23) 65 #define BRP_Iso15_ErrMem BRP_ERR_STATUS(0x2100, 0x24) 69 #define BRP_Iso15_ErrLabelBlocksize BRP_ERR_STATUS(0x2100, 0x25) 70 #ifdef BALTECH_SDK_INTERNAL 74 #define BRP_Iso15_ErrHwNotSupported BRP_ERR_STATUS(0x2100, 0x26) 75 #endif // BALTECH_SDK_INTERNAL 93 #ifdef BRP_SUPPORT_LEGACY_METHODS 115 #ifdef BRP_SUPPORT_LEGACY_METHODS 155 #ifdef BRP_SUPPORT_LEGACY_METHODS 156 brp_errcode brp_Iso15_GetUIDList(
brp_protocol protocol,
bool EnAFI,
bool NextBlock,
bool AutoQuiet,
bool EnDSFID,
bool En16Slots,
unsigned AFI,
unsigned* More,
brp_Iso15_GetUIDList_Labels_Entry** Labels,
size_t* Labels_len,
brp_mempool *mempool);
181 #ifdef BRP_SUPPORT_LEGACY_METHODS 195 #ifdef BRP_SUPPORT_LEGACY_METHODS 200 #ifdef BALTECH_SDK_INTERNAL 208 brp_Iso15_ReadBlock_Data_Entry** Data;
211 } brp_Iso15_ReadBlock_t;
230 #ifdef BRP_SUPPORT_LEGACY_METHODS 231 brp_errcode brp_Iso15_ReadBlock(
brp_protocol protocol,
unsigned BlockID,
unsigned BlockNum,
bool EnBlockSec,
unsigned* LabelStat,
unsigned* BlockLen, brp_Iso15_ReadBlock_Data_Entry** Data,
size_t* Data_len,
brp_mempool *mempool);
233 brp_errcode brp_Iso15_ReadBlock(brp_Iso15_ReadBlock_t params);
235 #endif // BALTECH_SDK_INTERNAL 236 #ifdef BALTECH_SDK_INTERNAL 246 } brp_Iso15_WriteBlock_t;
264 #ifdef BRP_SUPPORT_LEGACY_METHODS 265 brp_errcode brp_Iso15_WriteBlock(
brp_protocol protocol,
unsigned BlockID,
unsigned BlockNum,
unsigned BlockLen,
bool OptionFlag,
brp_buf* Data,
size_t Data_len,
unsigned* LabelStat);
267 brp_errcode brp_Iso15_WriteBlock(brp_Iso15_WriteBlock_t params);
269 #endif // BALTECH_SDK_INTERNAL 287 #ifdef BRP_SUPPORT_LEGACY_METHODS 305 #ifdef BRP_SUPPORT_LEGACY_METHODS 327 #ifdef BRP_SUPPORT_LEGACY_METHODS 347 #ifdef BRP_SUPPORT_LEGACY_METHODS 369 #ifdef BRP_SUPPORT_LEGACY_METHODS 389 #ifdef BRP_SUPPORT_LEGACY_METHODS 429 #ifdef BRP_SUPPORT_LEGACY_METHODS 430 brp_errcode brp_Iso15_GetSystemInformation(
brp_protocol protocol,
unsigned* LabelStat,
bool* EnICRef,
bool* EnMemSize,
bool* EnAFI,
bool* EnDSFID,
brp_buf* SNR,
unsigned* DSFID,
unsigned* AFI,
unsigned* BlockNum,
unsigned* BlockSize,
unsigned* ICRef,
brp_mempool *mempool);
457 #ifdef BRP_SUPPORT_LEGACY_METHODS 493 #ifdef BRP_SUPPORT_LEGACY_METHODS 494 brp_errcode brp_Iso15_CustomCommand(
brp_protocol protocol,
unsigned Cmd,
unsigned Opt,
unsigned MFC,
unsigned TO,
brp_buf RequestData,
size_t RequestData_len,
unsigned* LabelStat,
brp_buf* ResponseData,
size_t* ResponseData_len,
brp_mempool *mempool);
521 #ifdef BRP_SUPPORT_LEGACY_METHODS 549 #ifdef BRP_SUPPORT_LEGACY_METHODS 554 #ifdef BALTECH_SDK_INTERNAL 565 size_t* LabelData_len;
567 } brp_Iso15_TransparentCmdLegacy_t;
588 #ifdef BRP_SUPPORT_LEGACY_METHODS 589 brp_errcode brp_Iso15_TransparentCmdLegacy(
brp_protocol protocol,
bool EnRxWait,
bool EnCRCRX,
bool EnCRCTX,
unsigned Len,
unsigned Timeout,
brp_buf Data,
unsigned RxWait,
brp_buf* LabelData,
size_t* LabelData_len,
brp_mempool *mempool);
591 brp_errcode brp_Iso15_TransparentCmdLegacy(brp_Iso15_TransparentCmdLegacy_t params);
593 #endif // BALTECH_SDK_INTERNAL 613 #ifdef BRP_SUPPORT_LEGACY_METHODS 647 #ifdef BRP_SUPPORT_LEGACY_METHODS 681 #ifdef BRP_SUPPORT_LEGACY_METHODS
brp_errcode brp_Iso15_WriteSingleBlock(brp_Iso15_WriteSingleBlock_t params)
This command writes a single block to a label.
brp_errcode brp_Iso15_WriteMultipleBlocks(brp_Iso15_WriteMultipleBlocks_t params)
Sends the "WriteMultipleBlocks" to the card to store the data passed in WriteBlocks to the data block...
size_t * BlocksSecData_len
brp_Iso15_GetUIDList_Labels_Entry ** Labels
unsigned ** BlocksSecData
brp_Iso15_WriteMultipleBlocks_WriteBlocks_Entry * WriteBlocks
brp_Iso15_ReadMultipleBlocks_RecvBlocks_Entry ** RecvBlocks
brp_errcode brp_Iso15_GetSystemInformation(brp_Iso15_GetSystemInformation_t params)
This command gets the system information of a VICC.
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.
brp_errcode brp_Iso15_GetParam(brp_Iso15_GetParam_t params)
This command reads the configuration of the reader chip.
brp_Iso15_SetMode_Mode
Communication mode for label addressing.
brp_errcode brp_Iso15_TransparentCmd(brp_Iso15_TransparentCmd_t params)
This command sends a data stream to a label and returns the communication status and the received lab...
brp_errcode brp_Iso15_GetSecurityStatus(brp_Iso15_GetSecurityStatus_t params)
This command retrieves the block security status of a label.
struct brp_mempool_object_t * brp_mempool
mempool handle.
brp_errcode brp_Iso15_LockBlock(brp_Iso15_LockBlock_t params)
This command permanently locks the block with ID BlockID.
size_t SingleBlockData_len
brp_errcode brp_Iso15_LockAFI(brp_Iso15_LockAFI_t params)
This command locks the AFI value permanently into the reader's memory.
brp_errcode brp_Iso15_CustomCommand(brp_Iso15_CustomCommand_t params)
This command executes any ISO 15693 manufacturer proprietary commands, so-called custom-commands.
brp_errcode brp_Iso15_LockDSFID(brp_Iso15_LockDSFID_t params)
This command locks the DSFID value permanently into the reader's memory.
brp_errcode brp_Iso15_GetUIDList(brp_Iso15_GetUIDList_t params)
This command scans for ISO 15693 labels which are in the field of the readers antenna and which are n...
brp_errcode brp_Iso15_StayQuiet(brp_Iso15_StayQuiet_t params)
This command puts a label into the quiet-state.
brp_errcode brp_Iso15_ReadMultipleBlocks(brp_Iso15_ReadMultipleBlocks_t params)
This command reads one or multiple blocks from a label.
brp_errcode brp_Iso15_ReadSingleBlock(brp_Iso15_ReadSingleBlock_t params)
This command reads a single block from a label.
unsigned char * brp_buf
represents a pointer to a protocol data buffer.
brp_errcode brp_Iso15_WriteAFI(brp_Iso15_WriteAFI_t params)
This commands writes the AFI value into the label's memory.
brp_errcode brp_Iso15_SetParam(brp_Iso15_SetParam_t params)
This command configures the reader chip.
brp_errcode brp_Iso15_SetMode(brp_Iso15_SetMode_t params)
This command configures the mode to address a label.
brp_errcode brp_Iso15_WriteDSFID(brp_Iso15_WriteDSFID_t params)
This commands writes the DSFID value into the label's memory.
brp_errcode brp_Iso15_ResetToReady(brp_Iso15_ResetToReady_t params)
This command puts a label into ready-state , according to the VICC state transition diagram from the ...
brp_Iso15_SetMode_Mode Mode
size_t * ResponseData_len