11 #ifndef __BRP_BALTECH_API_CMDS_EPCUID_H__ 12 #define __BRP_BALTECH_API_CMDS_EPCUID_H__ 13 #include "../typedefs.h" 18 #define BRP_EpcUid_ErrNoTag BRP_ERR_STATUS(0x2200, 0x01) 23 #define BRP_EpcUid_ErrHf BRP_ERR_STATUS(0x2200, 0x04) 28 #define BRP_EpcUid_ErrCom BRP_ERR_STATUS(0x2200, 0x10) 33 #define BRP_EpcUid_ErrCmd BRP_ERR_STATUS(0x2200, 0x20) 59 brp_errcode brp_EpcUid_UidReplyRound(
brp_protocol protocol,
bool EPC,
bool FixSlot,
unsigned SlotCoding,
unsigned MaskLength,
brp_buf SelectionMask,
size_t SelectionMask_len,
unsigned HashValue,
unsigned* MemStatusFlag,
unsigned* LabelNr,
unsigned* LabelLength,
brp_buf* LabelData,
size_t* LabelData_len,
brp_mempool *mempool);
114 brp_errcode brp_EpcUid_EpcSelect(
brp_protocol protocol,
unsigned Truncate,
unsigned Target,
unsigned Action,
brp_EpcUid_EpcSelect_MemBank MemBank,
unsigned MaskPointerLength,
brp_buf MaskPointer,
size_t MaskPointer_len,
unsigned MaskLength,
brp_buf SelectionMask,
size_t SelectionMask_len);
unsigned int brp_errcode
This type is used library-wide for passing error codes in the return value of functions.
brp_errcode brp_EpcUid_UidDestroy(brp_protocol protocol, brp_buf EpcUidData, size_t EpcUidData_len, brp_buf DestroyCode, size_t DestroyCode_len)
brp_errcode brp_EpcUid_EpcSelect(brp_protocol protocol, unsigned Truncate, unsigned Target, unsigned Action, brp_EpcUid_EpcSelect_MemBank MemBank, unsigned MaskPointerLength, brp_buf MaskPointer, size_t MaskPointer_len, unsigned MaskLength, brp_buf SelectionMask, size_t SelectionMask_len)
brp_errcode brp_EpcUid_UidWrite(brp_protocol protocol, bool EPC, unsigned BlockAdr, brp_buf BlockData, size_t BlockData_len)
struct brp_protocol_t * brp_protocol
This is a generic handle of a protocol.
struct brp_mempool_object_t * brp_mempool
mempool handle.
brp_errcode brp_EpcUid_EpcSetMode(brp_protocol protocol, unsigned DR848, brp_EpcUid_EpcSetMode_Coding Coding)
brp_errcode brp_EpcUid_EpcInventory(brp_protocol protocol, unsigned Sel, unsigned Session, unsigned SlotCoding, unsigned *MemStatusFlag, unsigned *LabelNr, brp_buf *LabelData, size_t *LabelData_len, brp_mempool *mempool)
brp_EpcUid_EpcSetMode_Coding
unsigned char * brp_buf
represents a pointer to a protocol data buffer.
brp_errcode brp_EpcUid_UidReplyRound(brp_protocol protocol, bool EPC, bool FixSlot, unsigned SlotCoding, unsigned MaskLength, brp_buf SelectionMask, size_t SelectionMask_len, unsigned HashValue, unsigned *MemStatusFlag, unsigned *LabelNr, unsigned *LabelLength, brp_buf *LabelData, size_t *LabelData_len, brp_mempool *mempool)
brp_EpcUid_EpcSelect_MemBank