Skip to Main Content

Java Card

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Using P1 P2 issue

843851Sep 1 2008 — edited Sep 2 2008
Hi everyone,


Im developing an app that holds an array greater than 256 bytes, as i keep failing using the extended LC notation (using 3 bytes to send the size) i made 2 methods on the card (write and read) and i thought i could use P1 to send the index and P2 to send the number of bytes to read/write...

But for some reason when i try to send a P1 greater than 127 i get an 6F00 exception =/ and this isnt an limitation of the array inside tthe card cause if i send like 20 bytes to write on index 127 it goes just fine but if i ask the app to write 4 bytes in index 128 it raises the exception!


thxs and sorry bad inglesh =/ i hope someone knows what is going on here... for now i will try to work on a way to use the P1 P2 using only values 0 - 127
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 30 2008
Added on Sep 1 2008
2 comments
471 views