开发者

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

开发者 https://www.devze.com 2023-03-04 12:23 出处:网络
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 d

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

精彩评论

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