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

📄 p_mph.val

📁 GSM手机设计软件代码
💻 VAL
📖 第 1 页 / 共 2 页
字号:
#define CS_BCCH_READ_ERROR             (0x8)      /* error during BCCH reading      */
#define CS_STOP_BCCH_READING           (0xa)      /* stop BCCH reading              */
#define CS_STOP_PLMN_SEARCH            (0xb)      /* Stop PLMN search               */
#define CS_CLEAN_SYS_INFO              (0xc)      /* Clean System Information buffer */
#define CS_SYS_INFO_1_NOT_NEEDED       (0xd)      /* System info 1 is not needed    */
#define CS_RXLEV_VAL_REQ               (0xe)      /* Rxlev values are requested     */
#define CS_STOP_PLMN_SEARCH_AND_DEACTIVATE (0xf)  /* Stop PLMN search and enter sleep mode */
#define CS_SCELL_IS_SYNCED             (0x10)     /* Synchronization done           */
#define CS_NO_ERROR                    (0xff)     /* no error occurred              */
/*
 * Value constants for mod
 */
#define MODE_CELL_SELECTION            (0x0)      /* cell selection                 */
#define MODE_CELL_RESELECTION          (0x1)      /* cell reselection               */
#define MOD_GNOLZ_2                    (0x2)      /* unused                         */
#define MODE_IMM_ASSIGN                (0x3)      /* immediate assignment           */
#define MODE_CHAN_ASSIGN               (0x4)      /* channel assignment             */
#define MODE_ASYNC_HANDOVER            (0x5)      /* asynchronous handover          */
#define MODE_SYNC_HANDOVER             (0x6)      /* synchronous handover           */
#define MODE_PRE_SYNC_HANDOVER         (0x7)      /* pre synchronous handover       */
#define MODE_PSEUDO_SYNC_HANDOVER      (0x8)      /* pseudo synchronous handover    */
#define MODE_SYS_INFO_CHANGE           (0x9)      /* sys info has changed           */
#define MODE_PACKET_TRANSFER           (0xa)      /* enter packet transfer mode     */
#define MODE_PDCH_ASSIGN               (0xb)      /* PDCH assignment                */
#define MODE_CELL_CHANGE_ORDER         (0xc)      /* network controlled cell change */
#define MODE_CELL_RESELECTION_SYNC_ONLY (0xd)     /* Sync only                      */
#define MODE_CONFIG_PL                 (0xe)      /* Config idle mode params, but don't start processes in L1 */
/*
 * Value constants for comb_ccch
 */
#define COMB_CCCH_NOT_COMB             (0x0)      /* CCCH not combined with SDCCH   */
#define COMB_CCCH_COMB                 (0x1)      /* CCCH combined with SDCCH       */
/*
 * Value constants for bs_pa_mfrms
 */
#define BS_PA_MFRMS_GNOLZ_0            (0x0)      /* 2 Multiframe Periods           */
#define BS_PA_MFRMS_GNOLZ_1            (0x1)      /* 3 Multiframe Periods           */
#define BS_PA_MFRMS_GNOLZ_2            (0x2)      /* 4 Multiframe Periods           */
#define BS_PA_MFRMS_GNOLZ_3            (0x3)      /* 5 Multiframe Periods           */
#define BS_PA_MFRMS_GNOLZ_4            (0x4)      /* 6 Multiframe Periods           */
#define BS_PA_MFRMS_GNOLZ_5            (0x5)      /* 7 Multiframe Periods           */
#define BS_PA_MFRMS_GNOLZ_6            (0x6)      /* 8 Multiframe Periods           */
#define BS_PA_MFRMS_GNOLZ_7            (0x7)      /* 9 Multiframe Periods           */
/*
 * Value constants for reorg_only
 */
#define NORMAL_PGM                     (0x0)      /* ignore this parameter (and do not ignore Page Mode IE in PAGING REQUEST messages); used to switch off REORG_ONLY */
#define REORG_ONLY                     (0x1)      /* set page mode to paging reorganisation */
/*
 * Value constants for eotd_avail
 */
#define EOTD_AVAIL_GNOLZ_0             (0x0)      /* EOTD is not available          */
#define EOTD_AVAIL_GNOLZ_1             (0x1)      /* EOTD is available              */
/*
 * Value constants for gprs_support
 */
#define MPH_GPRS_PROCS_USED            (0x1)      /* yes                            */
#define MPH_GPRS_PROCS_NOT_USED        (0x0)      /* no                             */
/*
 * Value constants for gprs_sync
 */
#define NORMAL_MEAS_REP                (0x0)      /* normal GSM behaviour           */
#define SYNC_RESULTS                   (0x1)      /* GPRS sync only                 */
/*
 * Value constants for multi_band
 */
#define MULTI_BAND_0                   (0x0)      /* normal operation               */
#define MULTI_BAND_1                   (0x1)      /* one cell of the non-serving cell band */
#define MULTI_BAND_2                   (0x2)      /* two cells of the non-serving cell band */
#define MULTI_BAND_3                   (0x3)      /* three cells of the non-serving cell band */
/*
 * Value constants for sync_only
 */
#define NORMAL_BA                      (0x0)      /* normal GSM behaviour           */
#define SYNC_LIST                      (0x1)      /* GPRS sync only                 */
/*
 * Value constants for dedi_res
 */
#define DEDI_RES_OK                    (0x0)      /* success                        */
#define DEDI_RES_TIMEOUT               (0x1)      /* timeout                        */
#define DEDI_RES_TA_OUT_OF_RANGE       (0x2)      /* timing advance out of range    */
/*
 * Value constants for tch_loop
 */
#define TCH_LOOP_GNOLZ_FF              (0xff)     /* NOT_PRESENT_8BIT, open TCH loop, valid OPEN_LOOP_CMD message has been received */
/*
 * Value constants for device
 */
#define DAI_NO_TEST                    (0x0)      /* normal operation (no tested device via DAI) */
#define DAI_SPEECH_DL                  (0x1)      /* test of speech decoder / DTX downlink */
#define DAI_SPEECH_UL                  (0x2)      /* test of speech decoder / DTX uplink */
#define DAI_AD_DA                      (0x4)      /* test of acoustic devices and A/D and D/A */
/*
 * Value constants for identity_type
 */
#define ID_IMSI                        (0x1)      /* Paged by IMSI                  */
#define ID_TMSI                        (0x4)      /* Paged by TMSI                  */
#define ID_PTMSI                       (0x8)      /* Paged by PTMSI                 */
/*
 * Value constants for channel_needed
 */
#define CN_ANY                         (0x0)      /* Any channel                    */
#define CN_SDCCH                       (0x1)      /* SDCCH                          */
#define CN_TCH_FULL                    (0x2)      /* TCH Full Rate                  */
#define CN_TCH_H_OR_F                  (0x3)      /* TCH Half Rate or Full Rate     */
#define CN_PACKET                      (0x4)      /* Packet Channel (GPRS only)     */
/*
 * Value constants for action
 */
#define START_MON_NBCCH                (0x0)      /* start reading of BCCH, excluding ext BCCH */
#define START_MON_EBCCH                (0x1)      /* start reading of ext BCCH, excluding BCCH */
#define STOP_MON_BCCH                  (0x2)      /* stop reading of BCCH, including both BCCH and ext BCCH (if previously requested) */
#define START_MON_CCCH                 (0x3)      /* start reading of CCCH          */
#define STOP_MON_CCCH                  (0x4)      /* stop reading of CCCH           */
#define LEAVING_PIM_PBCCH              (0x5)      /* Leave PIM                      */
#define LEAVING_PAM_PBCCH              (0x6)      /* Leave PAM                      */
#define LEAVING_PTM_PBCCH              (0x7)      /* Leave PTM                      */
#define ENTER_PTM_PBCCH                (0x8)      /* Enter PTM                      */
#define ENTER_PIM_PBCCH                (0x9)      /* Enter PIM                      */
#define ENTER_PTM_BCCH                 (0xa)      /* Enter PTM for BCCH             */
/*
 * Value constants for si_to_read
 */
#define UNSPECIFIED_SI                 (0x0)      /* Update of unspecified SI message or SI messages */
#define UPDATE_SI1                     (0x1)      /* Update of SI1 message          */
#define UPDATE_SI2_SI2BIS_OR_SI2TER    (0x2)      /* Update of SI2, SI2 bis or SI2 ter message */
#define UPDATE_SI3_SI4_SI7_OR_SI8      (0x3)      /* Update of SI3, SI4, SI7 or SI8 message */
#define UPDATE_SI9                     (0x4)      /* Update of SI9 message          */
#define COMPLETE_SI                    (0x5)      /* Read complete SI               */
#define UPDATE_SI13_GSM                (0x6)      /* Read SI13 during GPRS activation */
#define UPDATE_SI13                    (0xff)     /* Update SI13                    */
/*
 * Value constants for eotd_res
 */
#define EOTD_SUCC                      (0x0)      /* success                        */
#define EOTD_REF                       (0x1)      /* wrong reference BTS            */
/*
 * Value constants for ta
 */
#define TA_NOT_AVAIL                   (0xff)     /* timing advance is not available in Idle Mode */

/*
 * user defined constants
 */
#define MAX_MA_CHANNELS                (0x40)     
#define MAX_NEIGHBOURCELLS             (0x21)     
#define MAX_CHANNELS                   (0x50)     
#define MAX_NCELL_EOTD_ALR             (0xf)      
#define MAX_NCELL_EOTD_RES             (0xc)      
#define XCOR_NO                        (0x12)     
#define STD_900                        (0x1)      
#define STD_EGSM                       (0x2)      
#define STD_1900                       (0x3)      
#define STD_1800                       (0x4)      
#define STD_DUAL                       (0x5)      
#define STD_DUAL_EGSM                  (0x6)      
#define STD_850                        (0x7)      
#define STD_DUAL_US                    (0x8)      
#define US_BIT                         (0x8000)   
#define STD_BIT_MASK                   (0x7800)   
#define STD_BIT_SHIFT                  (0xb)      
#define ARFCN_MASK                     (0x7ff)    
#define EUROPEAN_FREQ_AREA             (0x1)      
#define AMERICAN_FREQ_AREA             (0x2)      
#define ALL_FREQ_AREA                  (0x3)      
#define NEXT_AMERICAN_AREA             (0x80)     
#define LOW_CHANNEL_900                (0x1)      
#define HIGH_CHANNEL_900               (0x7c)     
#define LOW_CHANNEL_EGSM               (0x3cf)    
#define HIGH_CHANNEL_EGSM              (0x400)    
#define CHANNEL_0                      (0x0)      
#define CHANNEL_0_INTERNAL             (0x400)    
#define LOW_CHANNEL_1900               (0x200)    
#define HIGH_CHANNEL_1900              (0x32a)    
#define LOW_CHANNEL_1800               (0x200)    
#define HIGH_CHANNEL_1800              (0x375)    
#define LOW_CHANNEL_850                (0x80)     
#define HIGH_CHANNEL_850               (0xfb)     
#define MAX_CARRIERS_GSM900            (0x7c)     
#define MAX_CARRIERS_EGSM900           (0xae)     
#define MAX_CARRIERS_PCS1900           (0x12b)    
#define MAX_CARRIERS_DCS1800           (0x176)    
#define MAX_CARRIERS_DUAL              (0x1f2)    
#define MAX_CARRIERS_DUAL_EGSM         (0x224)    
#define MAX_CARRIERS_GSM850            (0x7c)     
#define MAX_CARRIERS_DUAL_US           (0x1a8)    
#define MAX_EMO_CHANNELS               (0x15)     
#define RR_BA_HIGH                     (0xff)     
#define RR_BA_LOW                      (0x80)     
#define ALR_BA_HIGH                    (0x7f)     
#define ALR_BA_LOW                     (0x0)      

#include "CDG_LEAVE.h"


#endif

⌨️ 快捷键说明

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