sim-applet: rename to org.osmocom.IMSIPseudo
diff --git a/sim-applet/Makefile b/sim-applet/Makefile
index 932428f..99a49af 100644
--- a/sim-applet/Makefile
+++ b/sim-applet/Makefile
@@ -1,12 +1,12 @@
SIMTOOLS_DIR = ../../sim-tools
APPLET_AID = 0xd0:0x70:0x02:0xca:0x44:0x90:0x01:0x01
-APPLET_NAME = org.toorcamp.HelloSTK.HelloSTK
+APPLET_NAME = org.osmocom.IMSIPseudo.IMSIPseudo
PACKAGE_AID = 0xd0:0x70:0x02:0xCA:0x44:0x90:0x01
-PACKAGE_NAME = org.toorcamp.HelloSTK
+PACKAGE_NAME = org.osmocom.IMSIPseudo
PACKAGE_VERSION = 1.0
SOURCES = \
- src/org/toorcamp/HelloSTK/HelloSTK.java
+ src/org/osmocom/IMSIPseudo/IMSIPseudo.java
include $(SIMTOOLS_DIR)/javacard/makefiles/applet-project.mk
diff --git a/sim-applet/src/org/toorcamp/HelloSTK/HelloSTK.java b/sim-applet/src/org/osmocom/IMSIPseudo/IMSIPseudo.java
similarity index 91%
rename from sim-applet/src/org/toorcamp/HelloSTK/HelloSTK.java
rename to sim-applet/src/org/osmocom/IMSIPseudo/IMSIPseudo.java
index 6658251..249806b 100755
--- a/sim-applet/src/org/toorcamp/HelloSTK/HelloSTK.java
+++ b/sim-applet/src/org/osmocom/IMSIPseudo/IMSIPseudo.java
@@ -1,4 +1,4 @@
-package org.toorcamp.HelloSTK;
+package org.osmocom.IMSIPseudo;
import javacard.framework.APDU;
import javacard.framework.Applet;
@@ -11,7 +11,7 @@
import sim.toolkit.ToolkitInterface;
import sim.toolkit.ToolkitRegistry;
-public class HelloSTK extends Applet implements ToolkitInterface, ToolkitConstants {
+public class IMSIPseudo extends Applet implements ToolkitInterface, ToolkitConstants {
// DON'T DECLARE USELESS INSTANCE VARIABLES! They get saved to the EEPROM,
// which has a limited number of write cycles.
private byte helloMenuItem;
@@ -19,10 +19,9 @@
static byte[] welcomeMsg = new byte[] { 'W', 'e', 'l', 'c', 'o', 'm', 'e', ' ',
't', 'o', ' ', 'T', 'o', 'o', 'r', 'C',
'a', 'm', 'p', ' ', '2', '0', '1', '2' };
-
static byte[] menuItemText = new byte[] { 'H', 'e', 'l', 'l', 'o', ',', ' ', 'S', 'T', 'K'};
- private HelloSTK() {
+ private IMSIPseudo() {
// This is the interface to the STK applet registry (which is separate
// from the JavaCard applet registry!)
ToolkitRegistry reg = ToolkitRegistry.getEntry();
@@ -35,7 +34,7 @@
// This method is called by the card when the applet is installed. You must
// instantiate your applet and register it here.
public static void install(byte[] bArray, short bOffset, byte bLength) {
- HelloSTK applet = new HelloSTK();
+ IMSIPseudo applet = new IMSIPseudo();
applet.register();
}