📄 mconst.cdg
字号:
#define COMP_SAT (0x1)
#define BSIZE_COMP_SAT (0x8d8) /* max bitlength of coded msg */
#define ERASE_CC_ENTRY_INV (0x4d)
#define BSIZE_ERASE_CC_ENTRY_INV (0x48) /* max bitlength of coded msg */
#define ERASE_CC_ENTRY_RES (0x4d)
#define BSIZE_ERASE_CC_ENTRY_RES (0x48) /* max bitlength of coded msg */
#define ACC_REGISTER_CC_ENTRY_INV (0x77)
#define BSIZE_ACC_REGISTER_CC_ENTRY_INV (0x748) /* max bitlength of coded msg */
#define ACC_REGISTER_CC_ENTRY_RES (0x77)
#define BSIZE_ACC_REGISTER_CC_ENTRY_RES (0x280) /* max bitlength of coded msg */
#define CALL_DEFLECTION_INV (0x75)
#define BSIZE_CALL_DEFLECTION_INV (0x218) /* max bitlength of coded msg */
#define USER_USER_SRV_INV (0x76)
#define BSIZE_USER_USER_SRV_INV (0x48) /* max bitlength of coded msg */
#define UNKNOWN_SUBSCRIBER_ERR (0x81)
#define BSIZE_UNKNOWN_SUBSCRIBER_ERR (0x838) /* max bitlength of coded msg */
#define ILLEGAL_SUBSCRIBER_ERR (0x89)
#define BSIZE_ILLEGAL_SUBSCRIBER_ERR (0x820) /* max bitlength of coded msg */
#define BEARER_SERV_NOT_PROV_ERR (0x8a)
#define BSIZE_BEARER_SERV_NOT_PROV_ERR (0x820) /* max bitlength of coded msg */
#define TELE_SERV_NOT_PROV_ERR (0x8b)
#define BSIZE_TELE_SERV_NOT_PROV_ERR (0x820) /* max bitlength of coded msg */
#define ILLEGAL_EQUIPMENT_ERR (0x8c)
#define BSIZE_ILLEGAL_EQUIPMENT_ERR (0x820) /* max bitlength of coded msg */
#define CALL_BARRED_ERR (0x8d)
#define BSIZE_CALL_BARRED_ERR (0x850) /* max bitlength of coded msg */
#define SS_INCOMPATIBILITY_ERR (0x94)
#define BSIZE_SS_INCOMPATIBILITY_ERR (0x78) /* max bitlength of coded msg */
#define FACILITY_NOT_SUPPORTED_ERR (0x95)
#define BSIZE_FACILITY_NOT_SUPPORTED_ERR (0x820) /* max bitlength of coded msg */
#define ABSENT_SUBSCRIBER_ERR (0x9b)
#define BSIZE_ABSENT_SUBSCRIBER_ERR (0x838) /* max bitlength of coded msg */
#define SYSTEM_FAILURE_ERR (0xa2)
#define BSIZE_SYSTEM_FAILURE_ERR (0x850) /* max bitlength of coded msg */
#define DATA_MISSING_ERR (0xa3)
#define BSIZE_DATA_MISSING_ERR (0x820) /* max bitlength of coded msg */
#define UNEXPECTED_DATA_VALUE_ERR (0xa4)
#define BSIZE_UNEXPECTED_DATA_VALUE_ERR (0x820) /* max bitlength of coded msg */
#define SS_ERROR_STATUS_ERR (0x91)
#define BSIZE_SS_ERROR_STATUS_ERR (0x20) /* max bitlength of coded msg */
#define PW_REGISTRATION_FAILURE_ERR (0xa5)
#define BSIZE_PW_REGISTRATION_FAILURE_ERR (0x20) /* max bitlength of coded msg */
/*
* calculated constants
*/
#define MAX_MESSAGE_ID_FAC (0xa5) /* highest value for msg_type */
#define MAX_MSTRUCT_LEN_FAC (0x878) /* max length of a decoded message */
#define MAX_BITSTREAM_LEN_FAC (0x4cd8) /* max amount of bits for a coded message */
#define CCDENT_FAC (0x6)
/*
* Constants for the Protocol entity SAT
*/
#define STK_CMD (0xe0)
#define BSIZE_STK_CMD (0x818) /* max bitlength of coded msg */
#define SEND_SS (0x11)
#define BSIZE_SEND_SS (0x2050) /* max bitlength of coded msg */
#define SETUP_CALL (0x10)
#define BSIZE_SETUP_CALL (0x4d28) /* max bitlength of coded msg */
#define SEND_SM (0x13)
#define BSIZE_SEND_SM (0x3348) /* max bitlength of coded msg */
#define SEND_USSD (0x12)
#define BSIZE_SEND_USSD (0x2370) /* max bitlength of coded msg */
#define SEND_DTMF (0x14)
#define BSIZE_SEND_DTMF (0x20e8) /* max bitlength of coded msg */
#define SETUP_EVENT (0x5)
#define BSIZE_SETUP_EVENT (0x70) /* max bitlength of coded msg */
#define TERM_RESP (0xe0)
#define BSIZE_TERM_RESP (0x3120) /* max bitlength of coded msg */
#define ENV_CMD (0xe1)
#define BSIZE_ENV_CMD (0x30d0) /* max bitlength of coded msg */
#define ENV_RES (0xe1)
#define BSIZE_ENV_RES (0xa340) /* max bitlength of coded msg */
#define ENV_RES_SMC (0xe2)
#define BSIZE_ENV_RES_SMC (0x5f30) /* max bitlength of coded msg */
#define RUN_AT (0x34)
#define BSIZE_RUN_AT (0x3c70) /* max bitlength of coded msg */
#define OPEN_CHANNEL (0x40)
#define BSIZE_OPEN_CHANNEL (0x3e48) /* max bitlength of coded msg */
#define CLOSE_CHANNEL (0x41)
#define BSIZE_CLOSE_CHANNEL (0x1e50) /* max bitlength of coded msg */
#define RECEIVE_DATA (0x42)
#define BSIZE_RECEIVE_DATA (0x1e70) /* max bitlength of coded msg */
#define SEND_DATA (0x43)
#define BSIZE_SEND_DATA (0x25f0) /* max bitlength of coded msg */
#define GET_CHA_STAT (0x44)
#define BSIZE_GET_CHA_STAT (0x8) /* max bitlength of coded msg */
#define LAUNCH_BROWSER (0x15)
#define BSIZE_LAUNCH_BROWSER (0x5120) /* max bitlength of coded msg */
/*
* calculated constants
*/
#define MAX_MESSAGE_ID_SAT (0xe2) /* highest value for msg_type */
#define MAX_MSTRUCT_LEN_SAT (0xc6c) /* max length of a decoded message */
#define MAX_BITSTREAM_LEN_SAT (0xa340) /* max amount of bits for a coded message */
#define CCDENT_SAT (0x7)
/*
* Constants for the Protocol entity M_RRLP_ASN1_INC
*/
/*
* calculated constants
*/
#define MAX_MESSAGE_ID_RRLP_ASN1 (0x0) /* highest value for msg_type */
#define MAX_MSTRUCT_LEN_RRLP_ASN1 (0x19c8) /* max length of a decoded message */
#define MAX_BITSTREAM_LEN_RRLP_ASN1 (0x0) /* max amount of bits for a coded message */
#define CCDENT_RRLP_ASN1 (0x8)
/*
* Constants for the Protocol entity M_RRLP_ASN1_MSG
*/
#define RRLP_ASN1_PDU_MSG (0x1)
#define BSIZE_RRLP_ASN1_PDU_MSG (0x76bd) /* max bitlength of coded msg */
/*
* calculated constants
*/
#define MAX_MESSAGE_ID_RRLP_ASN1_MSG (0x1) /* highest value for msg_type */
#define MAX_MSTRUCT_LEN_RRLP_ASN1_MSG (0x19cc) /* max length of a decoded message */
#define MAX_BITSTREAM_LEN_RRLP_ASN1_MSG (0x76bd) /* max amount of bits for a coded message */
#define CCDENT_RRLP_ASN1_MSG (0x9)
/*
* Constants for the Protocol entity T30
*/
#define BCS_DIS (0x1)
#define BSIZE_BCS_DIS (0x58) /* max bitlength of coded msg */
#define BCS_CSI (0x2)
#define BSIZE_BCS_CSI (0xa8) /* max bitlength of coded msg */
#define BCS_NSF (0x4)
#define BSIZE_BCS_NSF (0x2d8) /* max bitlength of coded msg */
#define BCS_DTC (0x81)
#define BSIZE_BCS_DTC (0x58) /* max bitlength of coded msg */
#define BCS_CIG (0x82)
#define BSIZE_BCS_CIG (0xa8) /* max bitlength of coded msg */
#define BCS_NSC (0x84)
#define BSIZE_BCS_NSC (0x2d8) /* max bitlength of coded msg */
#define BCS_PWD_POLL (0x83)
#define BSIZE_BCS_PWD_POLL (0xa8) /* max bitlength of coded msg */
#define BCS_SEP (0x85)
#define BSIZE_BCS_SEP (0xa8) /* max bitlength of coded msg */
#define BCS_DCS (0x41)
#define BSIZE_BCS_DCS (0x58) /* max bitlength of coded msg */
#define BCS_TSI (0x42)
#define BSIZE_BCS_TSI (0xa8) /* max bitlength of coded msg */
#define BCS_NSS (0x44)
#define BSIZE_BCS_NSS (0x2d8) /* max bitlength of coded msg */
#define BCS_SUB (0x43)
#define BSIZE_BCS_SUB (0xa8) /* max bitlength of coded msg */
#define BCS_PWD_SND (0x45)
#define BSIZE_BCS_PWD_SND (0xa8) /* max bitlength of coded msg */
#define BCS_CFR (0x21)
#define BSIZE_BCS_CFR (0x8) /* max bitlength of coded msg */
#define BCS_FTT (0x22)
#define BSIZE_BCS_FTT (0x8) /* max bitlength of coded msg */
#define BCS_EOM (0x71)
#define BSIZE_BCS_EOM (0x8) /* max bitlength of coded msg */
#define BCS_MPS (0x72)
#define BSIZE_BCS_MPS (0x8) /* max bitlength of coded msg */
#define BCS_EOP (0x74)
#define BSIZE_BCS_EOP (0x8) /* max bitlength of coded msg */
#define BCS_PRI_EOM (0x79)
#define BSIZE_BCS_PRI_EOM (0x8) /* max bitlength of coded msg */
#define BCS_PRI_MPS (0x7a)
#define BSIZE_BCS_PRI_MPS (0x8) /* max bitlength of coded msg */
#define BCS_PRI_EOP (0x7c)
#define BSIZE_BCS_PRI_EOP (0x8) /* max bitlength of coded msg */
#define BCS_MCF (0x31)
#define BSIZE_BCS_MCF (0x8) /* max bitlength of coded msg */
#define BCS_RTP (0x33)
#define BSIZE_BCS_RTP (0x8) /* max bitlength of coded msg */
#define BCS_RTN (0x32)
#define BSIZE_BCS_RTN (0x8) /* max bitlength of coded msg */
#define BCS_PIP (0x35)
#define BSIZE_BCS_PIP (0x8) /* max bitlength of coded msg */
#define BCS_PIN (0x34)
#define BSIZE_BCS_PIN (0x8) /* max bitlength of coded msg */
#define BCS_DCN (0x5f)
#define BSIZE_BCS_DCN (0x8) /* max bitlength of coded msg */
#define BCS_CRP (0x58)
#define BSIZE_BCS_CRP (0x8) /* max bitlength of coded msg */
/*
* calculated constants
*/
#define MAX_MESSAGE_ID_T30 (0x85) /* highest value for msg_type */
#define MAX_MSTRUCT_LEN_T30 (0x64) /* max length of a decoded message */
#define MAX_BITSTREAM_LEN_T30 (0x2d8) /* max amount of bits for a coded message */
#define CCDENT_T30 (0xa)
/*
* Constants for the Protocol entity GMM
*/
#define ATTACH_REQUEST (0x1)
#define BSIZE_ATTACH_REQUEST (0x1f4) /* max bitlength of coded msg */
#define ATTACH_ACCEPT (0x2)
#define BSIZE_ATTACH_ACCEPT (0x2a0) /* max bitlength of coded msg */
#define ATTACH_COMPLETE (0x3)
#define BSIZE_ATTACH_COMPLETE (0x8) /* max bitlength of coded msg */
#define ATTACH_REJECT (0x4)
#define BSIZE_ATTACH_REJECT (0x10) /* max bitlength of coded msg */
#define D_DETACH_REQUEST (0x5)
#define BSIZE_D_DETACH_REQUEST (0x20) /* max bitlength of coded msg */
#define U_DETACH_REQUEST (0x5)
#define BSIZE_U_DETACH_REQUEST (0x10) /* max bitlength of coded msg */
#define U_DETACH_ACCEPT (0x6)
#define BSIZE_U_DETACH_ACCEPT (0x8) /* max bitlength of coded msg */
#define D_DETACH_ACCEPT (0x6)
#define BSIZE_D_DETACH_ACCEPT (0x10) /* max bitlength of coded msg */
#define ROUTING_AREA_UPDATE_REQUEST (0x8)
#define BSIZE_ROUTING_AREA_UPDATE_REQUEST (0xfc) /* max bitlength of coded msg */
#define ROUTING_AREA_UPDATE_ACCEPT (0x9)
#define BSIZE_ROUTING_AREA_UPDATE_ACCEPT (0x334) /* max bitlength of coded msg */
#define ROUTING_AREA_UPDATE_COMPLETE (0xa)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -