Hello,
frankmpunkt wrote:I am happy to see the ongoing development of libnfc, e.g. polling for targets without making an active connection.
Thanks for this comment 
Unfortunatly I can't contribute as I except (lack of time) and the polling method doesn't support each card type (and I haven't such cards) but only ISO 14443A. Its documentation is also missing, even this function is easy to understand...
frankmpunkt wrote:Would it also be possible to check if an active connection made with nfc_initiator_select_tag is still valid? So far i can see no possibility to check if the target has been moved out of the field other than sending data to the tag.
AFAIK, there is no other way to know if a target is still here than sending some dummy command to act as "ping".
There is another similar topic : http://www.libnfc.org/community/topic/3
the-field/
I agree that can be useful to have such function... maybe we could wrote a simple function that does the "ping" and returns the result...
PS: As I can see, you have done some interesting work using libnfc (IFD Handler for libnfc Devices¹) and your suggests or bug report are usefull (ATS of ISO14443-A too long?²). Thanks for that, and feel free to contribute to libnfc.
[1] http://www.libnfc.org/community/topic/1
c-devices/
[2] http://www.libnfc.org/community/topic/1
-too-long/
Romuald Conty