C API for BALTECH SDK

§ brp_Mif_Anticoll()

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 Mif.Select command.

For new applications, theIso14a.Anticoll command should be used instead.

Parameters
[in]protocolused to execute the command
[in]BitCountNumber of bits to be considered in PreSelSer.
[in]PreSelSerPart 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]SnrUnambiguous serial number of selected label.
[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!