开发者

Updating binary data on a smartcard on an offset higher than 32767

Can anyone help me with the layout of the data field in an Odd INS UPDATE BINARY command? Specification tells "'54' '02' {Offset data object in file} || '5开发者_运维百科3' L53 {Discretionary data object}". On all my tries I get Status Word result '6700', which is "Wrong length: no further indication". Please provide an example if possible. Thanks in advance.


I found the issue. The "||" does not mean OR. So the data object of the Odd INS UPDATE BINARY shoud be "54 02 {any offset in two bytes} 53 01 FF". This update the data at the offset to FF.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜