mobile_insight.analyzer.rrc_analyzer module

A RRC analyzer that integrates LTE and WCDMA RRC

Author: Yuanjie Li

class mobile_insight.analyzer.rrc_analyzer.RrcAnalyzer

Bases: mobile_insight.analyzer.analyzer.Analyzer

A protocol ananlyzer for 3G/4G Radio Resource Control (RRC). It depends on WcdmaRrcAnalyzer and LteRrcAnalyzer, and integrates configurations from both ananlyzers.

__on_event(event)

Triggered by WcdmaRrcAnalyzer and/or LteRrcAnalyzer. Push the event to analyzers that depend on RrcAnalyzer

Parameters

event (Event) – the event raised by WcdmaRrcAnalyzer and/or LteRrcAnalyzer.

__rrc_filter(msg)

Callback to process RRC messages.

Parameters

msg (Event) – the WCDMA/LTE RRC message from trace source.

get_cell_config(cell)

Return a cell’s active/idle-state configuration.

Parameters

cell (a (cell_id,freq) pair) – a cell identifier

Returns

this cell’s active/idle-state configurations

Return type

LteRrcConfig or WcdmaRrcConfig

get_cell_list()

Get a complete list of cell IDs.

Returns

a list of cells the device has associated with

get_cell_neighbor(cell)

Given a cell, return its neighbor cells

Parameters

cell (a (cell_id,freq) pair) – a cell identifier

get_cell_on_freq(freq)

Given a frequency band, get all cells under this freq in the cell_list.

Parameters

freq (int) – a frequency band

get_cur_cell()

Get current cell’s status

Returns

current cell’s status

Return type

LteRrcStatus or WcdmaRrcStatus

get_cur_cell_config()

Get current cell’s configuration

Returns

current cell’s status

Return type

LteRrcConfig or WcdmaRrcConfig