C API for BALTECH SDK

§ brp_EpcUid_UidReplyRound()

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. All labels with consistent data according to SelectionMask bits are responding in time slots. If the FixSlot flag is set, a successfully recognized label (CRC OK) will be set to the FIXED SLOT state. All successfully recognized label data will be transferred to the host. If the internal reader buffer is to small, MemStatusFlag will be set.

Parameters
[in]protocolused to execute the command
[in]EPCEPC if true , UID if false.
[in]FixSlotLabel will be fixed to F slot if true.
[in]SlotCoding0: 1 slot 1, 3, 7, 0xF, 0x1F..0xFF: (x+1) * 2 slots
[in]MaskLengthBit length of SelectionMask parameter.
[in]SelectionMaskPresent if MaskLength > 0. Only labels with consistent data are responding.
[in]SelectionMask_len
[in]HashValueUsed by EPC labels to calculate random slot position.
[out]MemStatusFlagReturns 1 if reader buffer is to small for all label data, else 0.
[out]LabelNrNumber of successfully recognized labels.
[out]LabelLengthLength of a label reply in Bytes.
[out]LabelDataLabel data (length: LabelNr x LabelLength).
[out]LabelData_len
[in]mempoolis used to store response data. Maybe NULL to use an internal mempool, in this case the data is only available until another command uses the internal mempool
Deprecated:
This command may be removed in future!