BALTECH Docs |
C API for BALTECH SDK
|
brp_errcode brp_Iso14b_Request | ( | brp_protocol | protocol, |
bool | ReqAll, | ||
brp_Iso14b_Request_TimeSlots | TimeSlots, | ||
unsigned | AFI, | ||
brp_Iso14b_Request_ValueList_Entry ** | ValueList, | ||
size_t * | ValueList_len, | ||
brp_mempool * | mempool | ||
) |
Scan for ISO 14443 (Type B) compliant PICCs in the field of the antenna.
If a collision occurred in at least one time slot (signaled by status code ISO14B_COLLISION_ERR), this command needs to be called again with an increased number of time slots so that more PICCs can be detected.
The ISO14B_MEM_ERR status code signals that more PICCs are available than can be handled with the buffer provided by the reader for BRP communication. The brp_Iso14b_Halt() command can be used to disable undesired PICCs before calling the Iso14b.Request command again.
PICCs that have been returned by this command may subsequently be switched to the active state via the brp_Iso14b_Attrib() command.
[in] | protocol | used to execute the command |
[in] | ReqAll | If set, all PICCs (even those in halt state) will be requested. |
[in] | TimeSlots | Number of time slots which should be used for requesting PICCs. The more PICCs are expected, the higher this value should be. In one time slot, at most one PICC may answer. |
[in] | AFI | Application Family Id (AFI) Possible values: 0x00 .. 0x8F The high nibble specifies the application family , the low nibble the sub- family. Use 0x00 when scanning operations should detect all PICCs regardless of their AFI. Possible values for the application family: * 0x0: all * 0x1: transport * 0x2: financial * 0x3: identification * 0x4: telecommunication * 0x5: medical * 0x6: multimedia * 0x7: gaming * 0x8: data storage * 0x9-0xF: rfu Possible values for sub-family: * 0x0: all sub-families * 0x1 .. 0xF: specified sub-family |
[out] | ValueList | |
[out] | ValueList_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 |