pySim-prog and pySim-read currently echo back the pcsc reader id (or baudrate/socket, depending on the interface used). This makes the output unecessarly undeterministic, which becomes a problem when verifying the putput in tests. Lets not echo those variable, user supplied parameters back. Also lets move the code that does the initalization to utils, so that it can be used from pySim-prog and from pySim-read (code dup). Change-Id: I243cc332f075d007b1c111292effcc610e874eb3 Related: OS#4503
161 lines
5.6 KiB
Plaintext
161 lines
5.6 KiB
Plaintext
Using PC/SC reader interface
|
|
Reading ...
|
|
Autodetected card type: sysmoISIM-SJA2
|
|
ICCID: 8988211900000000004
|
|
IMSI: 001010000000102
|
|
GID1: ffffffffffffffffffff
|
|
GID2: ffffffffffffffffffff
|
|
SMSP: ffffffffffffffffffffffffffffffffffffffffffffffffe1ffffffffffffffffffffffff0581005155f5ffffffffffff000000
|
|
SPN: Not available
|
|
Display HPLMN: False
|
|
Display OPLMN: False
|
|
PLMNsel: fff11fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
PLMNwAcT:
|
|
fff11fffff # MCC: 001 MNC: 001 AcT: UTRAN, E-UTRAN, GSM, GSM COMPACT, cdma2000 HRPD, cdma2000 1xRTT
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
|
|
OPLMNwAcT:
|
|
fff11fffff # MCC: 001 MNC: 001 AcT: UTRAN, E-UTRAN, GSM, GSM COMPACT, cdma2000 HRPD, cdma2000 1xRTT
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
|
|
HPLMNAcT:
|
|
fff11fffff # MCC: 001 MNC: 001 AcT: UTRAN, E-UTRAN, GSM, GSM COMPACT, cdma2000 HRPD, cdma2000 1xRTT
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
ffffff0000 # unused
|
|
|
|
ACC: 0001
|
|
MSISDN (NPI=1 ToN=1): +1234
|
|
AD: 00000002
|
|
SIM Service Table: ff33ffff3f003f0f300cf0c3f00000
|
|
Service 1 - CHV1 disable function
|
|
Service 2 - Abbreviated Dialling Numbers (ADN)
|
|
Service 3 - Fixed Dialling Numbers (FDN)
|
|
Service 4 - Short Message Storage (SMS)
|
|
Service 5 - Advice of Charge (AoC)
|
|
Service 6 - Capability Configuration Parameters (CCP)
|
|
Service 7 - PLMN selector
|
|
Service 8 - RFU
|
|
Service 9 - MSISDN
|
|
Service 10 - Extension1
|
|
Service 13 - Last Number Dialled (LND)
|
|
Service 14 - Cell Broadcast Message Identifier
|
|
Service 17 - Service Provider Name
|
|
Service 18 - Service Dialling Numbers (SDN)
|
|
Service 19 - Extension3
|
|
Service 20 - RFU
|
|
Service 21 - VGCS Group Identifier List (EFVGCS and EFVGCSS)
|
|
Service 22 - VBS Group Identifier List (EFVBS and EFVBSS)
|
|
Service 23 - enhanced Multi-Level Precedence and Pre-emption Service
|
|
Service 24 - Automatic Answer for eMLPP
|
|
Service 25 - Data download via SMS-CB
|
|
Service 26 - Data download via SMS-PP
|
|
Service 27 - Menu selection
|
|
Service 28 - Call control
|
|
Service 29 - Proactive SIM
|
|
Service 30 - Cell Broadcast Message Identifier Ranges
|
|
Service 31 - Barred Dialling Numbers (BDN)
|
|
Service 32 - Extension4
|
|
Service 33 - De-personalization Control Keys
|
|
Service 34 - Co-operative Network List
|
|
Service 35 - Short Message Status Reports
|
|
Service 36 - Network's indication of alerting in the MS
|
|
Service 37 - Mobile Originated Short Message control by SIM
|
|
Service 38 - GPRS
|
|
Service 49 - MExE
|
|
Service 50 - Reserved and shall be ignored
|
|
Service 51 - PLMN Network Name
|
|
Service 52 - Operator PLMN List
|
|
Service 53 - Mailbox Dialling Numbers
|
|
Service 54 - Message Waiting Indication Status
|
|
Service 57 - Multimedia Messaging Service (MMS)
|
|
Service 58 - Extension 8
|
|
Service 59 - MMS User Connectivity Parameters
|
|
|
|
USIM Service Table: beff9f9de73e0408400170730000002e00000000
|
|
Service 2 - Fixed Dialling Numbers (FDN)
|
|
Service 3 - Extension 2
|
|
Service 4 - Service Dialling Numbers (SDN)
|
|
Service 5 - Extension3
|
|
Service 6 - Barred Dialling Numbers (BDN)
|
|
Service 8 - Outgoing Call Information (OCI and OCT)
|
|
Service 9 - Incoming Call Information (ICI and ICT)
|
|
Service 10 - Short Message Storage (SMS)
|
|
Service 11 - Short Message Status Reports (SMSR)
|
|
Service 12 - Short Message Service Parameters (SMSP)
|
|
Service 13 - Advice of Charge (AoC)
|
|
Service 14 - Capability Configuration Parameters 2 (CCP2)
|
|
Service 15 - Cell Broadcast Message Identifier
|
|
Service 16 - Cell Broadcast Message Identifier Ranges
|
|
Service 17 - Group Identifier Level 1
|
|
Service 18 - Group Identifier Level 2
|
|
Service 19 - Service Provider Name
|
|
Service 20 - User controlled PLMN selector with Access Technology
|
|
Service 21 - MSISDN
|
|
Service 24 - Enhanced Multi-Level Precedence and Pre-emption Service
|
|
Service 25 - Automatic Answer for eMLPP
|
|
Service 27 - GSM Access
|
|
Service 28 - Data download via SMS-PP
|
|
Service 29 - Data download via SMS-CB
|
|
Service 32 - RUN AT COMMAND command
|
|
Service 33 - shall be set to 1
|
|
Service 34 - Enabled Services Table
|
|
Service 35 - APN Control List (ACL)
|
|
Service 38 - GSM security context
|
|
Service 39 - CPBCCH Information
|
|
Service 40 - Investigation Scan
|
|
Service 42 - Operator controlled PLMN selector with Access Technology
|
|
Service 43 - HPLMN selector with Access Technology
|
|
Service 44 - Extension 5
|
|
Service 45 - PLMN Network Name
|
|
Service 46 - Operator PLMN List
|
|
Service 51 - Service Provider Display Information
|
|
Service 60 - User Controlled PLMN selector for I-WLAN access
|
|
Service 71 - Equivalent HPLMN
|
|
Service 73 - Equivalent HPLMN Presentation Indication
|
|
Service 85 - EPS Mobility Management Information
|
|
Service 86 - Allowed CSG Lists and corresponding indications
|
|
Service 87 - Call control on EPS PDN connection by USIM
|
|
Service 89 - eCall Data
|
|
Service 90 - Operator CSG Lists and corresponding indications
|
|
Service 93 - Communication Control for IMS by USIM
|
|
Service 94 - Extended Terminal Applications
|
|
Service 95 - Support of UICC access to IMS
|
|
|
|
ISIM Service Table: 190200
|
|
Service 1 - P-CSCF address
|
|
Service 4 - GBA-based Local Key Establishment Mechanism
|
|
Service 5 - Support of P-CSCF discovery for IMS Local Break Out
|
|
Service 10 - Support of UICC access to IMS
|
|
|
|
Done !
|
|
|