mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-16 18:38:32 +03:00
pySim.ts_31_102: Add support for EF.EARFCNList
This adds a construct + pyosmocore.tlv based declarative encoder/decoder for the EF.EARFCNList file used in the context of NB-IoT in later release USIMs. Change-Id: I16797ca58c3ad6ebaf588d04fec011a0cbcfcef3
This commit is contained in:
committed by
Philipp Maier
parent
ba22e238f3
commit
12328c090d
@@ -3604,6 +3604,17 @@ update_binary ff
|
||||
# bad file: MF/ADF.USIM/EF.XCAPConfigData/EF.XCAPConfigData, SW match failed! Expected 9000 and got 6a82: Wrong parameters - File not found
|
||||
#
|
||||
################################################################################
|
||||
# MF/ADF.USIM/EF.EARFCNList #
|
||||
################################################################################
|
||||
# directory: MF/ADF.USIM/EF.EARFCNList (3f00/a0000000871002/6ffd)
|
||||
# file: EF.EARFCNList (6ffd)
|
||||
# structure: transparent
|
||||
# RAW FCP Template: 621e8202412183026ffda506d00120d2010f8a01058b036f0606800200808800
|
||||
# Decoded FCP Template: {'file_descriptor': {'file_descriptor_byte': {'shareable': True, 'file_type': 'working_ef', 'structure': 'transparent'}, 'record_len': None, 'num_of_rec': None}, 'file_identifier': '6ffd', 'proprietary_information': {'unknown_ber_tlv_ie_d0': {'raw': '20'}, 'toolkit_access_conditions': {'rfm_create': True, 'rfm_delete_terminate': True, 'other_applet_create': True, 'other_applet_delete_terminate': True}}, 'life_cycle_status_integer': 'operational_activated', 'security_attrib_referenced': {'ef_arr_file_id': '6f06', 'ef_arr_record_nr': 6}, 'file_size': 128, 'short_file_identifier': None}
|
||||
select MF/ADF.USIM/EF.EARFCNList
|
||||
update_binary ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||
#
|
||||
################################################################################
|
||||
# MF/ADF.USIM/EF.MuDMiDConfigData #
|
||||
################################################################################
|
||||
# directory: MF/ADF.USIM/EF.MuDMiDConfigData (3f00/a0000000871002/6ffe)
|
||||
@@ -4873,7 +4884,7 @@ aram_delete_all
|
||||
################################################################################
|
||||
# Export summary #
|
||||
################################################################################
|
||||
# total files visited: 345
|
||||
# total files visited: 346
|
||||
# bad files: 63
|
||||
# MF/DF.GSM/EF.SUME/EF.SUME, SW match failed! Expected 9000 and got 6982: Command not allowed - Security status not satisfied
|
||||
# MF/DF.GSM/EF.CPBCCH/EF.CPBCCH, SW match failed! Expected 9000 and got 6a82: Wrong parameters - File not found
|
||||
|
||||
@@ -80,6 +80,7 @@ Checking service No 111 (inactive)
|
||||
Checking service No 114 (inactive)
|
||||
Checking service No 115 (inactive)
|
||||
Checking service No 120 (inactive)
|
||||
Checking service No 121 (inactive)
|
||||
Checking service No 122 (active)
|
||||
Checking service No 123 (active)
|
||||
Checking service No 124 (inactive)
|
||||
@@ -104,7 +105,7 @@ Checking service No 146 (inactive)
|
||||
Checking service No 147 (inactive)
|
||||
Checking service No 148 (inactive)
|
||||
Checking service No 150 (inactive)
|
||||
===> 75 service / file inconsistencies detected
|
||||
===> 76 service / file inconsistencies detected
|
||||
beff9f9de73e04080000ff730000000600000000
|
||||
beff9f9de73e04080000ff730000000600002000
|
||||
beff9f9de73e04080000ff730000000600000000
|
||||
|
||||
@@ -10105,6 +10105,45 @@
|
||||
"message": "Wrong parameters - File not found"
|
||||
}
|
||||
},
|
||||
"MF/ADF.USIM/EF.EARFCNList": {
|
||||
"path": [
|
||||
"MF",
|
||||
"ADF.USIM",
|
||||
"EF.EARFCNList"
|
||||
],
|
||||
"fcp_raw": "621e8202412183026ffda506d00120d2010f8a01058b036f0606800200808800",
|
||||
"fcp": {
|
||||
"file_descriptor": {
|
||||
"file_descriptor_byte": {
|
||||
"shareable": true,
|
||||
"file_type": "working_ef",
|
||||
"structure": "transparent"
|
||||
},
|
||||
"record_len": null,
|
||||
"num_of_rec": null
|
||||
},
|
||||
"file_identifier": "6ffd",
|
||||
"proprietary_information": {
|
||||
"unknown_ber_tlv_ie_d0": {
|
||||
"raw": "20"
|
||||
},
|
||||
"toolkit_access_conditions": {
|
||||
"rfm_create": true,
|
||||
"rfm_delete_terminate": true,
|
||||
"other_applet_create": true,
|
||||
"other_applet_delete_terminate": true
|
||||
}
|
||||
},
|
||||
"life_cycle_status_integer": "operational_activated",
|
||||
"security_attrib_referenced": {
|
||||
"ef_arr_file_id": "6f06",
|
||||
"ef_arr_record_nr": 6
|
||||
},
|
||||
"file_size": 128,
|
||||
"short_file_identifier": null
|
||||
},
|
||||
"body": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
|
||||
},
|
||||
"MF/ADF.USIM/EF.MuDMiDConfigData": {
|
||||
"path": [
|
||||
"MF",
|
||||
|
||||
Reference in New Issue
Block a user