简体   繁体   English

智能卡中的 APDU/Response 对之间是否有任何时序规范?

[英]Is there any timing specs between APDU/Response pair in smart card?

Command response pair命令响应对

I couldn't find a clear specification about the period between two consecutive Command/Response Pair (T in the diagram).我找不到关于两个连续命令/响应对(图中的 T)之间的周期的明确说明。

for example, If I had sent a command to the card and received a response, What is the maximum period I can wait before the communication is not valid anymore?例如,如果我向卡发送了一个命令并收到了响应,那么在通信不再有效之前我可以等待的最长时间是多少? I need this because I'm willing to make use of this period to give me some flexibility in my design.我需要这个,因为我愿意利用这段时间在我的设计中给我一些灵活性。

This is the block waiting time (which can be computed from the BWI part of TB3 in the ATR).这是块等待时间(可以从 ATR 中 TB3 的 BWI 部分计算)。 If the card needs more time, it has to send a Waiting Time Extension (abbreviated WTX), before this elapses, which has to be acknowledged by the other side (typically the reader).如果卡需要更多时间,它必须在此时间结束之前发送等待时间扩展(缩写为 WTX),必须由另一方(通常是读卡器)确认。 If the acknowledge is not given both sides assume a communication error.如果未给出确认,则双方假定通信错误。

Note, that FWI and BWI from TA1 as well as the clock supplied to the card influence the time.请注意,来自 TA1 的 FWI 和 BWI 以及提供给卡的时钟会影响时间。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM