OpenJavaCard/openjavacard-ndef

Installed but no ndef data [help]

PixsaOJ opened this issue · 5 comments

Please help.

I am writing cap files successfully. Both pre-built and the one I made.

I know Tag writer app had issues with this applet, but I have no indication in other apps that my NFC card supports ndef.

I do not know how to generate the correct AID for this. Tried: 5A47B1C6ED8E5D7656B1E070 for cap and 5A47B1C6ED8E5D7656B1E07001 for applet.

Can somebody help me? Maybe the problem is wrong AID that does not support NDEF.

Have issues with both full and tiny example.

I tried D27600012401 and random 6 bytes. Nothing works.

java -jar gp.jar \
        -create 9f6bfef7f4c2 \
        -params 810200F182020800 \
        -install "build/javacard/openjavacard-ndef-full.cap" \

used -create and -applet

@promovicz sorry for tagging you. This is an inactive repository, but I really need urgent help. Hopefully you don't mind.

https://stackoverflow.com/questions/66951988/nfc-4atag-iso-dep-apdu-and-ndef

Thanks for your reply.

So what does this imply? Should I use e1 03 as CAP aid and D27600012401 as applet aid?

e103 is short, I tried CAP ID D27600012400 and APPLET ID D27600012401 but got error while installing:

CAP loaded
INSTALL [for install and make selectable] failed: 0x6984

output of gp -l

➜  openjavacard-ndef git:(master) ✗ gp -l
ISD: A000000151000000 (OP_READY)
     Parent:  A000000151000000
     From:    A0000001515350
     Privs:   SecurityDomain, CardLock, CardTerminate, CardReset, CVMManagement, TrustedPath, AuthorizedManagement, TokenVerification, GlobalDelete, GlobalLock, GlobalRegistry, FinalApplication, ReceiptGeneration

PKG: A0000001515350 (LOADED)
     Parent:  A000000151000000
     Version: -1.-1
     Applet:  A000000151535041

PKG: D276000085304A434F9000 (LOADED)
     Parent:  A000000151000000
     Version: 1.0
     Applet:  D276000085304A434F900001

PKG: D27600012400 (LOADED)
     Parent:  A000000151000000
     Version: 3.0
     Applet:  D27600012401