📄 p_mncc.h
字号:
/*
+--------------------------------------------------------------------------+
| PROJEKT : PROTOCOL STACK |
| FILE : P_MNCC.h |
| SOURCE : "Z:\condat\gsm\condat\ms\dfile\prim\MNCC.pdf" |
| LastModified : "28 January, 2003" |
| IdAndVersion : "6147.101.96.115" |
| SrcFileTime : "Thu Aug 14 00:00:00 2003" |
| Generated by CCDGEN_2.2.4 on Thu Aug 14 16:45:18 2003 |
| !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! |
+--------------------------------------------------------------------------+
*/
/* PRAGMAS
* PREFIX : NONE
* COMPATIBILITY_DEFINES : NO (require PREFIX)
* ALWAYS_ENUM_IN_VAL_FILE: NO
* ENABLE_GROUP: NO
*/
#ifndef P_MNCC_H
#define P_MNCC_H
#define CDG_ENTER__P_MNCC_H
#define CDG_ENTER__FILENAME _P_MNCC_H
#define CDG_ENTER__P_MNCC_H__FILE_TYPE CDGINC
#define CDG_ENTER__P_MNCC_H__LAST_MODIFIED _28_January_2003
#define CDG_ENTER__P_MNCC_H__ID_AND_VERSION _6147_101_96_115
#define CDG_ENTER__P_MNCC_H__SRC_FILE_TIME _Thu_Aug_14_00_00_00_2003
#include "CDG_ENTER.h"
#undef CDG_ENTER__P_MNCC_H
#undef CDG_ENTER__FILENAME
#include "P_MNCC.val"
#ifndef __T_user__
#define __T_user__
/*
* user to user data
* CCDGEN:WriteStruct_Count==961
*/
typedef struct
{
U8 info_context; /*< 0: 1> user to user message context */
U8 pd; /*< 1: 1> user to user protocol discriminator */
U8 c_info; /*< 2: 1> length of user to user data */
U8 info[USER_LEN]; /*< 3:131> user to user information */
U8 _align0; /*<134: 1> alignment */
U8 _align1; /*<135: 1> alignment */
} T_user;
#endif
#ifndef __T_calling_party_sub__
#define __T_calling_party_sub__
/*
* calling party subaddress
* CCDGEN:WriteStruct_Count==962
*/
typedef struct
{
U8 tos; /*< 0: 1> type of subaddress */
U8 odd_even; /*< 1: 1> odd / even indicator */
U8 c_subaddr; /*< 2: 1> length of subaddress information */
U8 subaddr[SUB_LENGTH]; /*< 3: 20> subaddress information */
U8 _align0; /*< 23: 1> alignment */
} T_calling_party_sub;
#endif
#ifndef __T_called_party_sub__
#define __T_called_party_sub__
typedef T_calling_party_sub T_called_party_sub;
#endif
#ifndef __T_connected_number_sub__
#define __T_connected_number_sub__
typedef T_calling_party_sub T_connected_number_sub;
#endif
#ifndef __T_redirecting_party_sub__
#define __T_redirecting_party_sub__
typedef T_calling_party_sub T_redirecting_party_sub;
#endif
#ifndef __T_chm__
#define __T_chm__
/*
* Channel using mode
* CCDGEN:WriteStruct_Count==963
*/
typedef struct
{
U8 ch_type; /*< 0: 1> Channel Type */
U8 ch_mode; /*< 1: 1> Channel Mode */
U8 _align0; /*< 2: 1> alignment */
U8 _align1; /*< 3: 1> alignment */
} T_chm;
#endif
#ifndef __T_bcpara__
#define __T_bcpara__
/*
* bearer capability parameter
* CCDGEN:WriteStruct_Count==964
*/
typedef struct
{
U8 rate; /*< 0: 1> user rate */
U8 bearer_serv; /*< 1: 1> bearer service */
U8 conn_elem; /*< 2: 1> connection element */
U8 stop_bits; /*< 3: 1> stop bits */
U8 data_bits; /*< 4: 1> data bits */
U8 parity; /*< 5: 1> parity */
U8 flow_control; /*< 6: 1> flow control */
U8 modem_type; /*< 7: 1> modem type */
} T_bcpara;
#endif
#ifndef __T_bcpara2__
#define __T_bcpara2__
typedef T_bcpara T_bcpara2;
#endif
#ifndef __T_fac_inf__
#define __T_fac_inf__
/*
* facility information
* CCDGEN:WriteStruct_Count==965
*/
typedef struct
{
U16 l_fac; /*< 0: 2> facility length */
U16 o_fac; /*< 2: 2> facility offset */
U8 fac[FACILITY_LEN]; /*< 4:251> facility content */
U8 _align0; /*<255: 1> alignment */
} T_fac_inf;
#endif
#ifndef __T_bcconf__
#define __T_bcconf__
/*
* bearer capability configuration
* CCDGEN:WriteStruct_Count==966
*/
typedef struct
{
U8 bc_len; /*< 0: 1> coded bearer cap length */
U8 bc[MAX_BC_LEN]; /*< 1: 10> coded bearer cap */
U8 _align0; /*< 11: 1> alignment */
} T_bcconf;
#endif
#ifndef __T_bcconf2__
#define __T_bcconf2__
typedef T_bcconf T_bcconf2;
#endif
#ifndef __T_calling_party__
#define __T_calling_party__
/*
* calling party
* CCDGEN:WriteStruct_Count==967
*/
typedef struct
{
U8 ton; /*< 0: 1> type of number */
U8 npi; /*< 1: 1> numbering plan identification */
U8 present; /*< 2: 1> presentation indicator */
U8 screen; /*< 3: 1> screening indicator */
U8 c_num; /*< 4: 1> number of BCD digits */
U8 num[MAX_CC_CALLING_NUMBER]; /*< 5: 22> bcd */
U8 _align0; /*< 27: 1> alignment */
} T_calling_party;
#endif
#ifndef __T_connected_number__
#define __T_connected_number__
typedef T_calling_party T_connected_number;
#endif
#ifndef __T_called_party__
#define __T_called_party__
/*
* called party address
* CCDGEN:WriteStruct_Count==968
*/
typedef struct
{
U8 ton; /*< 0: 1> type of number */
U8 npi; /*< 1: 1> numbering plan identification */
U8 c_called_num; /*< 2: 1> number of BCD digits */
U8 called_num[MAX_CC_CALLED_NUMBER]; /*< 3: 80> bcd */
U8 _align0; /*< 83: 1> alignment */
} T_called_party;
#endif
#ifndef __T_redirecting_party__
#define __T_redirecting_party__
/*
* redirecting party address
* CCDGEN:WriteStruct_Count==969
*/
typedef struct
{
U8 ton; /*< 0: 1> type of number */
U8 npi; /*< 1: 1> numbering plan identification */
U8 present; /*< 2: 1> presentation indicator */
U8 screen; /*< 3: 1> screening indicator */
U8 c_redir_num; /*< 4: 1> number of BCD digits */
U8 redir_num[MAX_CC_REDIR_NUMBER]; /*< 5: 32> bcd */
U8 _align0; /*< 37: 1> alignment */
U8 _align1; /*< 38: 1> alignment */
U8 _align2; /*< 39: 1> alignment */
} T_redirecting_party;
#endif
#ifndef __T_MNCC_ALERT_IND__
#define __T_MNCC_ALERT_IND__
/*
*
* CCDGEN:WriteStruct_Count==970
*/
typedef struct
{
U8 ti; /*< 0: 1> transaction identifier */
U8 progress_desc; /*< 1: 1> progress description */
U8 _align0; /*< 2: 1> alignment */
U8 _align1; /*< 3: 1> alignment */
} T_MNCC_ALERT_IND;
#endif
#ifndef __T_MNCC_CALL_PROCEED_IND__
#define __T_MNCC_CALL_PROCEED_IND__
/*
*
* CCDGEN:WriteStruct_Count==971
*/
typedef struct
{
U8 ti; /*< 0: 1> transaction identifier */
U8 progress_desc; /*< 1: 1> progress description */
U8 ri; /*< 2: 1> repeat indicator */
U8 _align0; /*< 3: 1> alignment */
T_bcpara bcpara; /*< 4: 8> bearer capability parameter */
T_bcpara2 bcpara2; /*< 12: 8> bearer capability parameter */
} T_MNCC_CALL_PROCEED_IND;
#endif
#ifndef __T_MNCC_DISCONNECT_IND__
#define __T_MNCC_DISCONNECT_IND__
/*
*
* CCDGEN:WriteStruct_Count==972
*/
typedef struct
{
U8 ti; /*< 0: 1> transaction identifier */
U8 _align0; /*< 1: 1> alignment */
U16 cause; /*< 2: 2> cause */
U8 diagnostic; /*< 4: 1> Diagnostic Information */
U8 progress_desc; /*< 5: 1> progress description */
U8 _align1; /*< 6: 1> alignment */
U8 _align2; /*< 7: 1> alignment */
} T_MNCC_DISCONNECT_IND;
#endif
#ifndef __T_MNCC_HOLD_CNF__
#define __T_MNCC_HOLD_CNF__
/*
*
* CCDGEN:WriteStruct_Count==973
*/
typedef struct
{
U8 ti; /*< 0: 1> transaction identifier */
U8 _align0; /*< 1: 1> alignment */
U16 cause; /*< 2: 2> cause */
} T_MNCC_HOLD_CNF;
#endif
#ifndef __T_MNCC_MODIFY_CNF__
#define __T_MNCC_MODIFY_CNF__
/*
*
* CCDGEN:WriteStruct_Count==974
*/
typedef struct
{
U8 ti; /*< 0: 1> transaction identifier */
U8 _align0; /*< 1: 1> alignment */
U16 cause; /*< 2: 2> cause */
} T_MNCC_MODIFY_CNF;
#endif
#ifndef __T_MNCC_MODIFY_IND__
#define __T_MNCC_MODIFY_IND__
/*
*
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -