reading multiple cards/tags using smartcard.rb on ACR122U

点点圈 提交于 2019-12-08 12:15:56

问题


I am using the smartcard ruby gem to read nfc cards on an ACR122U nfc reader.

I understand the ACR122U can in principle read multiple tags, but it's by default using an "anti-collision" algorithm to only come back with one.

Any ideas how to read multiple cards in the reader using the smartcard gem?


回答1:


This might be a misunderstanding. You communicate always with one tag only, there is no possibility for a broadcast. Anticollision is the process, to select the the correct one of several tags in the field at the same time. Of course, after you are finished with one tag, you can deselect it and chose the next one to address.



来源:https://stackoverflow.com/questions/37755043/reading-multiple-cards-tags-using-smartcard-rb-on-acr122u

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!