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

📄 m_gmm.val

📁 GSM手机设计软件代码
💻 VAL
字号:
/*
+--------------------------------------------------------------------------+
| PROJEKT : PROTOCOL STACK                                                 |
| FILE    : M_GMM.val                                                      |
| SOURCE  : "Z:\condat\gsm\condat\ms\dfile\msg\GMM.mdf"                    |
| LastModified : "25 October, 2002"                                        |
| IdAndVersion : "8441.603.02.012"                                         |
| 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_GMM_VAL
#define M_GMM_VAL


#define CDG_ENTER__M_GMM_VAL

#define CDG_ENTER__FILENAME _M_GMM_VAL
#define CDG_ENTER__M_GMM_VAL__FILE_TYPE CDGINC
#define CDG_ENTER__M_GMM_VAL__LAST_MODIFIED _25_October_2002
#define CDG_ENTER__M_GMM_VAL__ID_AND_VERSION _8441_603_02_012

#define CDG_ENTER__M_GMM_VAL__SRC_FILE_TIME _Thu_Aug_14_00_00_00_2003

#include "CDG_ENTER.h"

#undef CDG_ENTER__M_GMM_VAL

#undef CDG_ENTER__FILENAME

#include "M_RR_COM.val"   /* for tdsgen */

/*
 * Value constants for key_sequence
 */
#define NO_KEY                         (0x7)      /* No key is available (MS to network); Reserved (network to MS) */
/*
 * Value constants for imeisv_request_value
 */
#define IMEISV_NOT_REQUESTED           (0x0)      /* IMEISV not requested           */
#define IMEISV_REQUESTED               (0x1)      /* IMEISV requested               */
#define IMEISV_REQUEST_VALUE_GNOLZ_DEF (0x0)      /* IMEISV not requested           */
/*
 * Value constants for type_of_algorithm
 */
#define NO_CIPHERING                   (0x0)      /* ciphering not used             */
#define GEA_1                          (0x1)      /* GPRS Encryption Algorithm GEA/1 */
#define TYPE_OF_ALGORITHM_GNOLZ_DEF    (0x0)      /* reserved                       */
/*
 * Value constants for type_of_identity_2
 */
#define ID2_TYPE_IMSI                  (0x1)      /* IMSI                           */
#define ID2_TYPE_IMEI                  (0x2)      /* IMEI                           */
#define ID2_TYPE_IMEISV                (0x3)      /* IMEISV                         */
#define ID2_TYPE_TMSI                  (0x4)      /* TMSI                           */
#define TYPE_OF_IDENTITY_2_GNOLZ_DEF   (0x0)      /* IMSI                           */
/*
 * Value constants for update_type_value
 */
#define RAU                            (0x0)      /* RA updating                    */
#define COMBINED_RAU                   (0x1)      /* combined RA/LA updating        */
#define COMBINED_RAU_IMSI_ATTACH       (0x2)      /* combined RA/LA updating with IMSI attach */
#define PERIODIC_RAU                   (0x3)      /* Periodic updating              */
#define UPDATE_TYPE_VALUE_GNOLZ_DEF    (0x0)      /* reserved                       */
/*
 * Value constants for result_value
 */
#define NORMAL_UPDATED                 (0x0)      /* normal RA updated              */
#define NORMAL_ATTACHED                (0x1)      /* normal attached or combined RA/LA updated */
#define COMBINED_ATTACHED              (0x3)      /* combined  attached             */
#define RESULT_VALUE_GNOLZ_DEF         (0x0)      /* reserved                       */
/*
 * Value constants for type_of_identity
 */
#define ID_TYPE_NO_IDENT               (0x0)      /* No Identity                    */
#define ID_TYPE_IMSI                   (0x1)      /* IMSI                           */
#define ID_TYPE_IMEI                   (0x2)      /* IMEI                           */
#define ID_TYPE_IMEISV                 (0x3)      /* IMEISV                         */
#define ID_TYPE_TMSI                   (0x4)      /* TMSI/P-TMSI                    */
#define TYPE_OF_IDENTITY_GNOLZ_DEF     (0x0)      /* reserved                       */
/*
 * Value constants for odd_even
 */
#define EVEN                           (0x0)      /* even number of identity digits and also when the TMSI or P-TMSI is used */
#define ODD                            (0x1)      /* odd number of identity digits  */
/*
 * Value constants for type_of_attach
 */
#define AT_GPRS                        (0x1)      /* GPRS attach                    */
#define AT_WHILE_IMSI_AT               (0x2)      /* GPRS attach while IMSI attached */
#define AT_COMB                        (0x3)      /* Combined GPRS/IMSI attach      */
#define TYPE_OF_ATTACH_GNOLZ_DEF       (0x0)      /* GPRS attach                    */
/*
 * Value constants for d_type_of_detach
 */
#define DT_RE_ATTACH                   (0x1)      /* re-attch required              */
#define DT_NO_RE_ATTACH                (0x2)      /* re-attach not required         */
#define DT_IMSI_DETACH                 (0x3)      /* IMSI detach (after VLR failure) */
#define D_TYPE_OF_DETACH_GNOLZ_DEF     (0x0)      /* re-attach not required         */
/*
 * Value constants for power_off
 */
#define PO_NORMAL_DETACH               (0x0)      /* normal detach                  */
#define PO_POWER_OFF                   (0x1)      /* power switched off             */
/*
 * Value constants for u_type_of_detach
 */
#define DT_GPRS                        (0x1)      /* GPRS detach                    */
#define DT_IMSI                        (0x2)      /* IMSI detach                    */
#define DT_COMB                        (0x3)      /* Combined GPRS/IMSI detach      */
#define U_TYPE_OF_DETACH_GNOLZ_DEF     (0x0)      /* Combined GPRS/IMSI detach      */
/*
 * Value constants for split_pg_cycle_code
 */
#define DRX_NOT_USED                   (0x0)      /* no DRX used by MS              */
#define SPLIT_PG_CYCLE_CODE_GNOLZ_DEF  (0x0)      /* reserved                       */
/*
 * Value constants for split_on_ccch
 */
#define SPLIT_NO                       (0x0)      /* Spit on CCCH is not supported by the MS */
#define SPLIT_YES                      (0x1)      /* Spit on CCCH is supported by the MS */
/*
 * Value constants for non_drx_timer
 */
#define DRX_NO                         (0x0)      /* no non-DRX mode after transfer state */
#define DRX_1_SEC                      (0x1)      /* max. 1 sec non-DRX mode after transfer */
#define DRX_2_SEC                      (0x2)      /* max. 2 sec non-DRX mode after transfer */
#define DRX_4_SEC                      (0x3)      /* max. 4 sec non-DRX mode after transfer */
#define DRX_8_SEC                      (0x4)      /* max. 8 sec non-DRX mode after transfer */
#define DRX_16_SEC                     (0x5)      /* max. 16 sec non-DRX mode after transfer */
#define DRX_32_SEC                     (0x6)      /* max. 32 sec non-DRX mode after transfer */
#define DRX_64_SEC                     (0x7)      /* max. 64 sec non-DRX mode after transfer */
/*
 * Value constants for gea_1
 */
#define GEA_1_NO                       (0x0)      /* GEA/1 not available            */
#define GEA_1_YES                      (0x1)      /* GEA/1 available                */
/*
 * Value constants for sm_capabilities_gsm
 */
#define SM_CAP_GSM_NO                  (0x0)      /* SM capability not present      */
#define SM_CAP_GSM_YES                 (0x1)      /* SM capability present          */
/*
 * Value constants for sm_capabilities_gprs
 */
#define SM_CAP_GPRS_NO                 (0x0)      /* SM capability not present      */
#define SM_CAP_GPRS_YES                (0x1)      /* SM capability present          */
/*
 * Value constants for ucs2_support
 */
#define UCS2_YES                       (0x0)      /* preference for the default alphabet over UCS2 */
#define UCS2_NO                        (0x1)      /* no preference for the default alphabet over UCS2 */
/*
 * Value constants for timer_unit
 */
#define TIMER_2_SEC                    (0x0)      /* value is incremented in multiples of 2 sec */
#define TIMER_1_MIN                    (0x1)      /* value is incremented in multiples of 1 min */
#define TIMER_1_DH                     (0x2)      /* value is incremented in multiples of 1 dh */
#define TIMER_DEACT                    (0x7)      /* timer is deactivated           */
#define TIMER_UNIT_GNOLZ_DEF           (0x0)      /* value is incremented in multiples of 1 min */
/*
 * Value constants for force_to_standby_value
 */
#define STANDBY_NO                     (0x0)      /* Force to standby not indicated */
#define STANDBY_YES                    (0x1)      /* Force to standby indicated     */
#define FORCE_TO_STANDBY_VALUE_GNOLZ_DEF (0x0)    /* reserved                       */
/*
 * Value constants for radio_priority_level_value
 */
#define RP_LEVEL_1                     (0x1)      /* priority level 1               */
#define RP_LEVEL_2                     (0x2)      /* priority level 2??????????     */
#define RP_LEVEL_3                     (0x3)      /* priority level 3               */
#define RP_LEVEL_4                     (0x4)      /* priority level 4               */
#define RADIO_PRIORITY_LEVEL_VALUE_GNOLZ_DEF (0x0)/* priority level 4               */
/*
 * Value constants for cause_value
 */
#define ERRCS_IMSI_UNKNOWN             (0x2)      /* IMSI unknown in HLR            */
#define ERRCS_ILLEGAL_MS               (0x3)      /* Illegal MS                     */
#define ERRCS_IMEI_NOT_ACCEPTED        (0x4)      /* IMEI not accepted              */
#define ERRCS_ILLEGAL_ME               (0x6)      /* Illegal ME                     */
#define ERRCS_GPRS_NOT_ALLOWED         (0x7)      /* GPRS services not allowed      */
#define ERRCS_GSM_GPRS_NOT_ALLOWED     (0x8)      /* GPRS services and non-GPRS services not allowed */
#define ERRCS_NO_MS_ID                 (0x9)      /* MS identity cannot be derived by the network */
#define ERRCS_IMPLICIT_DETACHED        (0xa)      /* Implicitly detached            */
#define ERRCS_PLMN_NOT_ALLOWED         (0xb)      /* PLMN not allowed               */
#define ERRCS_LA_NOT_ALLOWED           (0xc)      /* Location Area not allowed      */
#define ERRCS_ROAMING_NOT_ALLOWED      (0xd)      /* Roaming not allowed in this location area */
#define ERRCS_GPRS_NOT_ALLOWED_IN_PLMN (0xe)      /* GPRS services not allowed in this PLMN */
#define ERRCS_MSC_TEMP_NOT_REACHABLE   (0x10)     /* MSC temporarily not reachable  */
#define ERRCS_NET_FAIL                 (0x11)     /* Network failure                */
#define ERRCS_CONGESTION               (0x16)     /* Congestion                     */
#define ERRCS_SEMANTIC_INCORRECT       (0x5f)     /* Semantically incorrect message */
#define ERRCS_INVALID_M_INFO           (0x60)     /* Invalid mandatory information  */
#define ERRCS_TYPE_INVALID             (0x61)     /* Message type non-existent or not implemented */
#define ERRCS_TYPE_INCOMPATIBLE        (0x62)     /* Message type not compatible with the protocol state */
#define ERRCS_IE_INVALID               (0x63)     /* Information element non-existent or not implemented */
#define ERRCS_COND_IE_ERROR            (0x64)     /* Conditional IE error           */
#define ERRCS_MESSAGE_INVALID          (0x65)     /* Message not compatible with the protocol state */
#define ERRCS_PROTOCOL_ERROR           (0x6f)     /* Protocol error, unspecified    */
#define CAUSE_VALUE_GNOLZ_DEF          (0x0)      /* Protocol error, unspecified    */
/*
 * Value constants for nsapi
 */
#define NSAPI_5                        (0x5)      /* NSAPI 5                        */
#define NSAPI_6                        (0x6)      /* NSAPI 6                        */
#define NSAPI_7                        (0x7)      /* NSAPI 7                        */
#define NSAPI_8                        (0x8)      /* NSAPI 8                        */
#define NSAPI_9                        (0x9)      /* NSAPI 9                        */
#define NSAPI_10                       (0xa)      /* NSAPI 10                       */
#define NSAPI_11                       (0xb)      /* NSAPI 11                       */
#define NSAPI_12                       (0xc)      /* NSAPI 12                       */
#define NSAPI_13                       (0xd)      /* NSAPI 13                       */
#define NSAPI_14                       (0xe)      /* NSAPI 14                       */
#define NSAPI_15                       (0xf)      /* NSAPI 15                       */
#define NSAPI_GNOLZ_DEF                (0x0)      /* reserved                       */
/*
 * Value constants for code
 */
#define SMS                            (0x0)      /* SMS Cell Broadcst coding scheme defined in GSM 03.38 */
#define USC2                           (0x1)      /* UCS2 (16 bit)                  */
#define CODE_GNOLZ_DEF                 (0x0)      /* reserved                       */
/*
 * Value constants for add_ci
 */
#define CI_NO                          (0x0)      /* The MS shoule not add the letters for the Country's Initials to the text string */
#define CI_ADD                         (0x1)      /* The MS should add the letters for the Country's Initials and a separator */
/*
 * Value constants for nr_sparebits
 */
#define SP_NULL                        (0x0)      /* this field carries no information about the number of spare bits in octet n */
#define NR_SPAREBITS_GNOLZ_DEF         (0x0)      /* bit 'value' to 8 (inclusive) are spare and set to '0' in octet n */
/*
 * Value constants for tmsi_flag
 */
#define NO                             (0x0)      /* not present                    */
#define YES                            (0x1)      /* present                        */

/*
 * user defined constants
 */
#define L3MAX                          (0xfb)     
#define MAX_N_PDU_NUMBER_LIST          (0xb)      

#include "CDG_LEAVE.h"


#endif

⌨️ 快捷键说明

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