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

📄 mconst.cdg

📁 GSM手机设计软件代码
💻 CDG
📖 第 1 页 / 共 4 页
字号:
#define BSIZE_D_ALERT                  (0xc40)    /* max bitlength of coded msg     */
#define U_ALERT                        (0x1)      
#define BSIZE_U_ALERT                  (0xc38)    /* max bitlength of coded msg     */
#define U_CALL_CONF                    (0x8)      
#define BSIZE_U_CALL_CONF              (0x248)    /* max bitlength of coded msg     */
#define D_CALL_PROCEED                 (0x2)      
#define BSIZE_D_CALL_PROCEED           (0x938)    /* max bitlength of coded msg     */
#define B_CONGEST_CTRL                 (0x39)     
#define BSIZE_B_CONGEST_CTRL           (0x110)    /* max bitlength of coded msg     */
#define D_CONNECT                      (0x7)      
#define BSIZE_D_CONNECT                (0xdc8)    /* max bitlength of coded msg     */
#define U_CONNECT                      (0x7)      
#define BSIZE_U_CONNECT                (0xcf0)    /* max bitlength of coded msg     */
#define B_CONNECT_ACK                  (0xf)      
#define BSIZE_B_CONNECT_ACK            (0x8)      /* max bitlength of coded msg     */
#define D_DISCONNECT                   (0x25)     
#define BSIZE_D_DISCONNECT             (0xd50)    /* max bitlength of coded msg     */
#define U_DISCONNECT                   (0x25)     
#define BSIZE_U_DISCONNECT             (0xd30)    /* max bitlength of coded msg     */
#define U_EMERGE_SETUP                 (0xe)      
#define BSIZE_U_EMERGE_SETUP           (0x98)     /* max bitlength of coded msg     */
#define D_FACILITY                     (0x3a)     
#define BSIZE_D_FACILITY               (0x7e8)    /* max bitlength of coded msg     */
#define U_FACILITY                     (0x3a)     
#define BSIZE_U_FACILITY               (0x800)    /* max bitlength of coded msg     */
#define U_HOLD                         (0x18)     
#define BSIZE_U_HOLD                   (0x8)      /* max bitlength of coded msg     */
#define D_HOLD_ACK                     (0x19)     
#define BSIZE_D_HOLD_ACK               (0x8)      /* max bitlength of coded msg     */
#define D_HOLD_REJ                     (0x1a)     
#define BSIZE_D_HOLD_REJ               (0x100)    /* max bitlength of coded msg     */
#define B_MODIFY                       (0x17)     
#define BSIZE_B_MODIFY                 (0x137)    /* max bitlength of coded msg     */
#define B_MODIFY_COMP                  (0x1f)     
#define BSIZE_B_MODIFY_COMP            (0x137)    /* max bitlength of coded msg     */
#define B_MODIFY_REJ                   (0x13)     
#define BSIZE_B_MODIFY_REJ             (0x227)    /* max bitlength of coded msg     */
#define B_NOTIFY                       (0x3e)     
#define BSIZE_B_NOTIFY                 (0x10)     /* max bitlength of coded msg     */
#define D_PROGRESS                     (0x3)      
#define BSIZE_D_PROGRESS               (0x450)    /* max bitlength of coded msg     */
#define D_RELEASE                      (0x2d)     
#define BSIZE_D_RELEASE                (0xe20)    /* max bitlength of coded msg     */
#define U_RELEASE                      (0x2d)     
#define BSIZE_U_RELEASE                (0xe38)    /* max bitlength of coded msg     */
#define D_RELEASE_COMP                 (0x2a)     
#define BSIZE_D_RELEASE_COMP           (0xd20)    /* max bitlength of coded msg     */
#define U_RELEASE_COMP                 (0x2a)     
#define BSIZE_U_RELEASE_COMP           (0xd38)    /* max bitlength of coded msg     */
#define U_RETRIEVE                     (0x1c)     
#define BSIZE_U_RETRIEVE               (0x8)      /* max bitlength of coded msg     */
#define D_RETRIEVE_ACK                 (0x1d)     
#define BSIZE_D_RETRIEVE_ACK           (0x8)      /* max bitlength of coded msg     */
#define D_RETRIEVE_REJ                 (0x1e)     
#define BSIZE_D_RETRIEVE_REJ           (0x100)    /* max bitlength of coded msg     */
#define D_SETUP                        (0x5)      
#define BSIZE_D_SETUP                  (0x13f6)   /* max bitlength of coded msg     */
#define U_SETUP                        (0x5)      
#define BSIZE_U_SETUP                  (0x1ac6)   /* max bitlength of coded msg     */
#define U_START_DTMF                   (0x35)     
#define BSIZE_U_START_DTMF             (0x18)     /* max bitlength of coded msg     */
#define D_START_DTMF_ACK               (0x36)     
#define BSIZE_D_START_DTMF_ACK         (0x18)     /* max bitlength of coded msg     */
#define D_START_DTMF_REJ               (0x37)     
#define BSIZE_D_START_DTMF_REJ         (0x100)    /* max bitlength of coded msg     */
#define B_STATUS                       (0x3d)     
#define BSIZE_B_STATUS                 (0x120)    /* max bitlength of coded msg     */
#define B_STATUS_ENQ                   (0x34)     
#define BSIZE_B_STATUS_ENQ             (0x8)      /* max bitlength of coded msg     */
#define U_STOP_DTMF                    (0x31)     
#define BSIZE_U_STOP_DTMF              (0x8)      /* max bitlength of coded msg     */
#define D_STOP_DTMF_ACK                (0x32)     
#define BSIZE_D_STOP_DTMF_ACK          (0x8)      /* max bitlength of coded msg     */
#define B_USER_INFO                    (0x10)     
#define BSIZE_B_USER_INFO              (0x438)    /* max bitlength of coded msg     */
#define U_START_CC                     (0x9)      
#define BSIZE_U_START_CC               (0x20)     /* max bitlength of coded msg     */
#define D_RECALL                       (0xb)      
#define BSIZE_D_RECALL                 (0x7f0)    /* max bitlength of coded msg     */
#define U_CC_EST_CONF                  (0x6)      
#define BSIZE_U_CC_EST_CONF            (0x230)    /* max bitlength of coded msg     */
#define D_CC_ESTABLISHMENT             (0x4)      
#define BSIZE_D_CC_ESTABLISHMENT       (0x7e8)    /* max bitlength of coded msg     */

/*
 * calculated constants
 */
#define MAX_MESSAGE_ID_CC              (0x3e)     /* highest value for msg_type     */
#define MAX_MSTRUCT_LEN_CC             (0x448)    /* max length of a decoded message */
#define MAX_BITSTREAM_LEN_CC           (0x1ac6)   /* max amount of bits for a coded message */
#define CCDENT_CC                      (0x3)      
/*
 * Constants for the Protocol entity SS
 */
#define D_SS_FACILITY                  (0x3a)     
#define BSIZE_D_SS_FACILITY            (0x7e8)    /* max bitlength of coded msg     */
#define U_SS_FACILITY                  (0x3a)     
#define BSIZE_U_SS_FACILITY            (0x7e8)    /* max bitlength of coded msg     */
#define D_SS_REGISTER                  (0x3b)     
#define BSIZE_D_SS_REGISTER            (0x7f0)    /* max bitlength of coded msg     */
#define U_SS_REGISTER                  (0x3b)     
#define BSIZE_U_SS_REGISTER            (0x808)    /* max bitlength of coded msg     */
#define B_SS_REL_COMP                  (0x2a)     
#define BSIZE_B_SS_REL_COMP            (0x8f0)    /* max bitlength of coded msg     */

/*
 * calculated constants
 */
#define MAX_MESSAGE_ID_SS              (0x3b)     /* highest value for msg_type     */
#define MAX_MSTRUCT_LEN_SS             (0x128)    /* max length of a decoded message */
#define MAX_BITSTREAM_LEN_SS           (0x8f0)    /* max amount of bits for a coded message */
#define CCDENT_SS                      (0x4)      
/*
 * Constants for the Protocol entity SMS
 */
#define B_CP_ACK                       (0x4)      
#define BSIZE_B_CP_ACK                 (0x8)      /* max bitlength of coded msg     */
#define D_CP_DATA                      (0x1)      
#define BSIZE_D_CP_DATA                (0x109d)   /* max bitlength of coded msg     */
#define U_CP_DATA                      (0x1)      
#define BSIZE_U_CP_DATA                (0x109d)   /* max bitlength of coded msg     */
#define B_CP_ERROR                     (0x10)     
#define BSIZE_B_CP_ERROR               (0x10)     /* max bitlength of coded msg     */
#define TP_DELIVER                     (0x28)     
#define BSIZE_TP_DELIVER               (0x1050)   /* max bitlength of coded msg     */
#define TP_DLVR_REP_ERR                (0x24)     
#define BSIZE_TP_DLVR_REP_ERR          (0xf50)    /* max bitlength of coded msg     */
#define TP_DLVR_REP_ACK                (0x20)     
#define BSIZE_TP_DLVR_REP_ACK          (0xf48)    /* max bitlength of coded msg     */
#define TP_SUBMIT                      (0x21)     
#define BSIZE_TP_SUBMIT                (0x10d8)   /* max bitlength of coded msg     */
#define TP_SBMT_REP_ERR                (0x2b)     
#define BSIZE_TP_SBMT_REP_ERR          (0xf50)    /* max bitlength of coded msg     */
#define TP_SBMT_REP_ACK                (0x29)     
#define BSIZE_TP_SBMT_REP_ACK          (0xfb0)    /* max bitlength of coded msg     */
#define TP_STATUS                      (0x2a)     
#define BSIZE_TP_STATUS                (0x10d8)   /* max bitlength of coded msg     */
#define TP_COMMAND                     (0x22)     
#define BSIZE_TP_COMMAND               (0xff8)    /* max bitlength of coded msg     */
#define SIM_PDU                        (0x30)     
#define BSIZE_SIM_PDU                  (0x5da)    /* max bitlength of coded msg     */

/*
 * calculated constants
 */
#define MAX_MESSAGE_ID_SMS             (0x30)     /* highest value for msg_type     */
#define MAX_MSTRUCT_LEN_SMS            (0x250)    /* max length of a decoded message */
#define MAX_BITSTREAM_LEN_SMS          (0x10d8)   /* max amount of bits for a coded message */
#define CCDENT_SMS                     (0x5)      
/*
 * Constants for the Protocol entity FAC
 */
#define COMPONENT                      (0x0)      
#define BSIZE_COMPONENT                (0x1858)   /* max bitlength of coded msg     */
#define REGISTER_SS_INV                (0xa)      
#define BSIZE_REGISTER_SS_INV          (0x290)    /* max bitlength of coded msg     */
#define REGISTER_SS_RES                (0xa)      
#define BSIZE_REGISTER_SS_RES          (0x4cd8)   /* max bitlength of coded msg     */
#define ERASE_SS_INV                   (0xb)      
#define BSIZE_ERASE_SS_INV             (0x60)     /* max bitlength of coded msg     */
#define ERASE_SS_RES                   (0xb)      
#define BSIZE_ERASE_SS_RES             (0x4cd8)   /* max bitlength of coded msg     */
#define ACTIVATE_SS_INV                (0xc)      
#define BSIZE_ACTIVATE_SS_INV          (0x60)     /* max bitlength of coded msg     */
#define ACTIVATE_SS_RES                (0xc)      
#define BSIZE_ACTIVATE_SS_RES          (0x4cd8)   /* max bitlength of coded msg     */
#define DEACTIVATE_SS_INV              (0xd)      
#define BSIZE_DEACTIVATE_SS_INV        (0x60)     /* max bitlength of coded msg     */
#define DEACTIVATE_SS_RES              (0xd)      
#define BSIZE_DEACTIVATE_SS_RES        (0x4cd8)   /* max bitlength of coded msg     */
#define INTERROGATE_SS_INV             (0xe)      
#define BSIZE_INTERROGATE_SS_INV       (0x60)     /* max bitlength of coded msg     */
#define INTERROGATE_SS_RES             (0xe)      
#define BSIZE_INTERROGATE_SS_RES       (0x3168)   /* max bitlength of coded msg     */
#define NOTIFY_SS_INV                  (0x10)     
#define BSIZE_NOTIFY_SS_INV            (0x12a0)   /* max bitlength of coded msg     */
#define REGISTER_PWD_INV               (0x11)     
#define BSIZE_REGISTER_PWD_INV         (0x20)     /* max bitlength of coded msg     */
#define REGISTER_PWD_RES               (0x11)     
#define BSIZE_REGISTER_PWD_RES         (0x38)     /* max bitlength of coded msg     */
#define GET_PWD_INV                    (0x12)     
#define BSIZE_GET_PWD_INV              (0x20)     /* max bitlength of coded msg     */
#define GET_PWD_RES                    (0x12)     
#define BSIZE_GET_PWD_RES              (0x38)     /* max bitlength of coded msg     */
#define PROCESS_USSD_INV               (0x13)     
#define BSIZE_PROCESS_USSD_INV         (0x658)    /* max bitlength of coded msg     */
#define PROCESS_USSD_RES               (0x13)     
#define BSIZE_PROCESS_USSD_RES         (0x658)    /* max bitlength of coded msg     */
#define PROCESS_USSD_REQ_INV           (0x3b)     
#define BSIZE_PROCESS_USSD_REQ_INV     (0x558)    /* max bitlength of coded msg     */
#define PROCESS_USSD_REQ_RES           (0x3b)     
#define BSIZE_PROCESS_USSD_REQ_RES     (0x540)    /* max bitlength of coded msg     */
#define USSD_REQ_INV                   (0x3c)     
#define BSIZE_USSD_REQ_INV             (0x558)    /* max bitlength of coded msg     */
#define USSD_REQ_RES                   (0x3c)     
#define BSIZE_USSD_REQ_RES             (0x540)    /* max bitlength of coded msg     */
#define USSD_NOTIFY_INV                (0x3d)     
#define BSIZE_USSD_NOTIFY_INV          (0x558)    /* max bitlength of coded msg     */
#define FWD_CUG_INFO_INV               (0x78)     
#define BSIZE_FWD_CUG_INFO_INV         (0x58)     /* max bitlength of coded msg     */
#define SPLIT_MPTY_RES                 (0x79)     
#define BSIZE_SPLIT_MPTY_RES           (0x18)     /* max bitlength of coded msg     */
#define RETRIEVE_MPTY_RES              (0x7a)     
#define BSIZE_RETRIEVE_MPTY_RES        (0x18)     /* max bitlength of coded msg     */
#define HOLD_MPTY_RES                  (0x7b)     
#define BSIZE_HOLD_MPTY_RES            (0x18)     /* max bitlength of coded msg     */
#define BUILD_MPTY_RES                 (0x7c)     
#define BSIZE_BUILD_MPTY_RES           (0x18)     /* max bitlength of coded msg     */
#define FWD_CHG_ADVICE_INV             (0x7d)     
#define BSIZE_FWD_CHG_ADVICE_INV       (0x190)    /* max bitlength of coded msg     */
#define FWD_CHG_ADVICE_RES             (0x7d)     
#define BSIZE_FWD_CHG_ADVICE_RES       (0x18)     /* max bitlength of coded msg     */

⌨️ 快捷键说明

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