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

Sending more that 255 bytes of payload

JavaCard Applet Development Related Questions and Answers.
LozCodes
Posts: 11
Joined: Thu Oct 29, 2020 9:49 am
Points :186
Contact:

Sending more that 255 bytes of payload

Post by LozCodes » Thu May 27, 2021 7:18 am

Hi there,

I have an applet where I have implemented extended length and the applet is able to send extended length response APDUs - however when I try and send a command APDU with a payload of more than 255 bytes I get the message 'APDU error: The command apdu is not correct.'

My understanding is that if the applet implements extended length then it can send or receive APDUs of 32767 bytes - I am trying to send 527 bytes so no where near the limit. This does happen when I try and send any number of bytes over 255 though.

Any help as to why this is happening would be appreciated.

Who is online

Users browsing this forum: No registered users and 34 guests

JavaCard OS : Disclaimer