Topic: How do know when a card has left the field?
The scenario is a smartcard is used with a tapping action on a reader, we want to wait until the card has left the field before proceeding with a further transaction, (ie waiting for a new card to enter the field).
With the WinSCard API you can do this by calling SCardGetStatusChange and checking for SCARD_STATE_PRESENT.
The API nfc_reader_list_passive() will tell you when a card has entered the field and go into the anti-collision and identification.
How do you wait until that card has left the field?