Skip to content

Commit f7679e4

Browse files
authored
README: use -create instead of -applet
The README had incorrect instructions for the installation of the applet, using the argument `-applet` instead of `-create`. @martinpaljak [notes][1] the difference between the two: > `--create` specifies the instance AID and that needs to be the NFC > forum defined one. [...] `--applet`, when used with `--install` > selects a module from multi-applet package (or the module after a > standalone `--load`). This change simply changes the instances of `-applet` to `-create` to ensure that the installed applet is given the correct AID. [1]: OpenJavaCard#4 (comment)
1 parent 6824f2d commit f7679e4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,23 +116,23 @@ opensource tools such as "gp.jar" and "gpj.jar" you can do it like this:
116116

117117
```
118118
user@host:~$ java -jar gp.jar \
119-
-applet D2760000850101 \
119+
-create D2760000850101 \
120120
-params 100BD101075402656E54657374 \
121121
-install build/javacard/javacard-ndef-tiny.cap
122122
(Install tiny variant with static text "Test")
123123
```
124124

125125
```
126126
user@host:~$ java -jar gp.jar \
127-
-applet D2760000850101 \
127+
-create D2760000850101 \
128128
-params 3FABCDABCD \
129129
-install build/javacard/javacard-ndef-stub.cap
130130
(Install stub variant using backend in app ABCDABCD service 0x3F)
131131
```
132132

133133
```
134134
user@host:~$ java -jar gp.jar \
135-
-applet D2760000850101 \
135+
-create D2760000850101 \
136136
-params 810200F182020800 \
137137
-install build/javacard/javacard-ndef-full.cap
138138
(Install full variant as a write-once tag with 2048 bytes of memory)

0 commit comments

Comments
 (0)