Mobile Identity routines
return result of user interaction prompts
tweak indent in switch statement
more aggressively set private final on class vars
add showMsgAndWaitKey() to keep decoded IMSI on display
properly read IMSI as Mobile Identity (3GPP TS 24.008)
IMSIPseudo.java: fix up length somewhat
Since it is counting nibbles, we need to take the length, which is inbytes, two times. Also increase the size of the whole string, becausethere are additional numbers infront of the imsi, it seems.
There are still two numbers missing at the end, and there is a...
IMSIPseudo.java: remove unneeded return in showMsg()
IMSIPseudo.java: return if reading IMSI fails
sim-applet: flash: set --access-domain=00
Make the AC_NOT_FULFILLED error go away.
sim-applet/LICENSE: add Apache-2.0
IMSIPseudo.java: show exception error code
Current code gives E03 (AC_NOT_FULFILLED). The error codes are explainedin TS_101_476/Annex_A_HTML/sim/access/SIMViewException.html.
IMSIPseudo: implement "Show IMSI" (WIP)
This will need some adjustments before it actually works.
sim-applet/Makefile: add "delete" alias
IMSIPseudo.java: import all
It takes time to figure out where exactly a certain class/object/... islocated. Just import all of them. It does not seem to impact the size ofthe applet, as there's a blog post writing about performance that doesit the same way [1]. Besides, except for the HelloSTK hello world, I've...
IMSIPseudo.java: move showMsg down
IMSIPseudo.java: display menu
Add a menu with the following actions:
IMSI Pseudonymization1 Show LU counter2 Show IMSI3 Change IMSI
Selecting "Change IMSI" opens a submenu:
Change IMSI1 Set 1 as last digit2 Set 2 as last digit
Except for "Show LU counter", the actions are not implemented yet.
IMSIPseudo.java: rename showHello to showMsg
Add msg as parameter.
IMSIPseudo.java: rename menuItemText to title
IMSIPseudo.java: rename welcomeMsg to LUCounter
IMSIPesudo.java: simple LU counter
IMSIPseudo.java: show hello world on LU
sim-applet/README.md: describe flashing
sim-applet: add "flash" and "remove" targets
Using wrong arguments for shadysim.py (e.g. wrong --max-menu-entry-text)results in cryptic errors, so let's version them along with the source.
IMSIPseudo.java: change menu entry title
To make this work, flash with increased --max-menu-entry-text option forshadysim.py. I'll add a "make flash" target for convenience.
Also available in: Atom