From 8acbc8be52d18470d6283c0c40940e2cbc32ecc5 Mon Sep 17 00:00:00 2001 From: mitshell Date: Mon, 25 Nov 2024 16:13:04 +0100 Subject: [PATCH] UEPOL: fix NR Cell IDs structure --- pycrate_mobile/TS24526_UEPOL.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pycrate_mobile/TS24526_UEPOL.py b/pycrate_mobile/TS24526_UEPOL.py index 7b355ac..5038397 100644 --- a/pycrate_mobile/TS24526_UEPOL.py +++ b/pycrate_mobile/TS24526_UEPOL.py @@ -262,7 +262,7 @@ class _RouteSelectDescCompTimeWin(Envelope): ) -# Table 5.2.2: Location criteria +# Table 5.2.2: Location criteria class _LocAreaEUTRACellID(Envelope): _GEN = ( PLMN(), @@ -283,7 +283,7 @@ def __init__(self, *args, **kwargs): self[1].set_numauto(lambda: self[0].get_num()) -class _LocAreaEUTRACellID(Envelope): +class _LocAreaNRCellID(Envelope): _GEN = ( PLMN(), Buf('NRCellID', bl=36, rep=REPR_HEX), @@ -294,7 +294,7 @@ class _LocAreaEUTRACellID(Envelope): class _LocAreaCompNR(Envelope): _GEN = ( Uint8('Num'), - Sequence('CellIDs', GEN=_LocAreaEUTRACellID('NRCellID')) + Sequence('CellIDs', GEN=_LocAreaNRCellID('NRCellID')) ) def __init__(self, *args, **kwargs): @@ -322,7 +322,7 @@ def __init__(self, *args, **kwargs): self[1].set_numauto(lambda: self[0].get_num()) -# Figure 5.2.6: Location area +# Figure 5.2.6: Location area _RouteSelectLocAreaType_dict = { 1 : 'E-UTRA cell identities list', 2 : 'NR cell identities list',