C API for BALTECH SDK

§ brp_VHL_IsSelected()

brp_errcode brp_VHL_IsSelected ( brp_protocol  protocol)

This command checks if the card/label selected by the last execution of the VHL.Select command is still in the HF field of the antenna. If the card/label has been taken away from the reader and put back on it after the last execution of VHL.Select, or if VHL.Select has not been called after a card has been put on the reader, this command will return the VHL.ErrCardNotSelected status code.

For 125 kHz cards, a retry is automatically performed in case of a misread to improve reliability. Please note that this may increase reaction time for 125 kHz cards to a maximum of 100 ms.

Parameters
[in]protocolused to execute the command