Commit c010c507 authored by Mark Canterbury's avatar Mark Canterbury
Browse files

Fixing ASN compilation

parent 3ba387d9
Loading
Loading
Loading
Loading
+1 −1
Changes for 102232-1/LI-PS-PDU.asn: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -697,7 +697,7 @@ WlanLocationAttributes ::= SEQUENCE

CPEProvidedLocation ::= SEQUENCE
{
    wGS84CoordinateDecimal        [0] TS103280.WGS84CoordinateDecimal OPTIONAL,
    wGS84CoordinateDecimal        [0] Common-Parameters.WGS84CoordinateDecimal OPTIONAL,
    ...
}

+762

File added.

Preview size limit exceeded, changes collapsed.

+1 −1
Changes for testing/asn_process.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ duplicateObjects = {
def fixDuplicateObjects(filename):
    stringContent = filename.read_text()
    for object in duplicateObjects[filename.as_posix()]:
        stringContent = stringContent.replace(f'{object} ::=', f'Native{object} ::=')
        stringContent = stringContent.replace(f'{object} ::=', f'Native{object} ::=', 1)
        stringContent = stringContent.replace(f'SEQUENCE OF {object}', f'SEQUENCE OF Native{object}')
        #stringContent = sub(f"]\\w{object}", f"] Native{object}", stringContent)