[英]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.