The file EF.AD contains the length of the MNC, this allows to phone to distinguish where MCC/MNC end and where the MSIN number of the IMSI begins. All cards are shipped with an MNC length of 2, which is fine for the most situations, but when a MNC with 3 digits is needed the MNC length value has to be updated. Otherwise the phone will recognize the third digit of the MNC as part of the MSIN. Related: OS#3850for/master/mnclen
parent
3bd5054d56
commit
83760e2c22
@ -0,0 +1,132 @@
|
||||
sysmoUSIM-SJS1 parameterization tool
|
||||
Copyright (c)2017 Sysmocom s.f.m.c. GmbH
|
||||
|
||||
Initializing smartcard terminal...
|
||||
|
||||
Detected Card ICCID: 8988211320300000028
|
||||
|
||||
Authenticating...
|
||||
* Remaining attempts: 3
|
||||
* Authenticating...
|
||||
* Authentication successful
|
||||
* Remaining attempts: 3
|
||||
|
||||
Detected Card IMSI: 262423203000002
|
||||
|
||||
Writing MNCLEN value...
|
||||
* New MNCLEN setting:
|
||||
MNCLEN: 0x02
|
||||
* Initalizing...
|
||||
* Programming...
|
||||
|
||||
Done!
|
||||
sysmoUSIM-SJS1 parameterization tool
|
||||
Copyright (c)2017 Sysmocom s.f.m.c. GmbH
|
||||
|
||||
Initializing smartcard terminal...
|
||||
|
||||
Detected Card ICCID: 8988211320300000028
|
||||
|
||||
Authenticating...
|
||||
* Remaining attempts: 3
|
||||
* Authenticating...
|
||||
* Authentication successful
|
||||
* Remaining attempts: 3
|
||||
|
||||
Detected Card IMSI: 262423203000002
|
||||
|
||||
Reading MNCLEN value...
|
||||
* Initalizing...
|
||||
* Reading...
|
||||
* Current MNCLEN setting:
|
||||
MNCLEN: 0x02
|
||||
|
||||
Done!
|
||||
sysmoUSIM-SJS1 parameterization tool
|
||||
Copyright (c)2017 Sysmocom s.f.m.c. GmbH
|
||||
|
||||
Initializing smartcard terminal...
|
||||
|
||||
Detected Card ICCID: 8988211320300000028
|
||||
|
||||
Authenticating...
|
||||
* Remaining attempts: 3
|
||||
* Authenticating...
|
||||
* Authentication successful
|
||||
* Remaining attempts: 3
|
||||
|
||||
Detected Card IMSI: 262423203000002
|
||||
|
||||
Writing MNCLEN value...
|
||||
* New MNCLEN setting:
|
||||
MNCLEN: 0x03
|
||||
* Initalizing...
|
||||
* Programming...
|
||||
|
||||
Done!
|
||||
sysmoUSIM-SJS1 parameterization tool
|
||||
Copyright (c)2017 Sysmocom s.f.m.c. GmbH
|
||||
|
||||
Initializing smartcard terminal...
|
||||
|
||||
Detected Card ICCID: 8988211320300000028
|
||||
|
||||
Authenticating...
|
||||
* Remaining attempts: 3
|
||||
* Authenticating...
|
||||
* Authentication successful
|
||||
* Remaining attempts: 3
|
||||
|
||||
Detected Card IMSI: 262423203000002
|
||||
|
||||
Reading MNCLEN value...
|
||||
* Initalizing...
|
||||
* Reading...
|
||||
* Current MNCLEN setting:
|
||||
MNCLEN: 0x03
|
||||
|
||||
Done!
|
||||
sysmoUSIM-SJS1 parameterization tool
|
||||
Copyright (c)2017 Sysmocom s.f.m.c. GmbH
|
||||
|
||||
Initializing smartcard terminal...
|
||||
|
||||
Detected Card ICCID: 8988211320300000028
|
||||
|
||||
Authenticating...
|
||||
* Remaining attempts: 3
|
||||
* Authenticating...
|
||||
* Authentication successful
|
||||
* Remaining attempts: 3
|
||||
|
||||
Detected Card IMSI: 262423203000002
|
||||
|
||||
Writing MNCLEN value...
|
||||
* New MNCLEN setting:
|
||||
MNCLEN: 0x02
|
||||
* Initalizing...
|
||||
* Programming...
|
||||
|
||||
Done!
|
||||
sysmoUSIM-SJS1 parameterization tool
|
||||
Copyright (c)2017 Sysmocom s.f.m.c. GmbH
|
||||
|
||||
Initializing smartcard terminal...
|
||||
|
||||
Detected Card ICCID: 8988211320300000028
|
||||
|
||||
Authenticating...
|
||||
* Remaining attempts: 3
|
||||
* Authenticating...
|
||||
* Authentication successful
|
||||
* Remaining attempts: 3
|
||||
|
||||
Detected Card IMSI: 262423203000002
|
||||
|
||||
Reading MNCLEN value...
|
||||
* Initalizing...
|
||||
* Reading...
|
||||
* Current MNCLEN setting:
|
||||
MNCLEN: 0x02
|
||||
|
||||
Done!
|
@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
. ./test-data
|
||||
|
||||
# set to 2 (default) + read back
|
||||
$TOOL -a $ADMPIN -N 02
|
||||
$TOOL -a $ADMPIN -n
|
||||
|
||||
# set to 3 + read back
|
||||
$TOOL -a $ADMPIN -N 03
|
||||
$TOOL -a $ADMPIN -n
|
||||
|
||||
# set to 2 (default) + read back
|
||||
$TOOL -a $ADMPIN -N 02
|
||||
$TOOL -a $ADMPIN -n
|
||||
|
Loading…
Reference in new issue