Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 268 by
manu.mir...@gmail.com: nfc_emulate_target target release
priority over timeout
http://code.google.com/p/libnfc/issues/detail?id=268
nfc_emulate_target blocks indefinitely when you set timeout to 0. It only
continues when an error occurs or when function ends (i.e. target is
released). On the other hand, when you set a timeout, nfc_emulate_target
goes on no matter there is a target or not.
Is it possible to code something in order that, if it detects a target, the
timeout value becomes 0 so emulate_target only goes on when the user
releases the target?
Why am I using a timeout value?
I'm emulating a tag type 4 in order to be read by Android devices but I
also want to be able to read mifare tags so I'm alternating between
nfc_emulate_target and nfc_initiator_poll_target with timeout set.
If there is an alternative way (tag emulation in the smartphone is not
possible because I want to cover the widest range) to cover this case I'm
open.
thanks,
blck
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings