Home  Support  Documentation of the APIs

SpringProx API

sprox_find.c

[Modules] Find

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

[Functions] SPROX_Find

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.  

[Functions] SPROX_FindEx

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.  

Generated from sprox_find.c on Tue Jan 24 12:33:35 2012