BALTECH Docs |
C API for BALTECH SDK
|
brp_errcode brp_Iso15_GetUIDList | ( | brp_protocol | protocol, |
bool | EnAFI, | ||
bool | NextBlock, | ||
bool | AutoQuiet, | ||
bool | EnDSFID, | ||
bool | En16Slots, | ||
unsigned | AFI, | ||
unsigned * | More, | ||
brp_Iso15_GetUIDList_Labels_Entry ** | Labels, | ||
size_t * | Labels_len, | ||
brp_mempool * | mempool | ||
) |
This command scans for ISO 15693 labels which are in the field of the readers antenna and which are not in quiet-state.
The list of UIDs is returned in the response frame. Furthermore, the DSFID is send back if the DSFID flag in Mode is set.
If the More response value is different from zero, there are more tags to scan, and Iso15.GetUIDList has to be called again with the NextBlock flag set to get the rest of the labels which have not been transferred within this frame.
To optimize the label scanning time, the reader should be told if there are many labels (more than 2 or 3) in the antenna's field. In this case, the En16Slots flag should be set. This bit will tell Iso15.GetUIDList to send the inventory with 16 time slots instead of one.
Furthermore the Autoquiet flag can be set to put every label into quiet- state after a successful scan. This will result in a kind of incremental behaviour from Iso15.GetUIDList since after the first successful Iso15.GetUIDList call, all following Iso15.GetUIDList calls will only return labels which came into the field of the antenna after the last call.
[in] | protocol | used to execute the command |
[in] | EnAFI | EnAFI (bool): AFI byte shall be transmitted |
[in] | NextBlock | NextBlock (bool): Scan for additional labels in HF field |
[in] | AutoQuiet | AutoQuiet (bool): Enable auto-quiet mode |
[in] | EnDSFID | DSFID (bool): Enable DSFID see response |
[in] | En16Slots | 16Slots (bool): Enable 16 time-slots |
[in] | AFI | Application Family Identifier. EnAFI flag in Mode Byte has to be set, if AFI shall be used. |
[out] | More | If set, then more than Num labels are in the field of antenna. |
[out] | Labels | |
[out] | Labels_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 |