comparison doc/vendor/grcard2-person-script @ 26:322f6fcdc36e

doc/vendor/grcard2-person-script added
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 16 Mar 2021 00:40:10 +0000
parents
children
comparison
equal deleted inserted replaced
25:9c9f6adbaedb 26:322f6fcdc36e
1 ; The present article is a "personalization" command script which we
2 ; (FreeCalypso) received from Grcard in response to technical questions
3 ; about the card-model-specific proprietary file which the Osmocom wiki page
4 ; calls EF.WEKI. This header comment was added by us; all following
5 ; comments, commands and data are unchanged bits from Grcard.
6
7 ;1 :
8 Reset
9
10 ;2 : Check Card(It is verify supper ADM, The ADM is ADM8)
11 Send A020000B08 3838383838383838
12 Assert 9000
13
14 ;4 : Select 3F00
15 Send A0A4000002 3F00
16 Assert 9F17
17 ;5 : PIN1(PIN1=1234)
18 Send A0D43A0108 30303030FFFFFFFF
19 Assert 9000
20 ;6 : PIN2(PIN2=5678)
21 Send A0D43A0208 35363738FFFFFFFF
22 Assert 9000
23 ;7 : PUK1(PUK1=12345678)
24 Send A0D43B0008 3132333435363738
25 Assert 9000
26 ;8 : PUK2(PUK2=87654321)
27 Send A0D43B0208 3837363534333231
28 Assert 9000
29 ;9 : ADM(ADM=3838383838383838, It is ADM2)
30 Send A0D43A0508 3838383838383838
31 Assert 9000
32
33 ;===========================================================================================
34
35 ;10 : Select ICCID
36 Send A0A4000002 2FE2
37 Assert 9F0F
38 ;11 : Write ICCID(ICCID=89860001010123456789)
39 Send A0D600000A 98680010101032547698
40 Assert 9000
41 ;12 : Select 7F20
42 Send A0A4000002 7F20
43 Assert 9F17
44 ;13 : Select GSM_KI
45 Send A0A4000002 0001
46 Assert 9F0F
47 ;14 : Write GSM_KI(KI=000102030405060708090A0B0C0D0E0F)
48 ;Here's comp128v1
49 Send A0D6000013 00100 0 000102030405060708090A0B0C0D0E0F
50
51 ;Here's comp128v2
52 ;Send A0D6000013 00100 1 000102030405060708090A0B0C0D0E0F
53
54 ;Here's comp128v3
55 ;Send A0D6000013 00100 2 000102030405060708090A0B0C0D0E0F
56 Assert 9000
57
58 ;17 : Select GSM_IMSI
59 Send A0A4000002 6F07
60 Assert 9F0F
61 ;18 : Write GSM_IMSI(IMSI=001010123456789)
62 Send A0D6000009 080910101032547698
63 Assert 9000
64 ;19 : Select GSM_ACC
65 Send A0A4000002 6F78
66 Assert 9F0F
67 ;20 : Write GSM_ACC
68 Send A0D6000002 0200
69 Assert 9000
70 ;21 : Select GSM_LOCI
71 Send A0A4000002 6F7E
72 Assert 9F0F
73 ;22 : Write GSM_LOCI
74 Send A0D600000B FFFFFFFF00F1100000FF01
75 Assert 9000
76 ;23 : Select GSM_AD
77 Send A0A4000002 6FAD
78 Assert 9F0F
79 ;24 : Write GSM_AD
80 Send A0D6000003 000000
81 Assert 9000
82 ;25 : Select GSM_SPN
83 Send A0A4000002 6F46
84 Assert 9F0F
85 ;26 : Write GSM_SPN(SPN=GSM)
86 Send A0D6000011 0047534DFFFFFFFFFFFFFFFFFFFFFFFFFF
87 Assert 9000
88 ;27 : Select GSM_PLMN
89 Send A0A4000002 6F30
90 Assert 9F0F
91 ;28 : Write GSM_PLMN
92 Send A0D60000F0 00F110FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
93 Assert 9000
94 ;29 : Select GSM_FPLMN
95 Send A0A4000002 6F7B
96 Assert 9F0F
97 ;30 : Write GSM_FPLMN
98 Send A0D600000C FFFFFFFFFFFFFFFFFFFFFFFF
99 Assert 9000
100 ;31 : Select GSM_HPLMN
101 Send A0A4000002 6F31
102 Assert 9F0F
103 ;32 : Write GSM_HPLMN
104 Send A0D6000001 50
105 Assert 9000
106
107 ;===========================================================================================
108
109 ;39 : Select 3F00
110 Send A0A4000002 3F00
111 Assert 9F17
112 ;40 : Select 7F10
113 Send A0A4000002 7F10
114 Assert 9F17
115 ;41 : Select SMSP
116 Send A0A4000002 6F42
117 Assert 9F0F
118 ;42 : Write SMSP(SMSP=+139012345678)
119 Send A0DC010428 FFFFFFFFFFFFFFFFFFFFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF 0791310921436587 FFFFFFFFFFFFFF
120 Assert 9000
121 ;43 : Select 6F40
122 Send A0A4000002 6F40
123 Assert 9F0F
124 ;44 : MSISDN(MSISDN=139456781234)
125 Send A0DC01041CFFFFFFFFFFFFFFFFFFFFFFFFFFFF 0781314965872143 FFFFFFFFFFFF
126 Assert 9000