📄 mn80sts.h
字号:
#ifndef _MN80STS_H
#define _MN80STS_H
#include "_define.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef enum
{
ST_PP_IDLE = 0, /*空闲状态并且没有进行CCH建立*/
ST_PP_CCH_MON =1, /*CCH监视状态,MN等待控制信道(CCH)监视的结果 */
ST_PP_REPORT =2, /*MN正在等待信息的汇报*/
ST_PP_WAIT = 3, /*MN处于等待模式的状态*/
ST_PP_LCH_EST_O = 4, /*PS 在主叫过程中,MN 正等待链路信道的建立*/
ST_PP_TCH_EST_O = 5, /*PS 在主叫过程中, PS完成链路信道的建立
并且MN正等待服务信道的建立*/
ST_PP_TCH_ALR_O = 6, /*PS 在主叫过程中, PS完成服务信道的建立*/
ST_PP_LCH_EST_T = 7 , /*PS 在被叫过程中,MN 正等待链路信道的建立*/
ST_PP_TCH_EST_T = 8, /*PS 在被叫过程中, PS完成链路信道的建立
并且MN正等待服务信道的建立*/
ST_PP_CALL_T = 9, /*PS 在被叫过程中, PS 响应网络并且开始响铃*/
ST_PP_COMMUNCATING = 10, /*在一次通话过程中,PS 处于通信状态*/
ST_PP_DISC_COMM = 11, /*MN 正在等待低层处理服务信道的断开*/
ST_PP_TCH_SWT = 12, /*MN 正在等待低层处理TCH的切换(switching)*/
ST_PP_HANDOVER = 13, /*MN 正在等待低层处理(handover)*/
ST_PP_LCH_EST_L = 14, /*在处理位置注册的过程中,MN 正等待链路信道的建立*/
ST_PP_LOC_REG_STR = 15 , /*在处理位置注册的过程中,PS完成链路信道的建立
并且MN 正在等待低层注册处理*/
ST_PP_LOC_REG_END = 16 /*PS完成位置注册的,MN 正在等待低层的处理....*/
}enumMN_PUB_PRV_STATE;
typedef enum
{
ST_CMN_INIT = 0 , /*PS 初始化状态*/
ST_CMN_WAIT = 1 , /*PS 正在等待系统相关数据的初始化*/
ST_CMN_NORMAL = 2
/*PS完成系统相关数据的初始化并且能运行常规功能性的操作*/
}enumMN_COMMON_STATE;
#ifdef SIMU_ON_PC /*zch for protocol simulator */
#pragma pack( push, mnstsheader,1)
#endif
#ifndef SIMU_ON_PC
__packed
#endif
typedef struct //added by chenxl , 2003/8/8
{
enumMN_PUB_PRV_STATE public_mod; //Public mode , means that PS is running operations in a public system
enumMN_PUB_PRV_STATE private_mod; //Private mode, means that PS is running operations in a private system
unsigned char ps2ps_mod; //Direct communication mode,means that PS is directly communication with another PS
enumMN_COMMON_STATE common_mod; //Common mode,means that PS is running some common operations regardless of the system type it belongs to
}MN_STATE;
#ifdef SIMU_ON_PC /*zch for protocol simulator */
#pragma pack( pop, mnstsheader,1 )
#endif
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -