Commit Graph

14 Commits

Author SHA1 Message Date
Oliver Smith 05b1332d75 sim-applet/LICENSE: add Apache-2.0 2020-02-24 14:18:20 +01:00
Oliver Smith d7f18920c3 IMSIPseudo.java: show exception error code
Current code gives E03 (AC_NOT_FULFILLED). The error codes are explained
in TS_101_476/Annex_A_HTML/sim/access/SIMViewException.html.
2020-02-24 12:29:33 +01:00
Oliver Smith 2259cb9fd7 IMSIPseudo: implement "Show IMSI" (WIP)
This will need some adjustments before it actually works.
2020-02-24 12:28:50 +01:00
Oliver Smith 4eee13d7e7 IMSIPseudo.java: import all
It takes time to figure out where exactly a certain class/object/... is
located. Just import all of them. It does not seem to impact the size of
the applet, as there's a blog post writing about performance that does
it the same way [1]. Besides, except for the HelloSTK hello world, I've
seen it in all other code done that way, including 3GPP 03.19 Annex C.

[1]: https://gelvaos.blogspot.com/2011/04/
2020-02-24 11:28:39 +01:00
Oliver Smith cef081c1e7 IMSIPseudo.java: move showMsg down 2020-02-24 10:02:14 +01:00
Oliver Smith ca866fe7c5 IMSIPseudo.java: display menu
Add a menu with the following actions:

IMSI Pseudonymization
1 Show LU counter
2 Show IMSI
3 Change IMSI

Selecting "Change IMSI" opens a submenu:

Change IMSI
1 Set 1 as last digit
2 Set 2 as last digit

Except for "Show LU counter", the actions are not implemented yet.
2020-02-24 09:58:28 +01:00
Oliver Smith 234ab54bf7 IMSIPseudo.java: rename showHello to showMsg
Add msg as parameter.
2020-02-24 08:26:29 +01:00
Oliver Smith 2dcbfabb2d IMSIPseudo.java: rename menuItemText to title 2020-02-21 15:40:21 +01:00
Oliver Smith 1e5cc46d7f IMSIPseudo.java: rename welcomeMsg to LUCounter 2020-02-21 15:39:14 +01:00
Oliver Smith 041b0e0af1 IMSIPesudo.java: simple LU counter 2020-02-21 15:24:29 +01:00
Oliver Smith e28705aff5 IMSIPseudo.java: show hello world on LU 2020-02-21 11:20:49 +01:00
Oliver Smith 8f58642c4d IMSIPseudo.java: change menu entry title
To make this work, flash with increased --max-menu-entry-text option for
shadysim.py. I'll add a "make flash" target for convenience.
2020-02-21 08:55:57 +01:00
Oliver Smith 4e5e516a0e IMSIPseudo.java: convert line endings to unix 2020-02-21 08:47:36 +01:00
Oliver Smith 7528b38c60 sim-applet: rename to org.osmocom.IMSIPseudo 2020-02-21 08:43:25 +01:00