BALTECH SDK wrapper functions reference

§ brp_VHL_GetCardType()

brp_errcode brp_VHL_GetCardType ( brp_VHL_GetCardType_t  params)

This command returns the card type of the currently selected card.

If no card is selected or the last selected card is no longer available in the antenna field, the reader will return BRP_VHL_ErrCardNotSelected.

Parameters
[in]paramsStruct with the following fields:
  • protocol used to execute the command
  • SelectedCardType (out) The type of the selected card. Since there are no reliable identification standards amongst card manufacturers, we use a heuristic that examines the UID, its length, and other information as documented here. Due to the lack of standards, we cannot guarantee the card type is always identified correctly.