NAME
SpringProxAPI :: Automatic card discovery functions
DESCRIPTION
Those functions work only for readers having version >= 1.44
PORTABILITY
Win32 only for the multi-threaded and event driven part
NAME
SPROX_Find
DESCRIPTION
Automatic discovery of any contactless card in the field
NOTES
This function is only avalaible for readers having version >= 1.44
INPUTS
WORD want_protos : bit-map of contactless family to look for WORD *got_proto : on exit, found contactless family (one bit only is set, or none) BYTE uid[10] : Unique IDentifier of the found card BYTE *uidlen : on input, size of UID on output, actual length of UID
RETURNS
MI_OK : success, one card selected MI_NOTAGERR : no card available in the RF field Other code if internal or communication error has occured.
NAME
SPROX_FindEx
DESCRIPTION
Automatic discovery of any contactless card in the field, returning protocol-related information
NOTES
This function is only avalaible for readers having version >= 1.53
INPUTS
WORD want_protos : bit-map of contactless family to look for WORD *got_proto : on exit, found contactless family (one bit only is set, or none) BYTE uid[10] : Unique IDentifier of the found card BYTE *uidlen : on input, size of UID on output, actual length of UID BYTE info[32] : Protocol-related information BYTE *infolen : on input, size of info on output, actual length of info
RETURNS
MI_OK : success, one card selected MI_NOTAGERR : no card available in the RF field Other code if internal or communication error has occured. DETAILS The 'info' buffer returns data dependant on the card's protocol - ISO 14443 A cards : byte 0 : ATQ (LSB) byte 1 : ATQ (MSB) byte 2 : SAK - ISO 14443 B cards : info is the ATQB (short ATQ on 11 bytes, or extended ATQB on 12 bytes if both the reader and the card support it) - Calypso cards running the Innovatron protocol : REPGEN - other protocols : no protocol-related data, infolen is set to 0