大家好,
我现在用CLRC663已经可以正常读写TypeA和TypeB类型的护照等卡了,但是目前想实现实时检测卡离开或者靠近的功能,但是该检测功能不影响我正在读或者写卡的连续操作(例如我正在不断的发apdu指令进行一层层选目录,读写文件过程中,能实时侦测到我在操作的卡是否离开,如果离开,我就利用该功能得知卡的离开而进行一些异常处理.),问题的难点是, 我的apdu指令选好目录以后,该检测功能不能影响我选好了该目录,因为我后续apdu指令是在前面的选目录apdu指令成功后才能正常执行的. 请问LDPC是否符合我的这点要求? 另外我不需要考虑低功耗,是否有其他方法可以实现该功能?
谢谢各位大佬先了!!!
已解决! 转到解答。
LPCD可以检测到是否有卡靠近,但对卡被选中后又拿开的情况没法探测,建议在host controller端设一个timer,应答超时的话就可以判定卡已离开。
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
LPCD可以检测到是否有卡靠近,但对卡被选中后又拿开的情况没法探测,建议在host controller端设一个timer,应答超时的话就可以判定卡已离开。
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------