Dear Harald,
Sorry I wasn't able to get back to you sooner. I'm using China Unicom SIM card.
Attached is the result of pcsc_scan and pySim-shell. Thanks in advance.
Best wishes,
Zishuai CHENG
On 2021/6/10, 7:48 PM, "Harald Welte" <[email protected]> wrote:
Dear Zishuai,
* which SIM card are you using? is it a sysmoISIM-SJA2? Please provide the
ATR.
* can you copy+paste the output of the following pySim-shell commands:
select EF.DIR
read_record 1
read_record 2
read_record 3
read_record 4
--
- Harald Welte <[email protected]> http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)
Using reader plug'n play mechanism
Scanning present readers...
0: Generic USB2.0-CRW [Smart Card Reader Interface] (20070818000000000) 00 00
Wed Jun 23 11:12:49 2021
Reader 0: Generic USB2.0-CRW [Smart Card Reader Interface] (20070818000000000)
00 00
Event number: 0
Card state: Card inserted,
ATR: 3B 9F 94 80 1F C7 80 31 E0 73 FE 21 13 57 86 81 25 86 98 40 18 8E
ATR: 3B 9F 94 80 1F C7 80 31 E0 73 FE 21 13 57 86 81 25 86 98 40 18 8E
+ TS = 3B --> Direct Convention
+ T0 = 9F, Y(1): 1001, K: 15 (historical bytes)
TA(1) = 94 --> Fi=512, Di=8, 64 cycles/ETU
62500 bits/s at 4 MHz, fMax for Fi = 5 MHz => 78125 bits/s
TD(1) = 80 --> Y(i+1) = 1000, Protocol T = 0
-----
TD(2) = 1F --> Y(i+1) = 0001, Protocol T = 15 - Global interface bytes
following
-----
TA(3) = C7 --> Clock stop: no preference - Class accepted by the card: (3G) A
5V B 3V C 1.8V
+ Historical bytes: 80 31 E0 73 FE 21 13 57 86 81 25 86 98 40 18
Category indicator byte: 80 (compact TLV data object)
Tag: 3, len: 1 (card service data byte)
Card service data byte: E0
- Application selection: by full DF name
- Application selection: by partial DF name
- BER-TLV data objects available in EF.DIR
- EF.DIR and EF.ATR access services: by GET RECORD(s) command
- Card with MF
Tag: 7, len: 3 (card capabilities)
Selection methods: FE
- DF selection by full DF name
- DF selection by partial DF name
- DF selection by path
- DF selection by file identifier
- Implicit DF selection
- Short EF identifier supported
- Record number supported
Data coding byte: 21
- Behaviour of write functions: proprietary
- Value 'FF' for the first byte of BER-TLV tag fields: invalid
- Data unit in quartets: 2
Command chaining, length fields and logical channels: 13
- Logical channel number assignment: by the card
- Maximum number of logical channels: 4
Tag: 5, len: 7 (card issuer's data)
Card issuer data: 86 81 25 86 98 40 18
+ TCK = 8E (correct checksum)
Possibly identified card (using /home/zishuai/.cache/smartcard_list.txt):
Unescaped left brace in regex is passed through in regex; marked by <-- HERE in
m/^$(function(){ <-- HERE $/ at /usr/bin/ATR_analysis line 548, <FILE> line 81.
Unmatched ( in regex; marked by <-- HERE in m/^$( <-- HERE function(){$/ at
/usr/bin/ATR_analysis line 548, <FILE> line 81.
ATR_analysis '3B 9F 94 80 1F C7 80 31 E0 73 FE 21 13 57 86 81 25 86 98 40 18
8E': Successpython pySim-shell.py -p 0
Using PC/SC reader interface
Autodetection failed
No card detected!