JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
Change the Card ATR and Set T=0 or T=1
Change the Card ATR and Set T=0 or T=1
Hi,
How I can set and code the ATR value and the communication protocol T=1 or T=0 within the applet code.
Thanks!
How I can set and code the ATR value and the communication protocol T=1 or T=0 within the applet code.
Thanks!
- UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3055
- Contact:
Re: Change the Card ATR and Set T=0 or T=1
You can not set ATR value from applet.
You can only change ATR history bytes use GPSystem.setATRHistBytes() and you must has privilege to call this method;
I want to ask you, the ATR is the commnication parameters of card, it usually have no relation with applet execution, why you have this requirement?
You can only change ATR history bytes use GPSystem.setATRHistBytes() and you must has privilege to call this method;
I want to ask you, the ATR is the commnication parameters of card, it usually have no relation with applet execution, why you have this requirement?
sense and simplicity
Re: Change the Card ATR and Set T=0 or T=1
Hi,
Thanks for your kind reply,
The reason that I want to change the ATR, because I have some program to send APDUs which have some difficulty to start up when the ATR is too short ex. 3B 80 80 01 01 and I have the same problem before with other card simulators and changing the ATR solve the issue.
can you give an example to set the ATR history? also it is possible to change the simulator or the card from T=1 to T=0?
Thanks!
Thanks for your kind reply,
The reason that I want to change the ATR, because I have some program to send APDUs which have some difficulty to start up when the ATR is too short ex. 3B 80 80 01 01 and I have the same problem before with other card simulators and changing the ATR solve the issue.
can you give an example to set the ATR history? also it is possible to change the simulator or the card from T=1 to T=0?
Thanks!
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 95 guests