BALTECH Docs |
C API for BALTECH SDK
|
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.
[in] | protocol | used to execute the command |
[in] | EPC | EPC if true , UID if false. |
[in] | FixSlot | Label will be fixed to F slot if true. |
[in] | SlotCoding | 0: 1 slot 1, 3, 7, 0xF, 0x1F..0xFF: (x+1) * 2 slots |
[in] | MaskLength | Bit length of SelectionMask parameter. |
[in] | SelectionMask | Present if MaskLength > 0. Only labels with consistent data are responding. |
[in] | SelectionMask_len | |
[in] | HashValue | Used by EPC labels to calculate random slot position. |
[out] | MemStatusFlag | Returns 1 if reader buffer is to small for all label data, else 0. |
[out] | LabelNr | Number of successfully recognized labels. |
[out] | LabelLength | Length of a label reply in Bytes. |
[out] | LabelData | Label data (length: LabelNr x LabelLength). |
[out] | LabelData_len | |
[in] | mempool | is 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 |