JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html

How to send a script file in JCIDE

JCIDE is an Integrated Development Environment designed specifically for the Java Card programming language.

Moderators: product, kuafu

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

How to send a script file in JCIDE

Post by product » Wed Sep 09, 2015 3:35 am

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.
You do not have the required permissions to view the files attached to this post. Please login first.

whitexiao
Posts: 20
Joined: Wed Sep 09, 2015 8:45 am
Points :128
Contact:

Re: How to send a script file in JCIDE

Post by whitexiao » Tue Dec 01, 2015 1:36 am

The JCIDE supported script format is APDU+ ";"?

User avatar
rainly
Posts: 11
Joined: Tue Jun 09, 2015 4:38 am
Points :18
Contact:

Re: How to send a script file in JCIDE

Post by rainly » Sat Dec 05, 2015 4:09 am

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.

jcoslo
Posts: 1
Joined: Mon Jan 11, 2016 11:49 pm
Points :14
Contact:

Re: How to send a script file in JCIDE

Post by jcoslo » Tue Jan 12, 2016 5:03 am

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

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

Re: How to send a script file in JCIDE

Post by product » Tue Jan 12, 2016 5:23 am

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!

peterpan
Posts: 1
Joined: Fri Aug 30, 2024 4:05 am
Points :12
Contact:

Re: How to send a script file in JCIDE

Post by peterpan » Fri Aug 30, 2024 4:07 am

It's amazing! Your article is very good and very useful to us! Thank you so much for taking the time to share with us! Have a good time with uno online free.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 0 guests

JavaCard OS : Disclaimer