BALTECH SDK wrapper functions reference

§ brp_Iso14a_RequestVasup()

brp_errcode brp_Iso14a_RequestVasup ( brp_Iso14a_RequestVasup_t  params)

This commands scans for ISO 14443-3 (Type A) compliant PICCs in the field of the antenna and enhances polling with the VASUP-A command (required for ECP support).

If the ReqAll parameter flag is set, both PICCs in idle state and PICCs in halt state will be switched to ready state. If this flag is not set, only PICCs in idle state will be switched to ready state.

Only PICCs in ready state may be selected via the brp_Iso14a_Select() command.

This command covers the commands REQA and WAKE-UP as specified by the ISO 14443-3 standard.

Parameters
[in]paramsStruct with the following fields:
  • protocol used to execute the command
  • ReqAll (in) If enabled, all PICCs (even those in halt state) will be requested.
  • FormatVersion (in) Based on the format version, the VASUP frame definition is given in the following parameters. Currently, only format version 2 is supported.
  • VasSupported (in) VAS is supported.
  • AuthUserRequested (in) Requests user authentication.
  • TerminalTypeDataLength (in) Length of terminal type data field (0-15)
  • TerminalType (in) Terminal type (MSB) and subtype (LSB) values defined by Apple
  • TCI (in) Terminal Capabilities Identifier (TCI) or terminal type data
  • TCI_len (in) Length of TCI (in bytes).
  • ATQA (out) Answer to request of type A (ATQA), according to the ISO 14443-3 standard.
  • Collision (out) True if a collision has been detected.
  • mempool (in) 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