Hello everybody,

I Try to run a demo application I found in the OCF manual but I have some
trouble.
I'm using the package "com.ibm.opencard.terminal.pcsc10" and for the ATR
string they use a byte[].  When the higher nibble of a byte of my ATR string
is higher then 7, I get garbage.  I think because of the fact that the last
bit is used for the sign ?

For example : ATR = 3b 2a 00 80 .....
Becomes : 0x3b 0x2a 0x00 0xffffff80 ...

Can somebody help me ?

Best regards,
Wim Demeulenaere

Wim Demeulenaere
Software Engineer
Keyware, Technologies Division - "Identifying the World"
Flanders Language Valley 43, 8900 Ieper, Belgium
Phone: +32 (2) 704 44 00 - Fax: +32 (57) 23.03.01
[EMAIL PROTECTED]
www.keyware.com




---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe 
! in the body.

Reply via email to