mirror of https://gerrit.osmocom.org/pysim
ts_102_221.py: fix fixup_fcp_proprietary_tlv_map()
The function fixup_fcp_proprietary_tlv_map() addes propritary TLV tags in the range of d0 to ff to the TLV map. However, the spec defines this range as b7 and b8 of the first tag byte set to 1. This results in a range from c0 to ff. See also ETSI TS 102 221, section 11.1.1.4.6.0 Change-Id: I8359527c9ff303b257b181b87dc440f27735ece9 Related: OS#4963
This commit is contained in:
parent
5459536c7b
commit
c98ef8a79d
|
@ -129,7 +129,7 @@ FCP_prorietary_interpreter_map = {
|
|||
def fixup_fcp_proprietary_tlv_map(tlv_map):
|
||||
if 'D0' in tlv_map:
|
||||
return
|
||||
for i in range(0xd0, 0xff):
|
||||
for i in range(0xc0, 0xff):
|
||||
i_hex = i2h([i]).upper()
|
||||
tlv_map[i_hex] = 'proprietary_' + i_hex
|
||||
|
||||
|
|
Loading…
Reference in New Issue