⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mconst.cdg

📁 GSM手机设计软件代码
💻 CDG
📖 第 1 页 / 共 4 页
字号:
/*
+--------------------------------------------------------------------------+
| PROJEKT : PROTOCOL STACK                                                 |
| FILE    : mconst.cdg                                                     |
| SOURCE  : "Z:\condat\gsm\condat\ms\dfile\msg\RR_COM.mdf"                 |
| LastModified : "18 June, 2002"                                           |
| IdAndVersion : "8443.250.02.007"                                         |
| SrcFileTime  : "Thu Aug 14 00:00:00 2003"                                |
| Generated by CCDGEN_2.2.4 on Thu Aug 14 16:45:17 2003                    |
|           !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!!                |
+--------------------------------------------------------------------------+
*/


#ifndef CCONST_CDG
#define CCONST_CDG

/*
 * Constants for the Protocol entity RR_COM
 */
#define MS_RF_CAPABILITY               (0x1)      
#define BSIZE_MS_RF_CAPABILITY         (0x88)     /* max bitlength of coded msg     */

/*
 * calculated constants
 */
#define MAX_MESSAGE_ID_RR_COM          (0x1)      /* highest value for msg_type     */
#define MAX_MSTRUCT_LEN_RR_COM         (0x54)     /* max length of a decoded message */
#define MAX_BITSTREAM_LEN_RR_COM       (0x88)     /* max amount of bits for a coded message */
#define CCDENT_RR_COM                  (0x0)      
/*
 * Constants for the Protocol entity RR
 */
#define B_APPLIC_INFO                  (0x38)     
#define BSIZE_B_APPLIC_INFO            (0x7d8)    /* max bitlength of coded msg     */
#define D_ADD_ASSIGN                   (0x3b)     
#define BSIZE_D_ADD_ASSIGN             (0x94)     /* max bitlength of coded msg     */
#define D_ASSIGN_CMD                   (0x2e)     
#define BSIZE_D_ASSIGN_CMD             (0x5cd)    /* max bitlength of coded msg     */
#define U_ASSIGN_COMP                  (0x29)     
#define BSIZE_U_ASSIGN_COMP            (0x10)     /* max bitlength of coded msg     */
#define U_ASSIGN_FAIL                  (0x2f)     
#define BSIZE_U_ASSIGN_FAIL            (0x10)     /* max bitlength of coded msg     */
#define D_CHAN_MOD                     (0x10)     
#define BSIZE_D_CHAN_MOD               (0xa2)     /* max bitlength of coded msg     */
#define U_CHAN_MOD_ACK                 (0x17)     
#define BSIZE_U_CHAN_MOD_ACK           (0x34)     /* max bitlength of coded msg     */
#define D_CHAN_REL                     (0xd)      
#define BSIZE_D_CHAN_REL               (0x4ce)    /* max bitlength of coded msg     */
#define D_CIPH_CMD                     (0x35)     
#define BSIZE_D_CIPH_CMD               (0x10)     /* max bitlength of coded msg     */
#define U_CIPH_COMP                    (0x32)     
#define BSIZE_U_CIPH_COMP              (0xc0)     /* max bitlength of coded msg     */
#define U_CLASS_CHNG                   (0x16)     
#define BSIZE_U_CLASS_CHNG             (0x9d)     /* max bitlength of coded msg     */
#define D_CLASS_ENQ                    (0x13)     
#define BSIZE_D_CLASS_ENQ              (0x8)      /* max bitlength of coded msg     */
#define D_CONF_CHANGE_CMD              (0x30)     
#define BSIZE_D_CONF_CHANGE_CMD        (0xdf)     /* max bitlength of coded msg     */
#define D_CONF_CHANGE_ACK              (0x31)     
#define BSIZE_D_CONF_CHANGE_ACK        (0x8)      /* max bitlength of coded msg     */
#define D_CONFIG_CHANGE_REJ            (0x33)     
#define BSIZE_D_CONFIG_CHANGE_REJ      (0x10)     /* max bitlength of coded msg     */
#define D_EXT_MEAS_ORDER               (0x37)     
#define BSIZE_D_EXT_MEAS_ORDER         (0x88)     /* max bitlength of coded msg     */
#define U_EXT_MEAS_REPORT              (0x36)     
#define BSIZE_U_EXT_MEAS_REPORT        (0x88)     /* max bitlength of coded msg     */
#define D_FREQ_REDEF                   (0x14)     
#define BSIZE_D_FREQ_REDEF             (0x10c)    /* max bitlength of coded msg     */
#define U_GPRS_SUSP_REQ                (0x34)     
#define BSIZE_U_GPRS_SUSP_REQ          (0x60)     /* max bitlength of coded msg     */
#define D_HANDOV_CMD                   (0x2b)     
#define BSIZE_D_HANDOV_CMD             (0x6a6)    /* max bitlength of coded msg     */
#define U_HANDOV_COMP                  (0x2c)     
#define BSIZE_U_HANDOV_COMP            (0x38)     /* max bitlength of coded msg     */
#define U_HANDOV_FAIL                  (0x28)     
#define BSIZE_U_HANDOV_FAIL            (0x10)     /* max bitlength of coded msg     */
#define D_IMM_ASSIGN                   (0x3f)     
#define BSIZE_D_IMM_ASSIGN             (0xb0)     /* max bitlength of coded msg     */
#define D_IMM_ASSIGN_EXT               (0x39)     
#define BSIZE_D_IMM_ASSIGN_EXT         (0xb0)     /* max bitlength of coded msg     */
#define D_IMM_ASSIGN_REJ               (0x3a)     
#define BSIZE_D_IMM_ASSIGN_REJ         (0xb0)     /* max bitlength of coded msg     */
#define U_MEAS_REP                     (0x15)     
#define BSIZE_U_MEAS_REP               (0x88)     /* max bitlength of coded msg     */
#define D_NOTIFY_NCH                   (0x20)     
#define BSIZE_D_NOTIFY_NCH             (0x40f)    /* max bitlength of coded msg     */
#define D_PAG_REQ_1                    (0x21)     
#define BSIZE_D_PAG_REQ_1              (0xb8)     /* max bitlength of coded msg     */
#define D_PAG_REQ_2                    (0x22)     
#define BSIZE_D_PAG_REQ_2              (0xb8)     /* max bitlength of coded msg     */
#define D_PAG_REQ_3                    (0x24)     
#define BSIZE_D_PAG_REQ_3              (0xb8)     /* max bitlength of coded msg     */
#define U_PAG_RES                      (0x27)     
#define BSIZE_U_PAG_RES                (0xe0)     /* max bitlength of coded msg     */
#define D_PART_REL                     (0xa)      
#define BSIZE_D_PART_REL               (0x2c)     /* max bitlength of coded msg     */
#define U_PART_REL_COMP                (0xf)      
#define BSIZE_U_PART_REL_COMP          (0x8)      /* max bitlength of coded msg     */
#define D_PDCH_ASS_CMD                 (0x23)     
#define BSIZE_D_PDCH_ASS_CMD           (0x6ab)    /* max bitlength of coded msg     */
#define D_PHYS_INFO                    (0x2d)     
#define BSIZE_D_PHYS_INFO              (0x10)     /* max bitlength of coded msg     */
#define D_CHANGE_ORDER                 (0x8)      
#define BSIZE_D_CHANGE_ORDER           (0x1c)     /* max bitlength of coded msg     */
#define D_RR_INIT_REQ                  (0x3c)     
#define BSIZE_D_RR_INIT_REQ            (0xa4)     /* max bitlength of coded msg     */
#define B_RR_STATUS                    (0x12)     
#define BSIZE_B_RR_STATUS              (0x10)     /* max bitlength of coded msg     */
#define D_SYS_INFO_1                   (0x19)     
#define BSIZE_D_SYS_INFO_1             (0xb0)     /* max bitlength of coded msg     */
#define D_SYS_INFO_2                   (0x1a)     
#define BSIZE_D_SYS_INFO_2             (0xa8)     /* max bitlength of coded msg     */
#define D_SYS_INFO_2BIS                (0x2)      
#define BSIZE_D_SYS_INFO_2BIS          (0xb0)     /* max bitlength of coded msg     */
#define D_SYS_INFO_2TER                (0x3)      
#define BSIZE_D_SYS_INFO_2TER          (0xb0)     /* max bitlength of coded msg     */
#define D_SYS_INFO_3                   (0x1b)     
#define BSIZE_D_SYS_INFO_3             (0xb0)     /* max bitlength of coded msg     */
#define D_SYS_INFO_4                   (0x1c)     
#define BSIZE_D_SYS_INFO_4             (0xb0)     /* max bitlength of coded msg     */
#define D_SYS_INFO_5                   (0x1d)     
#define BSIZE_D_SYS_INFO_5             (0x88)     /* max bitlength of coded msg     */
#define D_SYS_INFO_5BIS                (0x5)      
#define BSIZE_D_SYS_INFO_5BIS          (0x88)     /* max bitlength of coded msg     */
#define D_SYS_INFO_5TER                (0x6)      
#define BSIZE_D_SYS_INFO_5TER          (0x88)     /* max bitlength of coded msg     */
#define D_SYS_INFO_6                   (0x1e)     
#define BSIZE_D_SYS_INFO_6             (0x90)     /* max bitlength of coded msg     */
#define D_SYS_INFO_7                   (0x1f)     
#define BSIZE_D_SYS_INFO_7             (0xb0)     /* max bitlength of coded msg     */
#define D_SYS_INFO_8                   (0x18)     
#define BSIZE_D_SYS_INFO_8             (0xb0)     /* max bitlength of coded msg     */
#define D_SYS_INFO_9                   (0x4)      
#define BSIZE_D_SYS_INFO_9             (0xb0)     /* max bitlength of coded msg     */
#define D_SYS_INFO_13                  (0x0)      
#define BSIZE_D_SYS_INFO_13            (0xb0)     /* max bitlength of coded msg     */
#define D_SYS_INFO_16                  (0x3d)     
#define BSIZE_D_SYS_INFO_16            (0xb0)     /* max bitlength of coded msg     */
#define D_SYS_INFO_17                  (0x3e)     
#define BSIZE_D_SYS_INFO_17            (0xb0)     /* max bitlength of coded msg     */
#define TALKER_IND                     (0x11)     
#define BSIZE_TALKER_IND               (0xd8)     /* max bitlength of coded msg     */
#define D_UPLINK_BUSY                  (0x2a)     
#define BSIZE_D_UPLINK_BUSY            (0x8)      /* max bitlength of coded msg     */
#define B_UPLINK_REL                   (0xe)      
#define BSIZE_B_UPLINK_REL             (0x10)     /* max bitlength of coded msg     */
#define D_VGCS_UPLINK_GRANT            (0x9)      
#define BSIZE_D_VGCS_UPLINK_GRANT      (0x28)     /* max bitlength of coded msg     */

/*
 * calculated constants
 */
#define MAX_MESSAGE_ID_RR              (0x3f)     /* highest value for msg_type     */
#define MAX_MSTRUCT_LEN_RR             (0x2ec)    /* max length of a decoded message */
#define MAX_BITSTREAM_LEN_RR           (0x7d8)    /* max amount of bits for a coded message */
#define CCDENT_RR                      (0x1)      
/*
 * Constants for the Protocol entity MM
 */
#define D_ABORT                        (0x29)     
#define BSIZE_D_ABORT                  (0x10)     /* max bitlength of coded msg     */
#define D_AUTH_REJ                     (0x11)     
#define BSIZE_D_AUTH_REJ               (0x8)      /* max bitlength of coded msg     */
#define D_AUTH_REQ                     (0x12)     
#define BSIZE_D_AUTH_REQ               (0x90)     /* max bitlength of coded msg     */
#define U_AUTH_RES                     (0x14)     
#define BSIZE_U_AUTH_RES               (0x28)     /* max bitlength of coded msg     */
#define U_CM_REESTAB_REQ               (0x28)     
#define BSIZE_U_CM_REESTAB_REQ         (0x150)    /* max bitlength of coded msg     */
#define U_CM_SERV_ABORT                (0x23)     
#define BSIZE_U_CM_SERV_ABORT          (0x8)      /* max bitlength of coded msg     */
#define D_CM_SERV_ACCEPT               (0x21)     
#define BSIZE_D_CM_SERV_ACCEPT         (0x8)      /* max bitlength of coded msg     */
#define D_CM_SERV_REJ                  (0x22)     
#define BSIZE_D_CM_SERV_REJ            (0x10)     /* max bitlength of coded msg     */
#define U_CM_SERV_REQ                  (0x24)     
#define BSIZE_U_CM_SERV_REQ            (0x120)    /* max bitlength of coded msg     */
#define D_IDENT_REQ                    (0x18)     
#define BSIZE_D_IDENT_REQ              (0x10)     /* max bitlength of coded msg     */
#define U_IDENT_RES                    (0x19)     
#define BSIZE_U_IDENT_RES              (0xf8)     /* max bitlength of coded msg     */
#define U_IMSI_DETACH_IND              (0x1)      
#define BSIZE_U_IMSI_DETACH_IND        (0x100)    /* max bitlength of coded msg     */
#define D_LOC_UPD_ACCEPT               (0x2)      
#define BSIZE_D_LOC_UPD_ACCEPT         (0x130)    /* max bitlength of coded msg     */
#define D_LOC_UPD_REJ                  (0x4)      
#define BSIZE_D_LOC_UPD_REJ            (0x10)     /* max bitlength of coded msg     */
#define U_LOC_UPD_REQ                  (0x8)      
#define BSIZE_U_LOC_UPD_REQ            (0x130)    /* max bitlength of coded msg     */
#define B_MM_STATUS                    (0x31)     
#define BSIZE_B_MM_STATUS              (0x10)     /* max bitlength of coded msg     */
#define D_TMSI_REALLOC_CMD             (0x1a)     
#define BSIZE_D_TMSI_REALLOC_CMD       (0x120)    /* max bitlength of coded msg     */
#define U_TMSI_REALLOC_COMP            (0x1b)     
#define BSIZE_U_TMSI_REALLOC_COMP      (0x8)      /* max bitlength of coded msg     */
#define D_CM_SERVICE_PROMPT            (0x25)     
#define BSIZE_D_CM_SERVICE_PROMPT      (0x10)     /* max bitlength of coded msg     */
#define D_MM_INFORMATION               (0x32)     
#define BSIZE_D_MM_INFORMATION         (0x338)    /* max bitlength of coded msg     */

/*
 * calculated constants
 */
#define MAX_MESSAGE_ID_MM              (0x32)     /* highest value for msg_type     */
#define MAX_MSTRUCT_LEN_MM             (0x7c)     /* max length of a decoded message */
#define MAX_BITSTREAM_LEN_MM           (0x338)    /* max amount of bits for a coded message */
#define CCDENT_MM                      (0x2)      
/*
 * Constants for the Protocol entity CC
 */
#define D_ALERT                        (0x1)      

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -