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

📄 m_cc.val

📁 GSM手机设计软件代码
💻 VAL
📖 第 1 页 / 共 3 页
字号:
 */
#define NPI_UNKNOWN                    (0x0)      /* unknown                        */
#define NPI_ISDN                       (0x1)      /* ISDN/telephony numbering plan (Rec. E.164/E.163) */
#define NPI_X121                       (0x3)      /* data numbering plan (Recommendation X.121) */
#define NPI_F69                        (0x4)      /* telex numbering plan (Recommendation F.69) */
#define NPI_NATIONAL                   (0x8)      /* national numbering plan        */
#define NPI_PRIVATE                    (0x9)      /* private numbering plan         */
#define NPI_EXTENSTION                 (0xf)      /* reserved for extension         */
#define NPI_GNOLZ_DEF                  (0x0)      /* reserved                       */
/*
 * Value constants for tos
 */
#define TOS_NSAP                       (0x0)      /* NSAP (X.213/ISO 8348 AD2)      */
#define TOS_USER                       (0x2)      /* User specified                 */
#define TOS_GNOLZ_DEF                  (0x0)      /* reserved                       */
/*
 * Value constants for odd_even
 */
#define OE_EVEN                        (0x0)      /* even number of address signals */
#define OE_ODD                         (0x1)      /* odd number of address signals  */
/*
 * Value constants for present
 */
#define PRES_ALLOWED                   (0x0)      /* Presentation allowed           */
#define PRES_RESTRICTED                (0x1)      /* Presentation restricted        */
#define PRES_NOT_AVAIL                 (0x2)      /* Number not available due to interworking */
#define PRESENT_GNOLZ_DEF              (0x0)      /* reserved                       */
/*
 * Value constants for screen
 */
#define SCR_USER_UNSCREENED            (0x0)      /* User-provided, not screened    */
#define SCR_USER_PASSED                (0x1)      /* User-provided, verified and passed */
#define SCR_USER_FAILED                (0x2)      /* User-provided, verified and failed */
#define SCR_NETWORD                    (0x3)      /* Network provided               */
/*
 * Value constants for loc
 */
#define LOC_USER                       (0x0)      /* user                           */
#define LOC_PRIV_NET_LOCAL_USER        (0x1)      /* private network serving the local user */
#define LOC_PUB_NET_LOCAL_USER         (0x2)      /* public network serving the local user */
#define LOC_TRANSIT_NET                (0x3)      /* transit network                */
#define LOC_PUB_NET_REMOTE_USER        (0x4)      /* public network serving the remote user */
#define LOC_PRIV_NET_REMOTE_USER       (0x5)      /* private network serving the remote user */
#define LOC_INTERNATIONAL_NET          (0x7)      /* international network          */
#define LOC_BEYOND_POINT               (0xa)      /* network beyond interworking point */
#define LOC_GNOLZ_DEF                  (0x0)      /* reserved                       */
/*
 * Value constants for cause
 */
#define CAUSE_UNASSIGN                 (0x1)      /* Unassigned (unallocated) Note 9 number */
#define CAUSE_NO_ROUTE                 (0x3)      /* No route to destination        */
#define CAUSE_CHAN_UNACCEPT            (0x6)      /* Channel unacceptable           */
#define CAUSE_BARRED                   (0x8)      /* Operator determined barring    */
#define CAUSE_CALL_CLEAR               (0x10)     /* Normal call clearing           */
#define CAUSE_USER_BUSY                (0x11)     /* User busy                      */
#define CAUSE_NO_RESPONSE              (0x12)     /* No user responding             */
#define CAUSE_ALERT_NO_ANSWER          (0x13)     /* User alerting, no answer       */
#define CAUSE_CALL_REJECT              (0x15)     /* Call rejected                  */
#define CAUSE_NUM_CHANGED              (0x16)     /* Number changed                 */
#define CAUSE_PREEMPTION               (0x19)     /* Pre-emption                    */
#define CAUSE_USER_CLEAR               (0x1a)     /* Non selected user clearing     */
#define CAUSE_DEST_ORDER               (0x1b)     /* Destination out of order       */
#define CAUSE_NUM_FORMAT               (0x1c)     /* Invalid number format (incomplete number) */
#define CAUSE_FACILITY_REJECT          (0x1d)     /* Facility rejected              */
#define CAUSE_STATUS_ENQUIRY           (0x1e)     /* Response to STATUS ENQUIRY     */
#define CAUSE_UNSPECIFIED              (0x1f)     /* Normal, unspecified            */
#define CAUSE_NO_CHAN_AVAIL            (0x22)     /* No circuit/channel available   */
#define CAUSE_NETWORK_ORDER            (0x26)     /* Network out of order           */
#define CAUSE_TEMP_FAIL                (0x29)     /* Temporary failure              */
#define CAUSE_SWITCH_CONGEST           (0x2a)     /* Switching equipment congestion */
#define CAUSE_INFO_DISCARD             (0x2b)     /* Access information discarded   */
#define CAUSE_REQ_CHAN_UNAVAIL         (0x2c)     /* requested circuit/channel not available */
#define CAUSE_RESOURCE_UNAVAIL         (0x2f)     /* Resources unavailable, unspecified */
#define CAUSE_QOS_UNAVAIL              (0x31)     /* Quality of service unavailable */
#define CAUSE_FACILITY_UNSUBSCRIB      (0x32)     /* Requested facility not subscribed */
#define CAUSE_BARRED_IN_CUG            (0x37)     /* Incoming calls barred within the CUG */
#define CAUSE_BEARER_CAP_AUTHORIZ      (0x39)     /* Bearer capability not authorized */
#define CAUSE_BEARER_CAP_UNAVAIL       (0x3a)     /* Bearer capability not presently available */
#define CAUSE_SERVICE_UNAVAIL          (0x3f)     /* Service or option not available, unspecified */
#define CAUSE_BEARER_NOT_IMPLEM        (0x41)     /* Bearer service not implemented */
#define CAUSE_ACM_MAX                  (0x44)     /* ACM equal to or greater than ACMmax */
#define CAUSE_FACILITY_NOT_IMPLEM      (0x45)     /* Requested facility not implemented */
#define CAUSE_RESTICT_BEARER_CAP       (0x46)     /* Only restricted digital information bearer capability is available */
#define CAUSE_SERVICE_NOT_IMPLEM       (0x4f)     /* Service or option not implemented, unspecified */
#define CAUSE_INVALID_TI               (0x51)     /* Invalid transaction identifier value */
#define CAUSE_USER_NOT_IN_CUG          (0x57)     /* User not member of CUG         */
#define CAUSE_INCOMPAT_DEST            (0x58)     /* Incompatible destination       */
#define CAUSE_INVALID_TRANS_NET        (0x5b)     /* Invalid transit network selection */
#define CAUSE_INCORRECT_MESSAGE        (0x5f)     /* Semantically incorrect message */
#define CAUSE_INVALID_MAND_INFO        (0x60)     /* Invalid mandatory information  */
#define CAUSE_MESSAGE_TYPE_NOT_IMPLEM  (0x61)     /* Message type non-existent or not implemented */
#define CAUSE_MESSAGE_TYPE_INCOMPAT    (0x62)     /* Message type not compatible with protocol state */
#define CAUSE_INFO_ELEM_NOT_IMPLEM     (0x63)     /* Information element nonistent or not implemented */
#define CAUSE_COND_INFO_ELEM           (0x64)     /* Conditional IE error           */
#define CAUSE_MESSAGE_INCOMPAT         (0x65)     /* Message not compatible with protocol state */
#define CAUSE_TIMER                    (0x66)     /* Recovery on timer expiry       */
#define CAUSE_PROTOCOL                 (0x6f)     /* Protocol error, unspecified    */
#define CAUSE_INTERWORKING             (0x7f)     /* Interworking, unspecified      */
/*
 * Value constants for nd
 */
#define ND_USER_SUSPEND                (0x0)      
#define ND_USED_RESUME                 (0x1)      
#define ND_BEARER_CHANGE               (0x2)      
#define ND_GNOLZ_DEF                   (0x0)      /* reserved                       */
/*
 * Value constants for progress_desc
 */
#define PROG_NO_END_TO_END_PLMN        (0x1)      /* Call is not end-to-end PLMN/ISDN, further call progress information may be available in-band */
#define PROG_DEST_NON_PLMN             (0x2)      /* Destination address in non-PLMN/ISDN */
#define PROG_ORIGIN_NON_PLMN           (0x3)      /* Origination address in non-PLMN/ISDN */
#define PROG_RETURN_TO_PLMN            (0x4)      /* Call has returned to the PLMN/ISDN */
#define PROG_INBAND_AVAIL              (0x8)      /* In-band information or appropriate pattern now available */
#define PROG_END_TO_END_PLMN           (0x20)     /* Call is end-to-end PLMN/ISDN   */
#define PROG_QUEUEING                  (0x40)     /* Queueing                       */
#define PROGRESS_DESC_GNOLZ_DEF        (0x0)      /* Unspecific                     */
/*
 * Value constants for pd
 */
#define PD_USER                        (0x0)      /* User specific protocol         */
#define PD_HIGH_LAYER                  (0x1)      /* OSI high layer protocols       */
#define PD_X244                        (0x2)      /* X.244                          */
#define PD_SYS_MANAGE                  (0x3)      /* Reserved for system management convergence function */
#define PD_IA5                         (0x4)      /* IA5 characters                 */
#define PD_V120                        (0x7)      /* Rec.V.120 rate adaption        */
#define PD_Q931                        (0x8)      /* Q.931 (I.451) user-network call control messages */
#define PD_GNOLZ_DEF                   (0x0)      /* reserved                       */
/*
 * Value constants for ccbs_act
 */
#define CCBS_NO                        (0x0)      /* CCBS is not possible           */
#define CCBS_YES                       (0x1)      /* CCBS is possible               */
/*
 * Value constants for rcl_type
 */
#define CCBS                           (0x0)      /* CCBS                           */
#define CCBS_1                         (0x1)      /* Shall be treated as CCBS (intended for other similar types of Recall) */
#define CCBS_2                         (0x2)      /* Shall be treated as CCBS (intended for other similar types of Recall) */
#define CCBS_3                         (0x3)      /* Shall be treated as CCBS (intended for other similar types of Recall) */
#define CCBS_4                         (0x4)      /* Shall be treated as CCBS (intended for other similar types of Recall) */
#define CCBS_5                         (0x5)      /* Shall be treated as CCBS (intended for other similar types of Recall) */
#define CCBS_6                         (0x6)      /* Shall be treated as CCBS (intended for other similar types of Recall) */
/*
 * Value constants for congest_lev
 */
#define CL_RECEIVER_READY              (0x0)      /* receiver ready                 */
#define CL_RECEIVER_NOT_READY          (0xf)      /* receiver not ready             */
#define CONGEST_LEV_GNOLZ_DEF          (0x0)      /* reserved                       */
/*
 * Value constants for signal
 */
#define SIGNAL_DIAL_ON                 (0x0)      /* dial tone on                   */
#define SIGNAL_BACK_ON                 (0x1)      /* ring back tone on              */
#define SIGNAL_INTERCEPT_ON            (0x2)      /* intercept tone on              */
#define SIGNAL_CONGEST_ON              (0x3)      /* network congestion tone on     */
#define SIGNAL_BUSY_ON                 (0x4)      /* busy tone on                   */
#define SIGNAL_CONFIRM_ON              (0x5)      /* confirm tone on                */
#define SIGNAL_ANSWER_ON               (0x6)      /* answer tone on                 */
#define SIGNAL_WAITING_ON              (0x7)      /* call waiting tone on           */
#define SIGNAL_HOOK_OFF_ON             (0x8)      /* off-hook warning tone on       */
#define SIGNAL_TONES_OFF               (0x3f)     /* tones off                      */
#define SIGNAL_ALERT_OFF               (0x4f)     /* alerting off                   */
#define SIGNAL_GNOLZ_DEF               (0x0)      /* reserved                       */
/*
 * Value constants for repeat_3
 */
#define REPEAT_CIRCULAR                (0x1)      /* Circular for successive selection 'mode 1 alternate mode 2' */
#define REPEAT_SEQUENTIAL              (0x3)      /* Sequential for successive selection 'mode 1 and then mode 2' */

/*
 * user defined constants
 */
#define L3MAX                          (0xfb)     
#define MAX_SS_VERSION                 (0x1)      

#include "CDG_LEAVE.h"


#endif

⌨️ 快捷键说明

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