- strId = strId .. " (" .. tostring(protocolIEId) ..")"
- local protocolFieldTree = itemTree:add(tvbuf:range(offset,2), protocolIEField.protocolIEFieldMsg)
- protocolFieldTree:add(protocolIEField.id .. strId)
- offset = offset + 2
-
- local criticalityId = tvbuf:range(offset,1):le_uint()
- protocolFieldTree:add(tvbuf:range(offset,1), "<Enumerated Index: " .. criticalityId ..">")
- strId = tostring(CriticalityE2[criticalityId]) .. " (" .. tostring(criticalityId) ..")"
- protocolFieldTree:add(tvbuf:range(offset,1), protocolIEField.criticality .. strId)
- offset = offset + 1
-
- local valueLen = tvbuf:range(offset,1):le_uint()
- protocolFieldTree:add(tvbuf:range(offset,1), "<" .. protocolIEField.valueLen .. valueLen ..">")
- offset = offset + 1
-
- local valueTree = protocolFieldTree:add(tvbuf:range(offset, valueLen), protocolIEField.value)
-
- if(protocolIEId == 4) then
- addGobalRICIdToTree(tvbuf, valueTree, offset, valueLen, endianness)
- end
- end
-end
-
-function addE2apSuccessfulOutcomeToTree(tvbuf, tree, offset, pktlen, endianness)
- local successfulOutcomeTree = tree:add(tvbuf:range(offset, (pktlen-offset)), successfulOutcomeE2.successOutcomeMsg)
- local procId = tvbuf:range(offset,1):le_uint()
- strId = tostring(ProcedureCodeE2[procId]) .. " (" .. tostring(procId) ..")"
- successfulOutcomeTree:add(tvbuf:range(offset,1), successfulOutcomeE2.procedureCode .. strId)
- offset = offset + 1
-