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

📄 m_sms.val

📁 GSM手机设计软件代码
💻 VAL
📖 第 1 页 / 共 2 页
字号:
/*
+--------------------------------------------------------------------------+
| PROJEKT : PROTOCOL STACK                                                 |
| FILE    : M_SMS.val                                                      |
| SOURCE  : "Z:\condat\gsm\condat\ms\dfile\msg\SMS.mdf"                    |
| LastModified : "September 11, 2001"                                      |
| IdAndVersion : "6147.607.97.102"                                         |
| 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!!                |
+--------------------------------------------------------------------------+
*/

/* PRAGMAS
 * PREFIX                 : NONE
 * COMPATIBILITY_DEFINES  : NO (require PREFIX)
 * ALWAYS_ENUM_IN_VAL_FILE: NO
 * ENABLE_GROUP: NO
 */


#ifndef M_SMS_VAL
#define M_SMS_VAL


#define CDG_ENTER__M_SMS_VAL

#define CDG_ENTER__FILENAME _M_SMS_VAL
#define CDG_ENTER__M_SMS_VAL__FILE_TYPE CDGINC
#define CDG_ENTER__M_SMS_VAL__LAST_MODIFIED _September_11_2001
#define CDG_ENTER__M_SMS_VAL__ID_AND_VERSION _6147_607_97_102

#define CDG_ENTER__M_SMS_VAL__SRC_FILE_TIME _Thu_Aug_14_00_00_00_2003

#include "CDG_ENTER.h"

#undef CDG_ENTER__M_SMS_VAL

#undef CDG_ENTER__FILENAME

/*
 * Value constants for rp_cause_value
 */
#define SMS_RP_CS_UNASSIGNED_NUMBER    (0x1)      /* Unassigned (unallocated) number */
#define SMS_RP_CS_OPERATOR_DET_BARRED  (0x8)      /* Operator determined barring    */
#define SMS_RP_CS_CALL_BARRED          (0xa)      /* Call barred                    */
#define SMS_RP_CS_SM_TRANSFER_REJECTED (0x15)     /* Short message transfer rejected */
#define SMS_RP_CS_MEM_CAP_EXCEEDED     (0x16)     /* Memory Capacity exceeded       */
#define SMS_RP_CS_DEST_OUT_OF_ORDER    (0x1b)     /* Destination out of order       */
#define SMS_RP_CS_UNIDENT_SUBSCRIBER   (0x1c)     /* Unidentified subscriber        */
#define SMS_RP_CS_FACILITY_REJECTED    (0x1d)     /* Facility rejected              */
#define SMS_RP_CS_UNKNOWN_SUBSCRIBER   (0x1e)     /* Unknown subscriber             */
#define SMS_RP_CS_NET_OUT_OF_ORDER     (0x26)     /* Network out of order           */
#define SMS_RP_CS_TEMP_FAILURE         (0x29)     /* Temporary Failure              */
#define SMS_RP_CS_CONGESTION           (0x2a)     /* Congestion                     */
#define SMS_RP_CS_NO_RESOURCES         (0x2f)     /* Resources unavailable, unspecified */
#define SMS_RP_CS_FAC_NOT_SUBSCRIBED   (0x32)     /* Requested facility not subscribed */
#define SMS_RP_CS_FAC_NOT_IMPL         (0x45)     /* Requested facility not implemented */
#define SMS_RP_CS_INV_SM_TR_REF_VAL    (0x51)     /* Invalid short message transfer reference value */
#define SMS_RP_CS_SEM_INC_MSG          (0x5f)     /* Semantically incorrect message */
#define SMS_RP_CS_INV_MAND_INFO        (0x60)     /* Invalid mandatory information  */
#define SMS_RP_CS_MSG_NON_EXIST        (0x61)     /* Message type non-existent or not implemented */
#define SMS_RP_CS_MSG_NOT_COMP         (0x62)     /* Message not compatible with the short message protocol state */
#define SMS_RP_CS_INFO_NON_EXIST       (0x63)     /* Information element non-existent or not implemented */
#define SMS_RP_CS_PROTOCOL_ERROR       (0x6f)     /* Protocol error, unspecified    */
#define SMS_RP_CS_INTERWORKING         (0x7f)     /* Interworking, unspecified      */
/*
 * Value constants for ton
 */
#define SMS_TON_UNKNOWN                (0x0)      /* unknown                        */
#define SMS_TON_INTERNATIONAL          (0x1)      /* international number           */
#define SMS_TON_NATIONAL               (0x2)      /* national number                */
#define SMS_TON_NETWORK_SPEC           (0x3)      /* network specific number        */
#define SMS_TON_SUBSCRIBER             (0x4)      /* dedicated access, short code   */
#define SMS_TON_ALPHANUMERIC           (0x5)      /* alphanumeric                   */
#define SMS_TON_ABBREVIATED            (0x6)      /* abbreviated                    */
#define SMS_TON_EXTENSION              (0x7)      /* reserved for extention         */
/*
 * Value constants for npi
 */
#define SMS_NPI_UNKNOWN                (0x0)      /* unknown                        */
#define SMS_NPI_ISDN                   (0x1)      /* ISDN/telephony numbering plan (Rec. E.164/E.163) */
#define SMS_NPI_X121                   (0x3)      /* data numbering plan (Recommendation X.121) */
#define SMS_NPI_F69                    (0x4)      /* telex numbering plan (Recommendation F.69) */
#define SMS_NPI_NATIONAL               (0x8)      /* national numbering plan        */
#define SMS_NPI_PRIVATE                (0x9)      /* private numbering plan         */
#define SMS_NPI_ERMES                  (0xa)      /* ERMES numbering plan (ETSI DE/PS 3 01-3) */
#define SMS_NPI_EXTENSTION             (0xf)      /* reserved for extension         */
#define NPI_GNOLZ_DEF                  (0x0)      /* reserved                       */
/*
 * Value constants for tp_mti
 */
#define SMS_DELIVER                    (0x0)      /* SMS deliver (SC to MS)         */
#define SMS_DELIVER_REPORT             (0x0)      /* SMS deliver report (MS to SC)  */
#define SMS_STATUS_REPORT              (0x2)      /* SMS status report (SC to MS)   */
#define SMS_COMMAND                    (0x2)      /* SMS command (MS to SC)         */
#define SMS_SUBMIT                     (0x1)      /* SMS submit (MS to SC)          */
#define SMS_SUBMIT_REPORT              (0x1)      /* SMS submit report (SC to MS)   */
/*
 * Value constants for tp_ext
 */
#define SMS_EXT_NOT_INCLUDED           (0x0)      /* No extension octet following   */
#define SMS_EXT_INCLUDED               (0x1)      /* Extension octet following      */
/*
 * Value constants for tp_ss
 */
#define SMS_SS_NOT_SET                 (0x0)      /* Single Shot bit not set        */
#define SMS_SS_SET                     (0x1)      /* Single Shot bit set            */
/*
 * Value constants for tvpf
 */
#define SMS_TVPF_NOT_PRESENT           (0x0)      /* Enhanced validity period not present */
#define SMS_TVPF_RELATIVE              (0x1)      /* Enhanced validity period relative as TP-VP (relative) */
#define SMS_TVPF_SECONDS               (0x2)      /* Enhanced validity period given in seconds 1 .. 255 */
#define SMS_TVPF_HOURS                 (0x3)      /* Enhanced validity period given in hours, minutes, seconds */
/*
 * Value constants for rp_mti
 */
#define RP_DATA_UL                     (0x0)      /* RP_DATA message MS to network  */
#define RP_DATA_DL                     (0x1)      /* RP_DATA message network to MS  */
#define RP_ACK_UL                      (0x2)      /* RP_ACK message MS to network   */
#define RP_ACK_DL                      (0x3)      /* RP_ACK message network to MS   */
#define RP_ERROR_UL                    (0x4)      /* RP_ERROR message MS to network */
#define RP_ERROR_DL                    (0x5)      /* RP_ERROR message network to MS */
#define RP_SMMA_UL                     (0x6)      /* RP_SMMA message MS to network  */
/*
 * Value constants for cp_cause
 */
#define SMS_CP_CS_NETWORK_FAILURE      (0x11)     /* Network Failure                */
#define SMS_CP_CS_CONGESTION           (0x16)     /* Congestion                     */
#define SMS_CP_CS_INVALID_TI           (0x51)     /* Invalid Transaction Identifier */
#define SMS_CP_CS_SEM_INC_MSG          (0x5f)     /* Semantically incorrect message */
#define SMS_CP_CS_INV_MAND_INFO        (0x60)     /* Invalid mandatory information  */
#define SMS_CP_CS_MSG_TYPE_NON_EXIST   (0x61)     /* Message type non-existent or not implemented */
#define SMS_CP_CS_MSG_NOT_COMP         (0x62)     /* Message not compatible with the short message protocol state */
#define SMS_CP_CS_INFO_NON_EXIST       (0x63)     /* Information element non-existent or not implemented */
#define SMS_CP_CS_PROTOCOL_ERROR       (0x6f)     /* Protocol error, unspecified    */
/*
 * Value constants for tp_vt_mti
 */
#define SMS_VT_DLVR_REP_ACK            (0x20)     /* TP SMS-DELIVER-REPORT in RP_ACK message, MS to network */
#define SMS_VT_SUBMIT                  (0x21)     /* TP SMS-SUBMIT in RP_DATA message, MS to network */
#define SMS_VT_COMMAND                 (0x22)     /* TP SMS-COMMAND in RP_DATA message, MS to network */
#define SMS_VT_DLVR_REP_ERR            (0x24)     /* TP SMS-DELIVER-REPORT in RP_ERROR message, MS to network */
#define SMS_VT_DELIVER                 (0x28)     /* TP SMS-DELIVER in RP_DATA message, network to MS */
#define SMS_VT_SBMT_REP_ACK            (0x29)     /* TP SMS-SUBMIT-REPORT in RP_ACK message, network to MS */
#define SMS_VT_STATUS                  (0x2a)     /* TP SMS-STATUS-REPORT in RP-DATA or RP_ACK message, network to MS */
#define SMS_VT_SBMT_REP_ERR            (0x2b)     /* TP SMS-SUBMIT-REPORT in RP_ERROR message, network to MS */
#define SMS_VT_SIM_PDU                 (0x30)     /* Virtual message type for SIM-PDU used in SAP MNSMS */
/*
 * Value constants for tp_rp
 */
#define SMS_RP_NOT_SET                 (0x0)      /* TP Reply Path parameter is not set */
#define SMS_RP_SET                     (0x1)      /* TP Reply Path parameter is set */
/*
 * Value constants for tp_udhi

⌨️ 快捷键说明

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