mobile_insight.analyzer.umts_nas_analyzer module

A UMTS NAS layer (MM/GMM/CM/SM) analyzer

Author: Yuanjie Li Author: Zengwen Yuan

class mobile_insight.analyzer.umts_nas_analyzer.UmtsNasAnalyzer

Bases: mobile_insight.analyzer.protocol_analyzer.ProtocolAnalyzer

A protocol analyzer for UMTS NAS layer (MM/GMM/CM/SM)

__callback_gmm_state(msg)

Given the GMM message, update GMM state and substate.

Parameters

msg – the NAS signaling message that carries GMM state

__callback_mm_reg_state(msg)

Given the MM message, update MM state and substate.

Parameters

msg – the NAS signaling message that carries MM state

__callback_mm_state(msg)

Given the MM message, update MM state and substate.

Parameters

msg – the NAS signaling message that carries MM state

__callback_nas(msg)

Extrace MM status and configurations from the NAS messages

Parameters

msg – the MM NAS message

__nas_filter(msg)

Filter all NAS(MM/GMM/CM/SM) packets, and call functions to process it

Parameters

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

create_cm_state_machine()

Declare a GMM state machine

returns: a StateMachine

create_gmm_state_machine()

Declare a GMM state machine

returns: a StateMachine

create_mm_state_machine()

Declare an MM state machine

returns: a StateMachine

create_profile_hierarchy()

Return a UMTS NAS ProfileHierarchy (configurations)

Returns

ProfileHierarchy for LTE NAS

set_source(source)

Set the trace source. Enable the LTE NAS messages.

Parameters

source – the trace source (collector).