- flag = rdrhandle:isEmpty()
- flag = rdrhandle:hasCard()
- flag = rdrhandle:hasLockedCard()
SYNOPSIS
DESCRIPTION
The function isEmpty() checks if there is no card inside the reader. The function hasCard() checks if a card is fully inserted. The last function, hasLockedCard() checks if a card is fully inserted and connected to the chip contact.
If there is a card in the reader that is only halfway in, then isEmpty() returns false, while hasCard() and hasLockedCard() also return false.
RETURN VALUE
All function return a boolean true/false value.