C API for BALTECH SDK
epcuid.h
Go to the documentation of this file.
1 
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)
17 
20 #define BRP_EpcUid_ErrHf BRP_ERR_STATUS(0x2200, 0x04)
21 
24 #define BRP_EpcUid_ErrCom BRP_ERR_STATUS(0x2200, 0x10)
25 
28 #define BRP_EpcUid_ErrCmd BRP_ERR_STATUS(0x2200, 0x20)
29 
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);
66 brp_errcode brp_EpcUid_UidWrite(brp_protocol protocol, bool EPC, unsigned BlockAdr, brp_buf BlockData, size_t BlockData_len);
78 brp_errcode brp_EpcUid_UidDestroy(brp_protocol protocol, brp_buf EpcUidData, size_t EpcUidData_len, brp_buf DestroyCode, size_t DestroyCode_len);
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);
119 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);
120 #endif
121 
unsigned int brp_errcode
This type is used library-wide for passing error codes in the return value of functions.
Definition: errorcodes.h:23
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.
Definition: protocol.h:34
struct brp_mempool_object_t * brp_mempool
mempool handle.
Definition: mempool.h:27
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.
Definition: typedefs.h:2339
unsigned char * brp_buf
represents a pointer to a protocol data buffer.
Definition: common.h:61
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.
Definition: typedefs.h:2361