10 #ifndef __BRP_BALTECH_API_CMDS_EPCUID_H__ 11 #define __BRP_BALTECH_API_CMDS_EPCUID_H__ 12 #include "../typedefs.h" 16 #define BRP_EpcUid_ErrNoTag BRP_ERR_STATUS(0x2200, 0x01) 20 #define BRP_EpcUid_ErrHf BRP_ERR_STATUS(0x2200, 0x04) 24 #define BRP_EpcUid_ErrCom BRP_ERR_STATUS(0x2200, 0x10) 28 #define BRP_EpcUid_ErrCmd BRP_ERR_STATUS(0x2200, 0x20) 53 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);
104 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)
This command will render the label permanently unable to give any replies.
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)
This command selects a particular tag population.
brp_errcode brp_EpcUid_UidWrite(brp_protocol protocol, bool EPC, unsigned BlockAdr, brp_buf BlockData, size_t BlockData_len)
This command writes data Bytes to a label.
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)
This command specifies HF 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)
This command executes an inventory command.
brp_EpcUid_EpcSetMode_Coding
Specifies modulation type.
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)
This command scans for labels in the field using time slots.
brp_EpcUid_EpcSelect_MemBank
Specifies memory bank.