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

📄 p_mncc.val

📁 GSM手机设计软件代码
💻 VAL
📖 第 1 页 / 共 2 页
字号:
#define MNCC_CAUSE_STATUS_ENQUIRY      (0x51e)    /* response to status enquiry     */
#define MNCC_CAUSE_UNSPECIFIED         (0x51f)    /* normal, unspecified            */
#define MNCC_CAUSE_NO_CHAN_AVAIL       (0x522)    /* no circuit / channel available */
#define MNCC_CAUSE_NETWORK_ORDER       (0x526)    /* network out of order           */
#define MNCC_CAUSE_TEMP_FAIL           (0x529)    /* temporary failure              */
#define MNCC_CAUSE_SWITCH_CONGEST      (0x52a)    /* switching equipment congestion */
#define MNCC_CAUSE_INFO_DISCARD        (0x52b)    /* access information discarded   */
#define MNCC_CAUSE_REQ_CHAN_UNAVAIL    (0x52c)    /* requested circuit / channel not available */
#define MNCC_CAUSE_RESOURCE_UNAVAIL    (0x52f)    /* resources unavailable, unspecified */
#define MNCC_CAUSE_QOS_UNAVAIL         (0x531)    /* quality of service unavailable */
#define MNCC_CAUSE_FACILITY_UNSUBSCRIB (0x532)    /* requested facility not subscribed */
#define MNCC_CAUSE_BARRED_IN_CUG       (0x537)    /* incoming calls barred within the CUG */
#define MNCC_CAUSE_BEARER_CAP_AUTHORIZ (0x539)    /* bearer capability not authorized */
#define MNCC_CAUSE_BEARER_CAP_UNAVAIL  (0x53a)    /* bearer capability not presently available */
#define MNCC_CAUSE_SERVICE_UNAVAIL     (0x53f)    /* service or option not available, unspecified */
#define MNCC_CAUSE_BEARER_NOT_IMPLEM   (0x541)    /* bearer service not implemented */
#define MNCC_CAUSE_ACM_MAX             (0x544)    /* ACM equal or greater than ACMmax */
#define MNCC_CAUSE_FACILITY_NOT_IMPLEM (0x545)    /* requested facility not implemented */
#define MNCC_CAUSE_RESTICT_BEARER_CAP  (0x546)    /* only restricted digital information bearer capability is available */
#define MNCC_CAUSE_SERVICE_NOT_IMPLEM  (0x54f)    /* service or option not implemented, unspecified */
#define MNCC_CAUSE_INVALID_TI          (0x551)    /* invalid transaction identifier value */
#define MNCC_CAUSE_USER_NOT_IN_CUG     (0x557)    /* user not member of CUG         */
#define MNCC_CAUSE_INCOMPAT_DEST       (0x558)    /* incompatible destination (originated by net) */
#define MNCC_CAUSE_INVALID_TRANS_NET   (0x55b)    /* invalid transit network selection */
#define MNCC_CAUSE_INCORRECT_MESSAGE   (0x55f)    /* semantically incorrect message */
#define MNCC_CAUSE_INVALID_MAND_INFO   (0x560)    /* invalid mandatory information  */
#define MNCC_CAUSE_MESSAGE_TYPE_NOT_IMPLEM (0x561)/* message type non-existent or not implemented */
#define MNCC_CAUSE_MESSAGE_TYPE_INCOMPAT (0x562)  /* message type not compatible with protocol state */
#define MNCC_CAUSE_INFO_ELEM_NOT_IMPLEM (0x563)   /* information element non-existent or not implemented */
#define MNCC_CAUSE_COND_INFO_ELEM      (0x564)    /* conditional information element error */
#define MNCC_CAUSE_MESSAGE_INCOMPAT    (0x565)    /* message not compatible with protocol state */
#define MNCC_CAUSE_TIMER               (0x566)    /* recovery on timer expiry       */
#define MNCC_CAUSE_PROTOCOL            (0x56f)    /* protocol error, unspecified    */
#define MNCC_CAUSE_INTERWORKING        (0x57f)    /* interworking, unspecified      */
#define MNCC_CAUSE_MS_FACILITY_REJECT  (0x451d)   /* facility rejected (originated by MS) */
#define MNCC_CAUSE_MS_BEARER_NOT_IMPLEM (0x4541)  /* bearer service not implemented (originated by MS) */
#define MNCC_CAUSE_MS_INVALID_TI       (0x4551)   /* invalid transaction identifier value (originated by MS) */
#define MNCC_CAUSE_MS_INCOMPAT_DEST    (0x4558)   /* incompatible destination (originated by MS) */
#define MNCC_CAUSE_MS_INVALID_MAND_INFO (0x4560)  /* invalid mandatory information (originated by MS) */
#define MNCC_CAUSE_MS_COND_INFO_ELEM   (0x4564)   /* conditional information element error (originated by MS) */
#define MNCC_CAUSE_MS_MESSAGE_INCOMPAT (0x4565)   /* message not compatible with protocol state (originated by MS) */
#define MNCC_CAUSE_MS_TIMER            (0x4566)   /* recovery on timer expiry (originated by MS) */
#define MNCC_CAUSE_MODIFY_SUCCESS      (0x8500)   /* in-call modification successfully performed, MODIFY COMPLETE message received */
#define MNCC_CAUSE_HOLD_SUCCESS        (0x8502)   /* hold successfully performed, HOLD ACKNOWLEDGE message received */
#define MNCC_CAUSE_RETRIEVE_SUCCESS    (0x8503)   /* retrieve successfully performed, RETRIEVE ACKNOWLEDGE message received */
#define MNCC_CAUSE_DTMF_START_SUCCESS  (0x8504)   /* start of DTMF successfully performed, START DTMF ACKNOWLEDGE message received */
#define MNCC_CAUSE_NO_NET_CAUSE        (0x85ff)   /* network initiated without cause */
#define MNCC_CAUSE_SUCCESS             (0xc500)   /* operation successfully performed (e.g. a call establishment); this cause is used only if no more specific cause applies */
#define MNCC_CAUSE_DTMF_NOT_ALLOWED    (0xc501)   /* DTMF is currently not allowed (no speech TCH) */
#define MNCC_CAUSE_DTMF_BUFFER_FULL    (0xc502)   /* DTMF storage buffer overflow   */
#define MNCC_CAUSE_DTMF_ABORTED        (0xc503)   /* DTMF was aborted (e.g. due to state change) */
#define MNCC_CAUSE_MAX_NO_RECALLS_REACHED (0xc504)/* maximum number of recalls (CCBS) was reached */
#define MNCC_CAUSE_MAX_NO_CALLS_REACHED (0xc505)  /* maximum number of calls was reached */
#define MNCC_CAUSE_CHANNEL_SYNC        (0xc506)   /* channel mode or type information (changed) */
#define MNCC_CAUSE_REEST_STARTED       (0xc507)   /* call re-establishment started  */
#define MNCC_CAUSE_REEST_FINISHED      (0xc508)   /* call re-establishment is finished */
#define MNCC_CAUSE_NO_MS_CAUSE         (0xc5ff)   /* MS initiated without cause     */
/*
 * Value constants for diagnostic
 */
#define DIAG_MOC_BAR_CUG               (0x81)     /* Outgoing calls barred within CUG */
#define DIAG_NO_CUG_SELECTED           (0x82)     /* No CUG selected                */
#define DIAG_UNKNOWN_CUG_INDEX         (0x83)     /* Unknown CUG index              */
#define DIAG_INCOMPAT_CUG_INDEX        (0x84)     /* CUG index incompatible with requested basic service */
#define DIAG_CUG_FAIL_UNSPEC           (0x85)     /* CUG call Failure unspecified   */
#define DIAG_CLIR_NOT_SUBSCRIBED       (0x86)     /* CLIR not subscribed            */
#define DIAG_CCBS_POSSIBLE             (0x87)     /* CCBS possible                  */
#define DIAG_CCBS_NOT_POSSIBLE         (0x88)     /* CCBS not possible              */
/*
 * Value constants for serv
 */
#define SERV_SPEECH                    (0x0)      /* speech                         */
#define SERV_DATA                      (0x1)      /* data                           */
#define SERV_NOT_PRES                  (0xff)     /* not present                    */
/*
 * Value constants for nd
 */
#define ND_USER_SUSPEND                (0x0)      /* user suspended                 */
#define ND_USER_RESUME                 (0x1)      /* user resumed                   */
#define ND_BEAR_CHANGE                 (0x2)      /* bearer change                  */
#define ND_NOT_PRES                    (0xff)     /* not present                    */
/*
 * Value constants for sig
 */
#define SIG_DIAL_TONE_ON               (0x0)      /* dial tone on                   */
#define SIG_RING_BACK_TONE_ON          (0x1)      /* ring back tone on              */
#define SIG_INT_TONE_ON                (0x2)      /* intercept tone on              */
#define SIG_NET_CONG_TONE_ON           (0x3)      /* network congestion tone on     */
#define SIG_BUSY_TONE_ON               (0x4)      /* busy tone on                   */
#define SIG_CONF_TONE_ON               (0x5)      /* confirm tone on                */
#define SIG_ANS_TONE_ON                (0x6)      /* answer tone on                 */
#define SIG_CALL_WAIT_TONE_ON          (0x7)      /* call waiting tone on           */
#define SIG_OFF_HOOK_WARN_TONE_ON      (0x8)      /* off-hook warning tone on       */
#define SIG_TONES_OFF                  (0x3f)     /* tones off                      */
#define SIG_ALERT_OFF                  (0x4f)     /* alerting off                   */
#define SIG_NOT_PRES                   (0xff)     /* not present                    */
/*
 * Value constants for key
 */
#define DIG_0                          (0x30)     /* digit '0'                      */
#define DIG_1                          (0x31)     /* digit '1'                      */
#define DIG_2                          (0x32)     /* digit '2'                      */
#define DIG_3                          (0x33)     /* digit '3'                      */
#define DIG_4                          (0x34)     /* digit '4'                      */
#define DIG_5                          (0x35)     /* digit '5'                      */
#define DIG_6                          (0x36)     /* digit '6'                      */
#define DIG_7                          (0x37)     /* digit '7'                      */
#define DIG_8                          (0x38)     /* digit '8'                      */
#define DIG_9                          (0x39)     /* digit '9'                      */
#define DIG_A                          (0x41)     /* 'A'                            */
#define DIG_B                          (0x42)     /* 'B'                            */
#define DIG_C                          (0x43)     /* 'C'                            */
#define DIG_D                          (0x44)     /* 'D'                            */
#define DIG_STAR                       (0x2a)     /* '('                            */
#define DIG_HASH                       (0x23)     /* '#'                            */
#define DIG_RES                        (0x7f)     /* reserved                       */
/*
 * Value constants for dtmf_mod
 */
#define DTMF_MOD_AUTO                  (0x0)      /* automatic mode with fixed duration */
#define DTMF_MOD_MAN_START             (0x1)      /* manual mode start sending DTMF digit */
#define DTMF_MOD_MAN_STOP              (0x2)      /* manual mode stop sending DTMF digit */
/*
 * Value constants for bc_mod
 */
#define BC_MOD_CODE                    (0x0)      /* code bearer capabilities       */
#define BC_MOD_DECODE                  (0x1)      /* decode bearer capabilities     */
/*
 * Value constants for congest_lev
 */
#define CL_RECEIVER_READY              (0x0)      /* receiver ready                 */
#define CL_RECEIVER_NOT_READY          (0xf)      /* receiver not ready             */
#define CL_NOT_PRES                    (0xff)     /* not present                    */
/*
 * Value constants for more_data
 */
#define MD_NO_MORE_DATA                (0x0)      /* no more data                   */
#define MD_MORE_DATA                   (0x1)      /* more data                      */
#define MD_NOT_PRES                    (0xff)     /* not present                    */
/*
 * Value constants for fac_context
 */
#define FAC_IN_ALERT                   (0x0)      /* Facility information in ALERT message */
#define FAC_IN_CALL_PROCEED            (0x1)      /* Facility information in CALL PROCEEDING message */
#define FAC_IN_DISCONNECT              (0x2)      /* Facility information in DISCONNECT message */
#define FAC_IN_RELEASE                 (0x3)      /* Facility information in RELEASE message */
#define FAC_IN_CONNECT                 (0x4)      /* Facility information in CONNECT message */
#define FAC_IN_SETUP                   (0x5)      /* Facility information in SETUP message */
#define FAC_IN_FACILITY                (0x6)      /* Facility information in USER INFORMATION message */
#define FAC_IN_RELEASE_COMP            (0x7)      /* Facility information in RELEASE COMPLETE message */
#define FAC_IN_RECALL                  (0x8)      /* Facility information in RECALL message */
/*
 * Value constants for rcl_type
 */
#define RCL_CCBS                       (0x0)      /* CCBS                           */
#define RCL_CCBS_1                     (0x1)      /* treated as CCBS                */
#define RCL_CCBS_2                     (0x2)      /* treated as CCBS                */
#define RCL_CCBS_3                     (0x3)      /* treated as CCBS                */
#define RCL_CCBS_4                     (0x4)      /* treated as CCBS                */
#define RCL_CCBS_5                     (0x5)      /* treated as CCBS                */
#define RCL_CCBS_6                     (0x6)      /* treated as CCBS                */
/*
 * Value constants for prio
 */
#define PRIO_NORM_CALL                 (0x0)      /* normal call                    */
#define PRIO_EMERG_CALL                (0x1)      /* emergency call                 */
/*
 * Value constants for clir_sup
 */
#define CLR_SUP                        (0x0)      /* CLIR suppressed                */
#define CLR_SUP_NOT                    (0x1)      /* CLIR not suppressed            */
#define CLR_NOT_PRES                   (0xff)     /* CLIR not present               */
/*
 * Value constants for ss_version
 */
#define SS_VERSION_2                   (0x0)      /* phase 2 service, ellipsis notation and phase 2 error handling */
#define SS_VERSION_3                   (0x1)      /* SS-Protocol version 3 and phase 2 error handling */
#define SS_VER_NOT_PRES                (0xff)     /* not present                    */
/*
 * Value constants for sns_mode
 */
#define SNS_MODE_VOICE                 (0x0)      /* voice calls                    */
#define SNS_MODE_VAF_VOICE             (0x1)      /* voice alternating FAX, voice first */
#define SNS_MODE_FAX                   (0x2)      /* FAX calls                      */
#define SNS_MODE_VAD_VOICE             (0x3)      /* voice alternating data, voice first */
#define SNS_MODE_DATA                  (0x4)      /* data calls                     */
#define SNS_MODE_VAF_FAX               (0x5)      /* voice alternating FAX, FAX first */
#define SNS_MODE_VAD_DATA              (0x6)      /* voice alternating data, data first */
#define SNS_MODE_VFD                   (0x7)      /* voice followed by data         */
/*
 * Value constants for ctm_ena
 */
#define CTM_DISABLED                   (0x0)      /* CTM not supported              */
#define CTM_ENABLED                    (0x1)      /* CTM supported                  */
/*
 * Value constants for synccs
 */
#define SYNCCS_MPTY_EVENT              (0x0)      /* Multi party event              */
#define SYNCCS_NOT_PRESENT             (0xffff)   /* Synchronization cause not present */
/*
 * Value constants for mpty_event
 */
#define MPTY_BUILD_SENT                (0x0)      /* BuildMPTY Invoke sent          */
#define MPTY_BUILD_FAIL                (0x1)      /* BuildMPTY Invoke failed        */
#define MPTY_BUILD_SUCCESS             (0x2)      /* BuildMPTY Invoke ok            */
#define MPTY_SPLIT_SENT                (0x3)      /* SplitMPTY Invoke sent          */
#define MPTY_SPLIT_FAIL                (0x4)      /* SplitMPTY Invoke failed        */
#define MPTY_SPLIT_SUCCESS             (0x5)      /* SplitMPTY Invoke Return Result ok */
#define MPTY_HOLD_SENT                 (0x6)      /* HoldMPTY Invoke sent           */
#define MPTY_HOLD_FAIL                 (0x7)      /* HoldMPTY Invoke failed         */
#define MPTY_HOLD_SUCCESS              (0x8)      /* HoldMPTY Invoke ok             */
#define MPTY_RETRIEVE_SENT             (0x9)      /* RetrieveMPTY Invoke            */
#define MPTY_RETRIEVE_FAIL             (0xa)      /* RetrieveMPTY Invoke failed     */
#define MPTY_RETRIEVE_SUCCESS          (0xb)      /* RetrieveMPTY Invoke Return Result ok */
#define MPTY_NOT_PRESENT               (0xff)     /* Parameter not present          */

/*
 * user defined constants
 */
#define FACILITY_LEN                   (0xfb)     
#define USER_LEN                       (0x83)     
#define MAX_CC_CALLING_NUMBER          (0x16)     
#define MAX_CC_REDIR_NUMBER            (0x20)     
#define MAX_CC_CALLED_NUMBER           (0x50)     
#define SUB_LENGTH                     (0x14)     
#define MAX_BC_LEN                     (0xa)      
#define CC_ORIGINATING_ENTITY          (0x5)      
#define ACI_ORIGINATING_ENTITY         (0x1)      

#include "CDG_LEAVE.h"


#endif

⌨️ 快捷键说明

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