Page 1 of 1

How to send a script file in JCIDE

Posted: Wed Sep 09, 2015 3:35 am
by product
When you debug your applet in JCIDE, you can send multi-APDUs together to your applet by a script file.

1. Write your own script file
Every APDU command is ended up with semicolon. The format of script command is as follows.

Code: Select all

00A404000611223344556600;
0001223300;
0001050602112200;
00025566010100;


2. Send the script file to your applet
Click "Debug" button, then send your script file by "/script" command in Debug Shell, as shown in the below GIF images.
For example,

Code: Select all

/script c:/workspace/test.scr



Note: You can get the the applet demo and the script file from the attachment.

Re: How to send a script file in JCIDE

Posted: Tue Dec 01, 2015 1:36 am
by whitexiao
The JCIDE supported script format is APDU+ ";"?

Re: How to send a script file in JCIDE

Posted: Sat Dec 05, 2015 4:09 am
by rainly
whitexiao wrote:The JCIDE supported script format is APDU+ ";"?



I have already tried, the script format is APDU+ ";" , and the JCIDE and ApduTool supported script format is the same.

Re: How to send a script file in JCIDE

Posted: Tue Jan 12, 2016 5:03 am
by jcoslo
Some Error, I'm try....

Connect CL port failed .Please disconnect JAVACOS Virtual Contact Reader 0 first

Connect CL port failed .Please disconnect JAVACOS Virtual Contact Reader 0 first

.... ... ...

<< 00 00 Jcvm is not connected

Disconnect CB port
You can send apdu with PC/SC interface now

Re: How to send a script file in JCIDE

Posted: Tue Jan 12, 2016 5:23 am
by product
jcoslo wrote:Some Error, I'm try....

Connect CL port failed .Please disconnect JAVACOS Virtual Contact Reader 0 first

Connect CL port failed .Please disconnect JAVACOS Virtual Contact Reader 0 first

.... ... ...

<< 00 00 Jcvm is not connected

Disconnect CB port
You can send apdu with PC/SC interface now


Hi,

That is just because JCIDE doesn't support T=1 protocol at present. We will add this function in the next version. Stay tuned!