mobile_insight.analyzer.lte_nas_analyzer module

A LTE NAS layer (EMM/ESM) analyzer

Author: Yuanjie Li

Zengwen Yuan

class mobile_insight.analyzer.lte_nas_analyzer.LteNasAnalyzer

Bases: mobile_insight.analyzer.protocol_analyzer.ProtocolAnalyzer

A protocol analyzer for LTE NAS messages (EMM and ESM)

__callback_emm(msg)

Extract EMM status and configurations from the NAS messages

Parameters

msg – the EMM NAS message

__callback_emm_state(msg)

Given the EMM message, update EMM state and substate.

Parameters

msg – the NAS signaling message that carries EMM state

__callback_esm(msg)

Extract ESM status and configurations from the NAS messages

Parameters

msg – the ESM NAS message

__callback_esm_state(msg)

Given the ESM message, update ESM state

Parameters

msg – the NAS signaling message that carries EMM state

__nas_filter(msg)

Filter all NAS(EMM/ESM) packets, and call functions to process it

Parameters

msg – the event (message) from the trace collector.

create_callflow_state_machine()

Declare a callflow state machine

returns: a StateMachine

create_emm_state_machine()

Declare a EMM state machine

returns: a StateMachine

create_esm_state_machine()

Declare a ESM state machine returns: a StateMachine

create_profile_hierarchy()

Return a Lte NAS ProfileHierarchy (configurations)

Returns

ProfileHierarchy for LTE NAS

getTimeInterval(preTime, curTime)
get_profiled_qos(plmn)

Get QoS from the profile (if any)

get_qos()
set_source(source)

Set the trace source. Enable the LTE NAS messages.

Parameters

source – the trace source (collector).