After the installation of the tiny applet in a JCOP 3 EMV, the card is not recognized as a NFC tag. This happens due to the Maximum NDEF file size field in the File Control TLV being set to the NDEF message size instead of to the NDEF file size.
The fix would be to use (short)(dataSize + 2) instead of dataSize when initializing the Capability Container in makeCaps.
After the installation of the
tiny
applet in a JCOP 3 EMV, the card is not recognized as a NFC tag. This happens due to the Maximum NDEF file size field in the File Control TLV being set to the NDEF message size instead of to the NDEF file size.The fix would be to use
(short)(dataSize + 2)
instead ofdataSize
when initializing the Capability Container inmakeCaps
.