Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

script file format for pyapdutool.

JCIDE related questions and answers.

Moderators: product, kuafu

Squli
Posts: 13
Joined: Wed Sep 14, 2016 4:06 am
Points :156
Contact:

script file format for pyapdutool.

Post by Squli » Thu Oct 13, 2016 5:16 am

I want to make a script file and send it via pyApdutool. But I don't know the script file format for pyApdutool.
Is there any document that can help me ?

User avatar
product
Posts: 106
Joined: Wed May 20, 2015 2:04 am
Points :658
Contact:

Re: script file format for pyapdutool.

Post by product » Thu Oct 13, 2016 11:45 pm

Every APDU command is ended up with semicolon. The format of script command is as follows.

Code: Select all

00A404000611223344556600;
0001223300;
0001050602112200;


Here is an example, including checking SW1,SW2 correct or error upon the expected value.

Code: Select all

//check SW1 SW2 and data
//expect: 6F5C8408A000000003000000A550734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B06092A864886FC6B040255650B06092B8510864864020103660C060A2B060104012A026E01029F6501FF9000
00A40400;
//expect: 9000
00A40400;
//only check SW1 SW2
//expect: 6A82
00A40400051122334455;
//expect: 6A82
00A40400051122334455;

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 29 guests

JavaCard OS : Disclaimer