简体   繁体   English

如何在iso14443a初始化和防冲突中对RATS命令进行编程

[英]How to program the RATS command in iso14443a initialization and anticollision

please i will like to know how to change some bytes in the Request for answer select command (RATS) that the reader sends to a card during initialization phase. 请我想知道如何更改读取器在初始化阶段发送给卡的“应答选择命令”(RATS)中的某些字节。 At the moment my NFC reader acr122u send an FSD byte of 5 in the RATS command, and after some research i found out that FSD with a value of 5 means that the terminal only accepts frame sizes with a max size of 64bits and i need to send more than that in one apdu. 目前,我的NFC读取器acr122u在RATS命令中发送了一个FSD字节5,经过一番研究,我发现FSD的值为5意味着终端仅接受最大64位的帧大小,我需要在一个apdu中发送更多。 Could someone please help 有人可以帮忙吗

The ACR122U is built with the NXP PN532 NFC controller so you're limited to what functions it supports. ACR122U内置有NXP PN532 NFC控制器,因此您仅限于支持的功能。 From looking through the PN532 User Manual, it doesn't seem to offer configuration of the RATS explicitly. 通过浏览PN532用户手册,它似乎没有明确提供RATS的配置。 The SetParameter command only lets you enable/disable Automatic RATS generation but not tweak it's bits. SetParameter命令仅允许您启用/禁用自动RATS生成,而不能调整其位。 I also found that the Manual doesn't refer to FSD as the NFC Forum spec does, but as FSL: 我还发现《手册》不像NFC论坛规范那样指FSD,而是FSL:

The FSL parameter of PSL_REQ is fixed to 0x00, meaning that the maximum length of the Transport protocol field is 64bytes. PSL_REQ的FSL参数固定为0x00,这意味着传输协议字段的最大长度为64字节。

You might try using a newer product like the ACR1252 or ACR35 that will likely have a newer, more customizable NFC controller. 您可以尝试使用较新的产品,例如ACR1252或ACR35,这些产品可能具有更新的,更可定制的NFC控制器。

(Assuming you are developing your own PICC): (假设您正在开发自己的PICC):

You have to implement the chaining feature as described in the ISO/IEC 14443-4 (chapter 7.5.2). 您必须按照ISO / IEC 14443-4(第7.5.2章)中所述实现链接功能

(If I recall correctly, you need to transmit your response data in multiple I-blocks and set the chaining bit for all, but the last block. These I-blocks are handled in the same way as any other I-block , ie acknowledge. re-transmitting, etc. takes place). (如果我没记错的话,您需要在多个I块中传输响应数据,并为除最后一个块之外的所有I块设置链接位 。这些I块的处理方式与其他I块相同 ,即确认。重新传输等)。

There is an example in the ISO/IEC 14443-4. ISO / IEC 14443-4中有一个示例。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 支持NFC的Android手机和ISO / IEC 14443-4智能卡之间的6A82 APDU通信问题 - 6A82 APDU communication issue between NFC enabled Android phone and ISO/IEC 14443-4 Smart Card 从PC与ACR1255U-J1通信并发送ISO 14443 - Communicating with ACR1255U-J1 from PC and sending ISO 14443 查找有关带 PCSC 读卡器的 ISO-14443 卡的信息(制造商、卡类型...) - Finding info (manufacturer, card type...) about a ISO-14443 card with PCSC reader 如何替换命令模式的静态元素初始化? - how to replace static elements initialization for Command pattern? 如何在Java中初始化字符串而又不会导致初始化在程序中引起问题? - How to initialize a string in java without causing the initialization to cause problems in the program? 扫描仪初始化时Java程序崩溃 - java program crashes at Scanner initialization 在“ while循环”中初始化或退出程序 - initialization in “while loop” or quit the program 通过初始化加速程序 - Speeding up a program through initialization 如何在命令提示符下运行Java程序 - how to run a java program in command prompt 如何在java程序中给出命令行选项? - How to give command line option in java program?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM