BALTECH Docs |
C API for BALTECH SDK
|
brp_errcode brp_Mif_Anticoll | ( | brp_protocol | protocol, |
unsigned | BitCount, | ||
brp_buf | PreSelSer, | ||
brp_buf * | Snr, | ||
brp_mempool * | mempool | ||
) |
This command performs an anti-collision sequence.
A number of bits equal to the BitCount value will be used in PreSelSer for preselection of cards in the HF field of the antenna. This means that only cards with a serial number matching the first BitCount bits of PreSelSer will be taken into consideration. The command returns an unambiguous serial number in the Snr value which may be used for the card selection procedure, using the brp_Mif_Select() command.
For new applications, the brp_Iso14a_Anticoll() command should be used instead.
[in] | protocol | used to execute the command |
[in] | BitCount | Number of bits to be considered in PreSelSer. |
[in] | PreSelSer | Part of the card's serial number which will be used for preselection of cards. The amount of considered bits is specified by the BitCount value. |
[out] | Snr | Unambiguous serial number of selected label. |
[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 |