/***************************************************************** | |
*°æ±¾ËùÓÐ (C)2016ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾ | |
*Ä£¿éÃû: | |
*ÎļþÃû:atipscom.h | |
*ʵÏÖ¹¦ÄÜ:atiʹÓõĹ«¹²½Ó¿Ú | |
*°æ±¾:V1.0 | |
*****************************************************************/ | |
#ifndef ZPS_ATI_COM_H | |
#define ZPS_ATI_COM_H | |
#include "ps.h" | |
#include "pstraceint.h" | |
#include "atipsevent.h" | |
#include "atipserror.h" | |
/*#if defined (_USE_SIG_TRACE) || defined (_USE_EXCP_TRACE)*/ | |
#include "TraceShare.h" | |
/*#endif*/ | |
#ifdef PS_RAT_GSM | |
#include "proc_id.h" | |
#include "sig_code.h" | |
#endif | |
#define Z_ImsiLen (BYTE)8 | |
#define Z_TmsiLen (BYTE)4 | |
#define Z_PtmsiLen (BYTE)4 | |
/**************************ÔËÓªÉ̶¨Òå*********************/ | |
/*0ÒÆ¶¯£¬1µçÐÅ£¬2ÁªÍ¨£¬3ÆäËû*/ | |
#define Z_OPER_CMCC (BYTE)0 | |
#define Z_OPER_CTCC (BYTE)1 | |
#define Z_OPER_UNICOM (BYTE)2 | |
#define Z_OPER_OTHER (BYTE)3 | |
/*V2-V3Ãû×Ö¼æÈÝbegin*/ | |
#define Z_ImeiLen ZPS_ImeiLen | |
#define Z_ImeiSvLen ZPS_ImeiSvLen | |
#define Z_DEV_MSINFO_MAX_BORDNAME_LEN ZPS_DEV_MSINFO_MAX_BORDNAME_LEN | |
#define Z_DEV_MSINFO_MAX_SOFTVERSION_LEN ZPS_DEV_MSINFO_MAX_SOFTVERSION_LEN | |
#define Z_DEV_MSINFO_MAX_EQUIPNAME_LEN ZPS_DEV_MSINFO_MAX_EQUIPNAME_LEN | |
/*===================PDPÉÏÏÂÎÄÏà¹ØºêÖµ===========================*/ | |
#define Z_DEV_AtMem_MAX_APN_LEN (BYTE)100 | |
#define Z_DEV_AtMem_MAX_PDPADDR_LEN (BYTE)20 | |
#define Z_DEV_AtMem_MAX_CHALLENGE_LEN (BYTE)16 /*Ëæ»úÊý³¤¶È*/ | |
#define Z_DEV_AtMem_MAX_HASH_LEN (BYTE)16 /*HASH ³¤¶È*/ | |
#define Z_DEV_AtMem_MAX_STR_LEN (BYTE)64 /*APN¼øÈ¨×î´ó³¤¶È×Ö·û´®*/ | |
#define Z_MAX_CID_NUM (BYTE)8 | |
#define Z_DEV_AtMem_MININUM_CID (BYTE)1 | |
#define Z_DEV_AtMem_MININUM_FILTER (BYTE)1 | |
#define Z_DEV_AtMem_MAXINUM_FILTER (BYTE)16 | |
#define Z_DEV_AtMem_CID_BASEINDEX (BYTE)0 | |
#define Z_DEV_AtMem_MININUM_TFADID (BYTE)1 | |
#define Z_DEV_AtMem_MININUM_ESM_FILTER (BYTE)1 | |
#define Z_DEV_AtMem_MAXINUM_ESM_FILTER (BYTE)8 | |
#define Z_DEV_AtMem_TFADID_BASEINDEX (BYTE)0 | |
/*======================== AtMem´æ´¢Êý¾Ýºê¶¨Òå ========================*/ | |
#define Z_DEV_AtMem_CONTXT_First (BYTE)0 /* Ò»´Î */ | |
#define Z_DEV_AtMem_CONTXT_Secnd (BYTE)1 /* ¶þ´Î */ | |
#define Z_DEV_AtMem_PDP_NotDefine (BYTE)0 /* 䶨Òå */ | |
#define Z_DEV_AtMem_PDP_Define (BYTE)1 /* ÒѶ¨Òå */ | |
#ifdef _USE_LTE_GCF | |
#define Z_DEV_AtMem_MAX_CID_NUM (BYTE)8 | |
#define Z_DEV_AtMem_MAXINUM_CID (BYTE)8 | |
#define Z_DEV_AtMem_CID_MAXINDEX (BYTE)7 | |
#define Z_DEV_AtMem_MAX_TFADID_NUM (BYTE)8 | |
#define Z_DEV_AtMem_MAXINUM_TFADID (BYTE)8 | |
#define Z_DEV_AtMem_TFADID_MAXINDEX (BYTE)7 | |
#else | |
#define Z_DEV_AtMem_MAX_CID_NUM (BYTE)4 | |
#define Z_DEV_AtMem_MAXINUM_CID (BYTE)4 | |
#define Z_DEV_AtMem_CID_MAXINDEX (BYTE)3 | |
#define Z_DEV_AtMem_MAX_TFADID_NUM (BYTE)4 | |
#define Z_DEV_AtMem_MAXINUM_TFADID (BYTE)4 | |
#define Z_DEV_AtMem_TFADID_MAXINDEX (BYTE)3 | |
#endif | |
/*=====================ÔËÓªÉÌÏà¹ØÐÅÏ¢ºêÖµ========================*/ | |
#define Z_MAX_ME_OPER_NUM (BYTE)64 /*NVÖÐMEÔËÓªÉÌÐÅÏ¢×ܳ¤¶È£¬²»ÔÊÐí¸Ä¶¯*/ | |
#define Z_MAX_NET_OPER_NUM (BYTE)12 /*NVÖÐÍøÂç·ÖÅäÔËÓªÉÌÐÅÏ¢×ܳ¤¶È£¬²»ÔÊÐí¸Ä¶¯*/ | |
#define Z_MAX_LONGNAME_LEN (BYTE)64 /*ÔËÓªÉ̳¤Ãû27007ÐÒ鹿¶¨×16£¬²»ÔÊÐí¸Ä¶¯*/ | |
#define Z_MAX_SHORTNAME_LEN (BYTE)64 /*ÔËÓªÉ̶ÌÃû27007ÐÒ鹿¶¨×8£¬²»ÔÊÐí¸Ä¶¯*/ | |
#define Z_MAX_OPERATE_PLMNNUM (BYTE)50 /*PLMNIDÊýÁ¿*/ | |
/*========================= ËÑÍøÏà¹Øºê¶¨Òå ===========================*/ | |
#define Z_MaxUiccPlmnNum (BYTE)30 /*UICC¿¨ÖÐ×î´ó´æ´¢OPLMN/UPLMN/HPLMN¸öÊý*/ | |
#define Z_MaxUiccFPlmnNum (BYTE)85 /*UICC¿¨ÖÐ×î´ó´æ´¢FPLMN¸öÊý*/ | |
#define Z_MaxFbdLaiNum (BYTE)10 /*½ûÖ¹LAI¸öÊý*/ | |
#define Z_MaxUiccPlmnSelNum (BYTE)85 /*PlmnSelÖÐPLMN¸öÊý,ÔÏÈΪ16*/ | |
#define Z_MaxPossiblePlmnNum (BYTE)20 /*¿ÉÓÃPLMN¸öÊý*/ | |
#define Z_MaxSmspAlphaLen (BYTE)252 /*ÔÏÈΪ8*/ | |
/*==========ÏúÁ¿Í³¼Æ·þÎñÆ÷ÓòÃû×î´ó³¤¶È===========*/ | |
#define Z_DEV_SELLSTAT_MAX_DOMAIN_LEN (BYTE)128 | |
/*==================×î´óÐźŸñ======================*/ | |
#define Z_MAX_SIGNAL_STEP (BYTE)5 | |
/*==================== ËøÐ¡ÇøÓõ½µÄºêÖµ =========================*/ | |
#define Z_MAX_NUCellNum (BYTE)10 /*TD/WÁÚÇø×î´ó¸öÊý*/ | |
#define Z_MAX_NGCellNum (BYTE)10 /*GSMÁÚÇø×î´ó¸öÊý*/ | |
#define Z_MAX_NLCellNum (BYTE)10 /*LTEÁÚÇø×î´ó¸öÊý*/ | |
/*==================ÔËÓªÉÌÆµ¶ÎÐÅÏ¢======================*/ | |
#define Z_MAX_OPERATOR_NUM (BYTE)5 /* ¿ÉÅäÖÃÔËÓªÉÌ×î´ó¸öÊý */ | |
#define Z_MAX_OPERATOR_PLMN_NUM (BYTE)10 /* ÿ¸öÔËÓªÉÌÏ¿ÉÅäÖÃPLMN ×î´ó¸öÊý*/ | |
#define Z_MAX_OPERATOR_BAND_NUM (BYTE)10 /* ÿ¸öÔËÓªÉÌÏ¿ÉÅäÖÃLTEƵ¶Î ×î´ó¸öÊý*/ | |
#define Z_MAX_OPERATOR_FREQ_NUM (BYTE)8 /* ÿ¸öÔËÓªÉÌÏ¿ÉÅäÖÃLTE³£ÓÃÆµµã ×î´ó¸öÊý*/ | |
#define Z_AT_MAX_RPI_NR (BYTE)3 | |
#define W_MAX_BAND_RPI_SUPPORT (BYTE)8 | |
#define GSM_MAX_BAND_RPI_SUPPORT (BYTE)8 | |
#define LTE_MAX_BAND_RPI_SUPPORT (BYTE)12 | |
#define Z_MAX_LTE_BLKCELL_NUM (BYTE)5 | |
#define Z_DEV_MAX_BEEPCALL_NUM (BYTE)11 | |
#define Z_DEV_MAX_BEEPCALL_GROUP (BYTE)3 | |
#define Z_DEV_MAX_ECALL_NUM (BYTE)11 | |
#define Z_DEV_MAX_MSISDN_NUM (BYTE)15 | |
#ifdef _USE_LPP_ECID | |
#define Z_MAX_ECID_NEMASTR_LEN (BYTE)22 | |
#endif | |
#ifdef BTRUNK_SUPPORT | |
/*======================== Ptt¼¯ÈºÏà¹Ø ========================*/ | |
#define Z_MAX_BCD_NUM (BYTE)10 | |
#define Z_MAX_GROUP_INFO_NUM (BYTE)101 | |
#define Z_MAX_GROUP_NAME_NUM (BYTE)32 | |
#define Z_MAX_SCANGROUP_NUM (BYTE)20 /* ×î´óɨÃè×é¸öÊý20*/ | |
/*0£ºÍêȫɨÃ蹦ÄÜ 1£º²¿·ÖɨÃ蹦ÄÜ 2£º¹Ø±ÕɨÃ蹦ÄÜ:*/ | |
#define Z_FULL_SCAN (BYTE)0 | |
#define Z_PART_SCAN (BYTE)1 | |
#define Z_CLOSE_SCAN (BYTE)2 | |
/*1£ºR1°æ±¾ 2£ºR2°æ±¾ 3£ºR3°æ±¾:*/ | |
#define Z_R1_VERSION (BYTE)1 | |
#define Z_R2_VERSION (BYTE)2 | |
#define Z_R3_VERSION (BYTE)3 | |
/*======================== Ptt¼¯ÈºÏà¹Ø ========================*/ | |
#endif | |
/* CBS(ÐèºÍapMmiaInt.hÖÐCBS²¿·Öºê¶¨Òå±£³ÖÒ»ÖÂ) */ | |
#define Z_DEV_AtMem_CBS_MAX_SINGEL_MID_NUM (BYTE)32 /*µ¥¸öÉèÖÃMessageIdµÄ×î¶à¸öÊý*/ | |
#define Z_DEV_AtMem_CBS_MAX_RANGE_MID_NUM (BYTE)10 /*·¶Î§ÉèÖÃMessageIdµÄ×î¶à¸öÊý*/ | |
#define Z_DEV_AtMem_CBS_MAX_MID_NUM (BYTE)(Z_DEV_AtMem_CBS_MAX_SINGEL_MID_NUM + Z_DEV_AtMem_CBS_MAX_RANGE_MID_NUM + 1) | |
#define Z_DEV_AtMem_CBS_MAX_SINGEL_DCS_NUM (BYTE)16 /*µ¥¸öÉèÖÃDataCodingSchemeµÄ×î¶à¸öÊý*/ | |
#define Z_DEV_AtMem_CBS_MAX_RANGE_DCS_NUM (BYTE)5 /*·¶Î§ÉèÖÃDataCodingSchemeµÄ×î¶à¸öÊý*/ | |
#define Z_DEV_AtMem_CBS_MAX_DCS_NUM (BYTE)(Z_DEV_AtMem_CBS_MAX_SINGEL_DCS_NUM + Z_DEV_AtMem_CBS_MAX_RANGE_DCS_NUM + 1) | |
#define Z_DEV_NV_AMTLTEBAND_NUM (BYTE)16 | |
#define Z_DEV_NV_AMTFDDBAND_NUM (BYTE)4 | |
#define Z_DEV_NV_AMTTDDBAND_NUM (BYTE)4 | |
#define Z_DEV_NV_AMTGSMBAND_NUM (BYTE)2 | |
/*====================== ÏúÁ¿Í³¼ÆÏà¹Øºê¶¨Òå ===================*/ | |
#define Z_DEV_NV_SellStat_PACKSEND_VALID (BYTE)1 /*ÏúÁ¿Í³¼ÆIP°üÈÔ¿É·¢ËÍ*/ | |
#define Z_DEV_NV_SellStat_PACKSEND_INVALID (BYTE)0 /*ÏúÁ¿Í³¼ÆIP°ü·¢ËÍÒÑÈ·ÈÏ»ò·¢ËÍ×Ü´ÎÊýÒѳ¬¹ýÉÏÏÞ*/ | |
/********************************ATI¶ÁдNVË÷ÒýÖµ**************************************/ | |
#define Z_ATI_NV_PsAttState1 (BYTE)0 | |
#define Z_ATI_NV_PsAttState2 (BYTE)(Z_ATI_NV_PsAttState1+1) | |
#define Z_ATI_NV_CidPdpContext1 (BYTE)(Z_ATI_NV_PsAttState2+1) | |
#define Z_ATI_NV_CidPdpContext2 (BYTE)(Z_ATI_NV_CidPdpContext1+1) | |
#define Z_ATI_NV_LteLcCfg (BYTE)(Z_ATI_NV_CidPdpContext2+1) | |
#define Z_ATI_NV_PsServOutParam (BYTE)(Z_ATI_NV_LteLcCfg+1) | |
#define Z_ATI_NV_FropInfo (BYTE)(Z_ATI_NV_PsServOutParam+1) | |
#define Z_ATI_NV_CopsMode1 (BYTE)(Z_ATI_NV_FropInfo+1) | |
#define Z_ATI_NV_CopsMode2 (BYTE)(Z_ATI_NV_CopsMode1+1) | |
#define Z_ATI_NV_WLcCfg (BYTE)(Z_ATI_NV_CopsMode2+1) | |
#define Z_ATI_NV_TLcCfg (BYTE)(Z_ATI_NV_WLcCfg+1) | |
#define Z_ATI_NV_GLcCfg1 (BYTE)(Z_ATI_NV_TLcCfg+1) | |
#define Z_ATI_NV_GLcCfg2 (BYTE)(Z_ATI_NV_GLcCfg1+1) | |
#define Z_ATI_NV_EmbmsStat (BYTE)(Z_ATI_NV_GLcCfg2+1) | |
#define Z_ATI_NV_SerPlmnSet (BYTE)(Z_ATI_NV_EmbmsStat+1) | |
#define Z_ATI_NV_BandTrans (BYTE)(Z_ATI_NV_SerPlmnSet+1) | |
#define Z_ATI_NV_GsmSignalboxCfg (BYTE)(Z_ATI_NV_BandTrans+1) | |
#define Z_ATI_NV_TdSignalboxCfg (BYTE)(Z_ATI_NV_GsmSignalboxCfg+1) | |
#define Z_ATI_NV_WSignalboxCfg (BYTE)(Z_ATI_NV_TdSignalboxCfg+1) | |
#define Z_ATI_NV_LteSignalboxCfg (BYTE)(Z_ATI_NV_WSignalboxCfg+1) | |
#define Z_ATI_NV_LteAct1 (BYTE)(Z_ATI_NV_LteSignalboxCfg+1) | |
#define Z_ATI_NV_LteAct2 (BYTE)(Z_ATI_NV_LteAct1+1) | |
#define Z_ATI_NV_MeOperPlmnID (BYTE)(Z_ATI_NV_LteAct2+1) | |
#define Z_ATI_NV_NetOperPlmnID (BYTE)(Z_ATI_NV_MeOperPlmnID+1) | |
#define Z_ATI_NV_SellStat1 (BYTE)(Z_ATI_NV_NetOperPlmnID+1) | |
#define Z_ATI_NV_SellStat2 (BYTE)(Z_ATI_NV_SellStat1+1) | |
#define Z_ATI_NV_EudoFR (BYTE)(Z_ATI_NV_SellStat2+1) | |
#define Z_ATI_NV_MaxTxPower (BYTE)(Z_ATI_NV_EudoFR+1) | |
#define Z_ATI_NV_LteBand (BYTE)(Z_ATI_NV_MaxTxPower+1) | |
#define Z_ATI_NV_LteBandBackUp (BYTE)(Z_ATI_NV_LteBand+1) | |
#define Z_ATI_NV_UeInfo (BYTE)(Z_ATI_NV_LteBandBackUp+1) | |
#define Z_ATI_NV_GsmBand (BYTE)(Z_ATI_NV_UeInfo+1) | |
#define Z_ATI_NV_GsmBandBackup (BYTE)(Z_ATI_NV_GsmBand+1) | |
#define Z_ATI_NV_TddBand (BYTE)(Z_ATI_NV_GsmBandBackup+1) | |
#define Z_ATI_NV_TddBandBackup (BYTE)(Z_ATI_NV_TddBand+1) | |
#define Z_ATI_NV_FddBand (BYTE)(Z_ATI_NV_TddBandBackup+1) | |
#define Z_ATI_NV_FddBandBackup (BYTE)(Z_ATI_NV_FddBand+1) | |
#define Z_ATI_NV_GprsClass (BYTE)(Z_ATI_NV_FddBandBackup+1) | |
#define Z_ATI_NV_FdSet (BYTE)(Z_ATI_NV_GprsClass+1) | |
#define Z_ATI_NV_EgprsSet (BYTE)(Z_ATI_NV_FdSet+1) | |
#define Z_ATI_NV_ApMemCapa1 (BYTE)(Z_ATI_NV_EgprsSet+1) | |
#define Z_ATI_NV_ApMemCapa2 (BYTE)(Z_ATI_NV_ApMemCapa1+1) | |
#define Z_ATI_NV_Sysconfig1 (BYTE)(Z_ATI_NV_ApMemCapa2+1) | |
#define Z_ATI_NV_Sysconfig2 (BYTE)(Z_ATI_NV_Sysconfig1+1) | |
#define Z_ATI_NV_EPDCPTimerLen (BYTE)(Z_ATI_NV_Sysconfig2+1) | |
#define Z_ATI_NV_BlackWhiteList (BYTE)(Z_ATI_NV_EPDCPTimerLen+1) | |
#define Z_ATI_NV_GrrCellBar (BYTE)(Z_ATI_NV_BlackWhiteList+1) | |
#define Z_ATI_NV_NcellInfo (BYTE)(Z_ATI_NV_GrrCellBar+1) | |
#define Z_ATI_NV_OperatorLteBandInfo (BYTE)(Z_ATI_NV_NcellInfo+1) | |
#define Z_ATI_NV_RPICfgInfo (BYTE)(Z_ATI_NV_OperatorLteBandInfo+1) | |
#define Z_ATI_NV_NitzUpdateCfg (BYTE)(Z_ATI_NV_RPICfgInfo+1) | |
#define Z_ATI_NV_UMTSAMR (BYTE)(Z_ATI_NV_NitzUpdateCfg+1) | |
#define Z_ATI_NV_MobileInfoCfg (BYTE)(Z_ATI_NV_UMTSAMR+1) | |
#define Z_ATI_NV_UeCapaCfg (BYTE)(Z_ATI_NV_MobileInfoCfg+1) | |
#define Z_ATI_NV_ZLcCfg (BYTE)(Z_ATI_NV_UeCapaCfg+1) | |
#define Z_ATI_NV_LteBlkCell (BYTE)(Z_ATI_NV_ZLcCfg + 1) | |
#define Z_ATI_NV_CmgfMode (BYTE)(Z_ATI_NV_LteBlkCell + 1) | |
#define Z_ATI_NV_CustomMcc (BYTE)(Z_ATI_NV_CmgfMode + 1) | |
#define Z_ATI_NV_BeepCall (BYTE)(Z_ATI_NV_CustomMcc + 1) | |
#define Z_ATI_NV_Msisdn1 (BYTE)(Z_ATI_NV_BeepCall + 1) | |
#define Z_ATI_NV_Msisdn2 (BYTE)(Z_ATI_NV_Msisdn1 + 1) | |
#define Z_ATI_NV_EcallCapa (BYTE)(Z_ATI_NV_Msisdn2 + 1) | |
#define Z_ATI_NV_EcallNum (BYTE)(Z_ATI_NV_EcallCapa + 1) | |
#define Z_ATI_NV_EcallTime (BYTE)(Z_ATI_NV_EcallNum + 1) | |
#define Z_ATI_NV_RrcStatus (BYTE)(Z_ATI_NV_EcallTime + 1) | |
#ifdef BTRUNK_SUPPORT | |
#define Z_ATI_NV_PttTruncUser (BYTE)(Z_ATI_NV_RrcStatus + 1) | |
#define Z_ATI_NV_PttIOTFlag (BYTE)(Z_ATI_NV_PttTruncUser + 1) | |
#define Z_ATI_NV_PttSubWayFlag (BYTE)(Z_ATI_NV_PttIOTFlag + 1) | |
#define Z_ATI_NV_PrvEnd (BYTE)(Z_ATI_NV_PttSubWayFlag + 0) | |
#else | |
#define Z_ATI_NV_PrvEnd (BYTE)(Z_ATI_NV_RrcStatus + 0) | |
#endif | |
#define Z_ATI_NV_MIXBase (BYTE)(Z_ATI_NV_PrvEnd + 1) | |
#define Z_ATI_NV_MsInfo (BYTE)(Z_ATI_NV_MIXBase + 1) | |
#define Z_ATI_NV_MIXEnd (BYTE)(Z_ATI_NV_MsInfo + 0) | |
/*================ ÐÒéÕ»AtMemÏà¹ØÊý¾ÝË÷Òýºê¶¨Òå ===================*/ | |
#define Z_AtMem_ID_BASE (BYTE)0 | |
#define Z_AtMem_ID_MmiaPrvtMem (BYTE)(Z_AtMem_ID_BASE + 0) | |
#define Z_AtMem_ID_Cvmod (BYTE)(Z_AtMem_ID_MmiaPrvtMem+1) | |
#define Z_AtMem_ID_Cemode (BYTE)(Z_AtMem_ID_Cvmod + 1) | |
#define Z_AtMem_ID_SmsOverIpNet (BYTE)(Z_AtMem_ID_Cemode + 1) | |
#define Z_AtMem_ID_Cmod (BYTE)(Z_AtMem_ID_SmsOverIpNet + 1) | |
#define Z_AtMem_ID_Cbst (BYTE)(Z_AtMem_ID_Cmod + 1) | |
#define Z_AtMem_ID_CallLine (BYTE)(Z_AtMem_ID_Cbst + 1) | |
#define Z_AtMem_ID_Fclass (BYTE)(Z_AtMem_ID_CallLine + 1) | |
#define Z_AtMem_ID_Csns (BYTE)(Z_AtMem_ID_Fclass + 1) | |
#define Z_AtMem_ID_AutoRsp (BYTE)(Z_AtMem_ID_Csns + 1) | |
#define Z_AtMem_ID_Cnmi (BYTE)(Z_AtMem_ID_AutoRsp + 1) | |
#define Z_AtMem_ID_Crlp (BYTE)(Z_AtMem_ID_Cnmi + 1) | |
#define Z_AtMem_ID_Cscb (BYTE)(Z_AtMem_ID_Crlp + 1) | |
#ifdef _USE_LPP_ECID | |
#define Z_AtMem_ID_MoLr (BYTE)(Z_AtMem_ID_Cscb + 1) | |
#define Z_AtMem_ID_SmCidData (BYTE)(Z_AtMem_ID_MoLr + 1) | |
#else | |
#define Z_AtMem_ID_SmCidData (BYTE)(Z_AtMem_ID_Cscb + 1) | |
#endif | |
#define Z_AtMem_ID_EsmData (BYTE)(Z_AtMem_ID_SmCidData + 1) | |
#define Z_AtMem_ID_END (BYTE)Z_AtMem_ID_EsmData | |
#ifdef _USE_LPP_ECID | |
#define Z_AtMem_AtCmd_MAXID (BYTE)(Z_AtMem_ID_MoLr + 1) /*AtÃüÁîÏà¹Ø£¨³ýSM¼°ESM¶àCID£©Êý×é×î´óÉÏÏÞ*/ | |
#define Z_AtMem_AtCmd_LASTID (BYTE)(Z_AtMem_ID_MoLr + 0) /*AtÃüÁîÏà¹Ø£¨³ýSM¼°ESM¶àCID£©Last AtMem Id*/ | |
#else | |
#define Z_AtMem_AtCmd_MAXID (BYTE)(Z_AtMem_ID_Cscb + 1) /*AtÃüÁîÏà¹Ø£¨³ýSM¼°ESM¶àCID£©Êý×é×î´óÉÏÏÞ*/ | |
#define Z_AtMem_AtCmd_LASTID (BYTE)(Z_AtMem_ID_Cscb + 0) /*AtÃüÁîÏà¹Ø£¨³ýSM¼°ESM¶àCID£©Last AtMem Id*/ | |
#endif | |
/*================ ÐÒéÕ»ÄÚÄ£¿é¶Á¡¢Ð´UICC¿¨Êý¾ÝË÷Òýºê¶¨Òå ===============*/ | |
#define Z_UiccId_FIRST (BYTE)Z_UiccId_SHPPLMN_TIME_BIN | |
#define Z_UiccId_SHPPLMN_TIME_BIN (BYTE)0 | |
#define Z_UiccId_HPLMN_BIN (BYTE)1 | |
#define Z_UiccId_FPLMN_BIN (BYTE)2 | |
#define Z_UiccId_UPLMN_BIN (BYTE)3 | |
#define Z_UiccId_OPLMN_BIN (BYTE)4 | |
#define Z_UiccId_SMSP_REC (BYTE)5 | |
#define Z_UiccId_SMSS_BIN (BYTE)6 | |
#define Z_UiccId_EMLPP_BIN (BYTE)7 | |
#define Z_UiccId_AAEM_BIN (BYTE)8 | |
#define Z_UiccId_ECC_REC (BYTE)9 | |
#define Z_UiccId_LOCI_BIN (BYTE)10 | |
#define Z_UiccId_PSLOCI_BIN (BYTE)11 | |
#define Z_UiccId_ACC_BIN (BYTE)12 | |
#define Z_UiccId_CELLINFO_BIN (BYTE)13 | |
#define Z_UiccId_CSKEY (BYTE)14 | |
#define Z_UiccId_PSKEY (BYTE)15 /*CK/IK/KC*/ | |
#define Z_UiccId_CSKSI_BIN (BYTE)16 /*CK/IK/KC*/ | |
#define Z_UiccId_PSKSI_BIN (BYTE)17 /*дKSI*/ | |
#define Z_UiccId_CSCKSN_BIN (BYTE)18 /*дKSI*/ | |
#define Z_UiccId_PSCKSN_BIN (BYTE)19 /*дCKSN*/ | |
#define Z_UiccId_START_BIN (BYTE)20 /*дCKSN*/ | |
#define Z_UiccId_UICC_APPTYPE (BYTE)21 | |
#define Z_UiccId_UICC_STATE (BYTE)22 | |
#define Z_UiccId_AD_BIN (BYTE)23 | |
#define Z_UiccId_PLMNSEL_BIN (BYTE)24 | |
#define Z_UiccId_SIMBCCH_BIN (BYTE)25 /* ¶ÁдsimÓ¦ÓÃbcch*/ | |
#define Z_UiccId_IMSI_BIN (BYTE)26 | |
#define Z_UiccId_THRESHOLD_BIN (BYTE)27 | |
#define Z_UiccId_USTSST (BYTE)28 | |
#define Z_UiccId_IMEI (BYTE)29 | |
/******************************LTE********************************************/ | |
#define Z_UiccId_EPSLOCI_BIN (BYTE)30 /*EPS LociµÄË÷Òý*/ | |
#define Z_UiccId_LRPLMNSI_BIN (BYTE)31 /*RPLMN Selection IndicationµÄË÷Òý*/ | |
#define Z_UiccId_EHPLMN_BIN (BYTE)32 /*EHPLMNµÄË÷Òý*/ | |
#define Z_UiccId_EPSNSC_REC (BYTE)33 /*°²È«ÉÏÏÂÎĵÄË÷Òý*/ | |
#define Z_UiccId_ACSGL_REC (BYTE)34 /*Allowed CSG listµÄË÷Òý*/ | |
#define Z_UiccId_CSGT_REC (BYTE)35 /*CSG IndacationµÄË÷Òý*/ | |
#define Z_UiccId_HNBN_REC (BYTE)36 /*HNB NameµÄË÷Òý*/ | |
#define Z_UiccId_OCSGL_REC (BYTE)37 /*EFOCSGLµÄË÷Òý*/ | |
#define Z_UiccId_ACM_CYC (BYTE)38 | |
#define Z_UiccId_ACMMAX_BIN (BYTE)39 | |
#define Z_UiccId_PUCT_BIN (BYTE)40 | |
#define Z_UiccId_PL_BIN (BYTE)41 | |
#define Z_UiccId_LI_BIN (BYTE)42 | |
#define Z_UiccId_IMEISV (BYTE)43 | |
#define Z_UiccId_BACKUP_DATA_FLG (BYTE)44 | |
#define Z_UiccId_EST_BIN (BYTE)45 | |
#define Z_UiccId_ACL_BIN (BYTE)46 | |
#define Z_UiccId_ICCID_BIN (BYTE)47 | |
#define Z_UiccId_OPL_REC (BYTE)48 | |
#define Z_UiccId_PNN_REC (BYTE)49 | |
#define Z_UiccId_FDN_REC (BYTE)50 | |
#define Z_UiccId_SDN_REC (BYTE)51 | |
#define Z_UiccId_FDNURI_REC (BYTE)52 | |
#define Z_UiccId_SDNURI_REC (BYTE)53 | |
#define Z_UiccId_EXT2_REC (BYTE)54 | |
#define Z_UiccId_EXT3_REC (BYTE)55 | |
#define Z_UiccId_LAST (BYTE)Z_UiccId_EXT3_REC | |
/* FPLMN */ | |
#define ZPS_UICC_LEN_FPLMN (BYTE)85 | |
#define Z_UICC_LEN_FPLMN ZPS_UICC_LEN_FPLMN | |
#define Z_MAX_LEN_URI_TLV_DATA (BYTE)255 /* EFPSISMSC ÖÐURI TLVµÄ×î´ó³¤¶È*/ | |
#define Z_MAX_LEN_EHPLMN (BYTE)85 /*EHPLMNÁбí*/ | |
#define Z_MAX_LEN_NASINT_KEY (BYTE)16 /*ÍêÕûÐÔ±£»¤ÃÜÔ¿µÄ×î´ó³¤¶È*/ | |
#define Z_MAX_LEN_NASENC_KEY (BYTE)16 /*¼ÓÃÜÃÜÔ¿µÄ×î´ó³¤¶È*/ | |
#define Z_MAX_LEN_NH_OR_NCC_PARA (BYTE)32 /*NASÃÜÔ¿µÄ×î´ó³¤¶È*/ | |
/*======================== ¿¨×´Ì¬Ïà¹Ø¶¨Òå ========================*/ | |
#define Z_Uicc_CardOk (BYTE)0 /* psDev¸ù¾Ý¿¨³õʼ»¯ÏûÏ¢É迨ok*/ | |
#define Z_Uicc_NoCard (BYTE)1 /* uiccÉϱ¨ÎÞ¿¨*/ | |
#define Z_Uicc_StateInvalid (BYTE)2 /* uiccÉϱ¨¿¨×´Ì¬ÎÞЧ*/ | |
#define Z_Uicc_StateLogicInvalid (BYTE)3 /* ¼øÈ¨åå»òÕßÇ¿ÖÆÎļþ³ö´í(EFimsi/EFad)£¬µÈps¹ý³Ìʹ¿¨×´Ì¬ÎÞЧ*/ | |
#define Z_Uicc_PinNotVerify (BYTE)4 /* uiccÉϱ¨pinûÓÐÑéÖ¤*/ | |
#define Z_Uicc_CardLocked (BYTE)5 /* uiccÉϱ¨¿¨Ã»ÓнâËø*/ | |
#define Z_Uicc_WaitDeact (BYTE)6 /* µÈ´ýÈ¥»î*/ | |
/*====================== ÐÅÁî¸ú×Ù·½Ïò¶¨Òå =========================*/ | |
#define Z_SIGTRACE_SEND (BYTE)0 | |
#define Z_SIGTRACE_RECV (BYTE)1 | |
/*================ ¶¯×÷½á¹û»òº¯Êý·µ»Ø½á¹ûºê¶¨Òå ====================*/ | |
#define Z_SUCC (BYTE)0 | |
#define Z_FAIL (BYTE)1 | |
/*====================== ÓÐЧ¡¢ÎÞЧºê¶¨Òå =========================*/ | |
#define Z_VALID (BYTE)1 | |
#define Z_INVALID (BYTE)0 | |
#define Z_NULL_BYTE (BYTE)0xff | |
#define Z_NULL_WORD (WORD)0xffff | |
#define Z_NULL_DWORD (DWORD)0xffffffff | |
/*========================== ÖÆÊ½ºê¶¨Òå ==========================*/ | |
#define Z_NO_ACT (BYTE)0x00 | |
#define Z_TD_ACT (BYTE)0x01 | |
#define Z_W_ACT (BYTE)0x02 | |
#define Z_GSM_ACT (BYTE)0x04 | |
#define Z_GSM_COMPACT_ACT (BYTE)0x08 | |
#define Z_LTE_ACT (BYTE)0x10 | |
/*==========================ÖÐÒÆ¶¨Öƺê ==========================*/ | |
#define Z_CMCC_INVALID (BYTE)0x00 | |
#define Z_CMCC_VALID (BYTE)0x01 | |
/*======================== ϵͳ×Óģʽºê¶¨Òå ====================*/ | |
#define Z_SUBMODE_NOSERVE (BYTE)0 /* ÎÞ·þÎñ */ | |
#define Z_SUBMODE_GSM (BYTE)1 /* GSMģʽ */ | |
#define Z_SUBMODE_GPRS (BYTE)2 /* GPRSģʽ */ | |
#define Z_SUBMODE_EDGE (BYTE)3 /* EDGEģʽ */ | |
#define Z_SUBMODE_WCDMA (BYTE)4 /* WCDMAģʽ */ | |
#define Z_SUBMODE_HSDPA (BYTE)5 /* HSDPAģʽ */ | |
#define Z_SUBMODE_HSUPA (BYTE)6 /* HSUPAģʽ */ | |
#define Z_SUBMODE_DPA_UPA (BYTE)7 /* HSUPAºÍHSDPAģʽ */ | |
#define Z_SUBMODE_TD (BYTE)8 /* TD_SCDMAģʽ */ | |
#define Z_SUBMODE_LTE_TDD (BYTE)9 /* LTEģʽTDD */ | |
#define Z_SUBMODE_LTE_FDD (BYTE)10 /* LTEģʽ FDD*/ | |
#define Z_SUBMODE_LTE (BYTE)11 /* LTEģʽ*/ | |
#define Z_SUBMODE_DPAORUPA (BYTE)12 /* HSDPA»òÕßHSUPAģʽ */ | |
#define Z_SUBMODE_HSPA_PLUS (BYTE)13 /* HSPA+ ģʽ*/ | |
/*========================== É䯵¿ª¹Øºê¶¨Òå =======================*/ | |
#define Z_RF_ON (BYTE)0 | |
#define Z_RF_OFF (BYTE)1 | |
/*========================== Óò±êʶºê¶¨Òå ===============================*/ | |
#define Z_CsDomain (BYTE)0 | |
#define Z_PsDomain (BYTE)1 | |
#define Z_MbauDomain (BYTE)2 | |
/*============ CM/UMMÄ£¿éÏòmmiaµÄÏûÏ¢ÖÐÔ´Ë÷ÒýʹÓõÄÄ£¿éºê¶¨Òå =======*/ | |
#define Z_PSMDL_CC (BYTE)1 /* psµÄccÄ£¿éºÅ*/ | |
#define Z_PSMDL_SMS (BYTE)2 /* psµÄsmsÄ£¿éºÅ*/ | |
#define Z_PSMDL_SS (BYTE)3 /* psµÄssÄ£¿éºÅ*/ | |
#define Z_PSMDL_SM (BYTE)4 /* psµÄsmÄ£¿éºÅ*/ | |
#define Z_PSMDL_UMM (BYTE)5 /* psµÄummÄ£¿éºÅ*/ | |
#define Z_PSMDL_ESM (BYTE)6 /* psµÄesmÄ£¿éºÅ*/ | |
#define Z_PSMDL_PB (BYTE)7 /* psµÄstmÄ£¿éºÅ*/ | |
/*************************µ±Ç°°æ±¾ÖÆÊ½ÐÅÏ¢*******************/ | |
#define Z_DEV_NV_RAT_VERSION_TD_ONLY (BYTE)0 | |
#define Z_DEV_NV_RAT_VERSION_GSM_ONLY (BYTE)1 | |
#define Z_DEV_NV_RAT_VERSION_TD_PRIORITY (BYTE)2 | |
#define Z_DEV_NV_RAT_VERSION_GSM_PRIORITY (BYTE)3 | |
#define Z_DEV_NV_RAT_VERSION_DEFAULT (BYTE)4 | |
/*V2-V3Ãû×Ö¼æÈÝend*/ | |
#define Z_SUBMDL_NUM (BYTE)((SUBMDL_PSEND - SUBMDL_PSBASE) + 1) | |
#ifdef _USE_PRINTF | |
#define Z_PRINTF(X)\ | |
if (zCatAgt_IsModemPrintTraced()) zOss_Printf X | |
#define Z_DUALPRINTF(X)\ | |
if (zCatAgt_IsModemPrintTraced()) zCatAgt_DualPrintf X | |
#else | |
#define Z_PRINTF(X) | |
#define Z_DUALPRINTF(X) | |
#endif | |
#ifdef _USE_EXCP_TRACE | |
#define Z_EXCP_TRACE_AGT( bInsNo, bModId, dwErrcode, dwRcvMsgId, dwSendMsgId, \ | |
pString, bState, bErrLevel ) \ | |
zExpt2TraceAgt( bInsNo, bModId, dwErrcode, dwRcvMsgId, dwSendMsgId, \ | |
pString, __FILE__, __LINE__, bState, bErrLevel ) | |
#else | |
#define Z_EXCP_TRACE_AGT( bInsNo, bModId, dwErrcode, dwRcvMsgId, dwSendMsgId, \ | |
pString, bState, bErrLevel ) | |
#endif | |
/****************************************************************************** | |
*ÐÒéÕ»NVÏà¹Ø½á¹¹,Ϊ±ÜÃâÔì³ÉNVÎÉÂÒ½ûÖ¹¶ÔÏÂÃæ½á¹¹½øÐÐÐÞ¸Ä | |
******************************************************************************/ | |
typedef struct { | |
BYTE bAutoGprsAtt; /********************************************************** | |
¹¦ÄÜ£º ָʾÊÇ·ñÖ§³Ö×Ô¶¯GPRS¸½×Å | |
ȡֵ·¶Î§£º1-±íʾ֧³Ö 0-±íʾ²»Ö§³Ö | |
³ö³§Öµ£º0 | |
**************************************************/ | |
BYTE abPadding[3]; | |
}T_zAti_NV_PsAttState; | |
typedef struct { | |
BYTE bLteAct; /******************************************************************************** | |
¹¦ÄÜ£º ÉèÖÃLTE½ÓÈë¼¼Êõ | |
ȡֵ·¶Î§£º0 ~ 3(0½öÖ§³ÖTDD£¬1½öÖ§³ÖFDD£¬2Ö§³ÖTDDºÍFDDÇÒTDDÓÅÏÈ£¬3Ö§³ÖTDDºÍFDDÇÒFDDÓÅÏÈ) | |
³ö³§Öµ£º2 | |
*********************************************************************************/ | |
BYTE abPadding[3]; | |
}T_zAti_NV_LteAct; | |
typedef struct | |
{ | |
BYTE bCid; /* ½¨Òé³ö³§Öµ£º0*/ | |
BYTE bPdpType; /* ½¨Òé³ö³§Öµ£º0*/ | |
BYTE bDComp; /* ½¨Òé³ö³§Öµ£º0*/ | |
BYTE bHComp; /* ½¨Òé³ö³§Öµ£º0*/ | |
BYTE bIPv4AddrAlloc; /* ½¨Òé³ö³§Öµ£º0*/ | |
BYTE bEmergencyInd; /* ½¨Òé³ö³§Öµ£º0*/ | |
BYTE bPCscfDisc; /* ½¨Òé³ö³§Öµ£º0*/ | |
BYTE bImcnSignInd; /* ½¨Òé³ö³§Öµ£º0*/ | |
BYTE bPcoAuthFg; /* ½¨Òé³ö³§Öµ£º0*/ | |
BYTE bAuthType; /*¼øÈ¨ÀàÐÍ,½¨Òé³ö³§Öµ:0*/ | |
BYTE abApn[Z_DEV_AtMem_MAX_APN_LEN]; /* ½¨Òé³ö³§Öµ£º0*/ | |
BYTE abPdpAddr[Z_DEV_AtMem_MAX_PDPADDR_LEN]; /* ½¨Òé³ö³§Öµ£º0*/ | |
BYTE abPassWord[Z_DEV_AtMem_MAX_STR_LEN];/*²»ÄÜ´óÓÚ64,½¨Òé³ö³§Öµ£º0*/ | |
BYTE abUserName[Z_DEV_AtMem_MAX_STR_LEN];/*²»ÄÜ´óÓÚ64,½¨Òé³ö³§Öµ£º0*/ | |
BYTE bPassWordLen;/*³ö³§Öµ0*/ | |
BYTE bUserNameLen;/*³ö³§Öµ0*/ | |
}T_zAti_NV_CidPdpContext; | |
typedef struct | |
{ | |
T_zAti_NV_CidPdpContext tCidPdpCont[Z_MAX_CID_NUM]; | |
}T_zAti_NV_PdpCont; | |
typedef struct { | |
BYTE bLteLCAction; /*0: δÉèÖÃËø¶¨Æµµã»òÐ¡Çø, 1: ÒÑÉèÖÃËø¶¨Æµµã»òÐ¡Çø, ½¨Òé³ö³§Öµ£º0*/ | |
BYTE bPadding; | |
WORD wLteLCCellParaId; /*Ëø¶¨µÄÐ¡Çø£¬½¨Òé³ö³§Öµ£º0xFFFF*/ | |
DWORD dwLteLCUarfcn; /*Ëø¶¨µÄƵµã£¬½¨Òé³ö³§Öµ£º0xFFFFFFFF*/ | |
}T_zAti_NV_LteLcCfg; | |
typedef struct { | |
BYTE bMode; /* ½¨Òé³ö³§Öµ£º2 ×Ô¶¯ËÑÍø*/ | |
BYTE bAcqorder; /* ½¨Òé³ö³§Öµ£º6 ĬÈÏÓÅÏȼ¶£¬°´ÕÕLTE->TD->GSMÖÆÊ½Ë³ÐòËÑÍø*/ | |
BYTE bRoam; /* ½¨Òé³ö³§Öµ£º1 Ö§³ÖÂþÓÎ*/ | |
BYTE bSrvdomain; /* ½¨Òé³ö³§Öµ£º2 Ö§³ÖCS/PS*/ | |
}T_zAti_NV_Sysconfig; | |
typedef struct { | |
T_z_PlmnId tPlmnId; /*PLMNID*/ | |
BYTE bPadding; | |
BYTE abFullName[Z_MAX_LONGNAME_LEN]; /*ÔËÓªÉ̳¤Ãû*/ | |
BYTE abShortName[Z_MAX_SHORTNAME_LEN]; /*ÔËÓªÉ̶ÌÃû*/ | |
}T_zAti_NV_OperPlmnInfo; | |
typedef struct { | |
T_zAti_NV_OperPlmnInfo atNvMePlmnIDInfo[Z_MAX_ME_OPER_NUM];/*ÔËÓªÉÌÍøÂçÐÅÏ¢Áбí*/ | |
/*³ö³¡Öµ: | |
atNvMePlmnIDInfo[0]: tPlmnId: 46000 abFullName: "CHINA MOBILE",abShortName:"CMCC" | |
atNvMePlmnIDInfo[1]: tPlmnId: 46002 abFullName: "CHINA MOBILE",abShortName:"CMCC" | |
atNvMePlmnIDInfo[2]: tPlmnId: 46007 abFullName: "CHINA MOBILE",abShortName:"CMCC" | |
atNvMePlmnIDInfo[3]: tPlmnId: 46008 abFullName: "CHINA MOBILE",abShortName:"CMCC" | |
atNvMePlmnIDInfo[4]: tPlmnId: 46001 abFullName: "CHINA-UNICOM",abShortName:"UNICOM" | |
atNvMePlmnIDInfo[5]: tPlmnId: 46006 abFullName: "CHINA-UNICOM",abShortName:"UNICOM" | |
atNvMePlmnIDInfo[6]: tPlmnId: 46009 abFullName: "CHINA-UNICOM",abShortName:"UNICOM" | |
atNvMePlmnIDInfo[7]: tPlmnId: 46003 abFullName: "CHN-CT",abShortName:"CT" | |
atNvMePlmnIDInfo[8]: tPlmnId: 46005 abFullName: "CHN-CT",abShortName:"CT" | |
atNvMePlmnIDInfo[9]: tPlmnId: 46011 abFullName: "CHN-CT",abShortName:"CT" | |
atNvMePlmnIDInfo[10]: tPlmnId: 46012 abFullName: "CHN-CT",abShortName:"CT" | |
ÆäËûµÄPLMNIDΪȫF,Ãû³ÆÎªÈ«0*/ | |
}T_zAti_NV_MePlmnInfo; | |
typedef struct { | |
T_zAti_NV_OperPlmnInfo atNvNetPlmnIDInfo[Z_MAX_NET_OPER_NUM]; | |
/*³ö³§Öµ:atNvNetPlmnIDInfo[0]: tPlmnId:È«F,abFullName:È«0,abShortName:È«0 .ÒÔ´ËÀàÍÆ*/ | |
}T_zAti_NV_NetPlmnInfo; | |
typedef struct{ | |
BYTE bSellStatSwitch;/******************************************************************************** | |
¹¦ÄÜ£º ÏúÁ¿Í³¼Æ¿ª¹Ø | |
ȡֵ·¶Î§£º0£ºÏúÁ¿¹¦Äܹرգ»1£ºÏúÁ¿Í³¼Æ¹¦ÄÜ´ò¿ª | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BYTE bCRC; /******************************************************************************** | |
¹¦ÄÜ£º CRCÖµ£¬ÓÃÓÚ·¢ËÍÏúÁ¿Í³¼Æ°üʱ½øÐмÓÃÜ | |
ȡֵ·¶Î§£º0~255 | |
³ö³§Öµ£º0x55 | |
*********************************************************************************/ | |
BYTE bDebug; /******************************************************************************** | |
¹¦ÄÜ£º ¿ªÆôDebug ģʽ£¬½µµÍÏúÁ¿Í³¼Æ³ö·¢ÃÅÏÞ | |
ȡֵ·¶Î§£º0£ºdebugģʽ¹Ø±Õ£¬1£ºdebugģʽ¿ªÆô | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BYTE bSellStatTriFg;/******************************************************************************** | |
¹¦ÄÜ£ºÏúÁ¿Í³¼Æ±ê¼Ç룬 | |
bit0£ºµ¥´Îpdp¼¤»îÌõ¼þÂú×ã±ê¼Ç룬 | |
bit1£ºÀÛ¼ÆPDP¼¤»îʱ¼äÂú×ã±ê¼Ç룬 | |
bit2£º´ý»úʱ¼äÌõ¼þÂú×ã±ê¼Çλ¡£ | |
ȡֵ·¶Î§£ºÃ¿Ò»¸öbitÖÃ1±íʾÌõ¼þÂú×㣬0±íʾÌõ¼þ²»Âú×ã 0x00~0x07 | |
³ö³§Öµ£º0x00 | |
*********************************************************************************/ | |
WORD wPort; /******************************************************************************** | |
¹¦ÄÜ£º ÏúÁ¿Í³¼Æ·þÎñÆ÷¶Ë¿ÚºÅ | |
ȡֵ·¶Î§£º0~0xFFFF | |
³ö³§Öµ£ºÐ¡¶Ëʱȡֵ0x2332 | |
*********************************************************************************/ | |
BYTE bPacketSendCnt;/******************************************************************************** | |
¹¦ÄÜ£ºÏúÁ¿Í³¼Æ°ü·¢ËͼÆÊý | |
ȡֵ·¶Î§£º0~255 | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BYTE bPacketSendState;/******************************************************************************** | |
¹¦ÄÜ£º ÏúÁ¿Í³¼ÆIP°ü·¢ËÍ״̬ | |
0---ÏúÁ¿Í³¼ÆIP°ü·¢ËÍÒÑÈ·ÈÏ»ò·¢ËÍ×Ü´ÎÊýÒѳ¬¹ýÉÏÏÞ | |
1--ÏúÁ¿Í³¼ÆIP°üÈÔ¿É·¢ËÍ | |
ȡֵ·¶Î§£º0~1 | |
³ö³§Öµ£º1 | |
*********************************************************************************/ | |
BYTE bRegCnt;/******************************************************************************** | |
¹¦ÄÜ£º ÍøÂç×¢²áʱ¼äÂú×ãÏúÁ¿Í³¼ÆÃÅÏÞ´ÎÊý | |
ȡֵ·¶Î§£º0~255 | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BYTE abPadding[3];/******************************************************************************** | |
¹¦ÄÜ£ºÌî³äλ | |
ȡֵ·¶Î§£º0 | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
DWORD dwSumPdpTime;/******************************************************************************** | |
¹¦ÄÜ:ÀÛ¼ÆPDPÉÏÍøÊ±¼ä,µ¥Î»Îªms | |
ȡֵ·¶Î§£º0~0xffffffff | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BYTE abDomain[Z_DEV_SELLSTAT_MAX_DOMAIN_LEN]; | |
/******************************************************************************** | |
¹¦ÄÜ£ºÏúÁ¿Í³¼Æ·þÎñÆ÷ÓòÃû£¬×Ö·û´®±íʾ£¬ÒÔ\0±íʾ½áÊø | |
ȡֵ·¶Î§£ºÈÎÒâ×Ö·û´® | |
³ö³§Öµ£º"hq0.patrol.update2.zte.com.cn" | |
*********************************************************************************/ | |
}T_zAti_NV_SellStat; | |
typedef struct{ | |
BYTE bLteThreshRsrp; /*0-97,³ö³§Öµ0*/ | |
BYTE bLteThreshRsrp_High; /*0-97,³ö³§Öµ97*/ | |
BYTE bLteThreshRsrq; /*0-34,³ö³§Öµ0*/ | |
BYTE bLteThreshRsrq_High; /*0-34,³ö³§Öµ34*/ | |
BYTE bTdThreshRscp; /*0-96,³ö³§Öµ0*/ | |
BYTE bTdThreshRscp_High; /*0-96,³ö³§Öµ96*/ | |
BYTE abPadding[2]; | |
}T_zAti_NV_PsServOutParam; | |
typedef struct{ | |
BYTE bTimerLen; /*0-10,³ö³§Öµ4*/ | |
BYTE abPadding[3]; | |
}T_zAti_NV_FropInfo; | |
typedef struct{ | |
BYTE bCopsMode; /*³ö³§Öµ0*/ | |
BYTE bOperFg; /* ³ö³§Öµ0 */ | |
BYTE bNameFg; /* ³ö³§Öµ0 */ | |
BYTE bPadding; | |
BYTE abOperate[Z_MAX_LONGNAME_LEN]; /* ³ö³§ÖµÈ«0 */ | |
T_z_PlmnAct tPlmnAct; /* ³ö³§ÖµÈ«0xff */ | |
}T_zAti_NV_CopsMode; | |
/************************************************************************************* | |
bEndpoint:1±íʾ±ÕºÏµãÔÚÐźÅÇ¿¶ÈСµÄÒ»¶Ë,2±íʾ±ÕºÏµãÔÚÐźÅÇ¿¶È´óµÄÒ»¶Ë | |
ÒÔbEndpoint=2ΪÀý,>-80(5¸ñ),[-80,-90)4¸ñ,[-90,-98)3¸ñ,[-98,-104)2¸ñ,[-104,-110)1¸ñ, | |
СÓÚµÈÓÚ-110Ϊ0¸ñ | |
bStepNum:±íʾÐźŸñ×î´óÊý,Ŀǰ×î´óÊýΪ5¸ñ,Èç¹û¸ÄΪСÓÚ5µÄÖµ,Ôò¶ÔÓ¦µÄ | |
ÐźÅÇ¿¶È±ß½çÖµÊý×éabRssiÀïµÄÖµÒ²ÒªÏàÓ¦¼õÉÙ | |
**************************************************************************************/ | |
typedef struct{ | |
BYTE bEndpoint; /*Çø¼ä±ÕºÏµã³ö³§Öµ2*/ | |
BYTE bStepNum; /*ÐźŸñÊý³ö³§Öµ5 */ | |
BYTE abRssi[Z_MAX_SIGNAL_STEP]; | |
/*ÐźÅÇø¼ä±ß½çÖµ1³ö³§Öµ80 | |
ÐźÅÇø¼ä±ß½çÖµ2³ö³§Öµ90 | |
ÐźÅÇø¼ä±ß½çÖµ3³ö³§Öµ98 | |
ÐźÅÇø¼ä±ß½çÖµ4³ö³§Öµ104 | |
ÐźÅÇø¼ä±ß½çÖµ5³ö³§Öµ110*/ | |
BYTE bPadding; | |
}T_zAti_NV_GsmSignalboxCfg; | |
/************************************************************************************* | |
bEndpoint:1±íʾ±ÕºÏµãÔÚÐźÅÇ¿¶ÈСµÄÒ»¶Ë,2±íʾ±ÕºÏµãÔÚÐźÅÇ¿¶È´óµÄÒ»¶Ë | |
ÒÔbEndpoint=2ΪÀý,>-80(5¸ñ),[-80,-90)4¸ñ,[-90,-98)3¸ñ,[-98,-104)2¸ñ,[-104,-110)1¸ñ, | |
СÓÚµÈÓÚ-110Ϊ0¸ñ | |
bStepNum:±íʾÐźŸñ×î´óÊý,Ŀǰ×î´óÊýΪ5¸ñ,Èç¹û¸ÄΪСÓÚ5µÄÖµ,Ôò¶ÔÓ¦µÄ | |
ÐźÅÇ¿¶È±ß½çÖµÊý×éabRssiÀïµÄÖµÒ²ÒªÏàÓ¦¼õÉÙ | |
**************************************************************************************/ | |
typedef struct{ | |
BYTE bEndpoint; /*Çø¼ä±ÕºÏµã³ö³§Öµ2*/ | |
BYTE bStepNum; /*ÐźŸñÊý³ö³§Öµ5 */ | |
BYTE abRssi[Z_MAX_SIGNAL_STEP]; | |
/*ÐźÅÇø¼ä±ß½çÖµ1³ö³§Öµ80 | |
ÐźÅÇø¼ä±ß½çÖµ2³ö³§Öµ90 | |
ÐźÅÇø¼ä±ß½çÖµ3³ö³§Öµ98 | |
ÐźÅÇø¼ä±ß½çÖµ4³ö³§Öµ104 | |
ÐźÅÇø¼ä±ß½çÖµ5³ö³§Öµ110*/ | |
BYTE bPadding; | |
}T_zAti_NV_TdSignalboxCfg; | |
/************************************************************************************* | |
bEndpoint:1±íʾ±ÕºÏµãÔÚÐźÅÇ¿¶ÈСµÄÒ»¶Ë,2±íʾ±ÕºÏµãÔÚÐźÅÇ¿¶È´óµÄÒ»¶Ë | |
ÒÔbEndpoint=2ΪÀý,>-80(5¸ñ),[-80,-90)4¸ñ,[-90,-98)3¸ñ,[-98,-104)2¸ñ,[-104,-110)1¸ñ, | |
СÓÚµÈÓÚ-110Ϊ0¸ñ | |
bStepNum:±íʾÐźŸñ×î´óÊý,Ŀǰ×î´óÊýΪ5¸ñ,Èç¹û¸ÄΪСÓÚ5µÄÖµ,Ôò¶ÔÓ¦µÄ | |
ÐźÅÇ¿¶È±ß½çÖµÊý×éabRssiÀïµÄÖµÒ²ÒªÏàÓ¦¼õÉÙ | |
**************************************************************************************/ | |
typedef struct{ | |
BYTE bEndpoint; /*Çø¼ä±ÕºÏµã³ö³§Öµ2*/ | |
BYTE bStepNum; /*ÐźŸñÊý³ö³§Öµ5 */ | |
BYTE abRssi[Z_MAX_SIGNAL_STEP]; | |
/*ÐźÅÇø¼ä±ß½çÖµ1³ö³§Öµ80 | |
ÐźÅÇø¼ä±ß½çÖµ2³ö³§Öµ90 | |
ÐźÅÇø¼ä±ß½çÖµ3³ö³§Öµ98 | |
ÐźÅÇø¼ä±ß½çÖµ4³ö³§Öµ104 | |
ÐźÅÇø¼ä±ß½çÖµ5³ö³§Öµ110*/ | |
BYTE bPadding; | |
}T_zAti_NV_WSignalboxCfg; | |
/************************************************************************************** | |
bEndpoint:1±íʾ±ÕºÏµãÔÚÐźÅÇ¿¶ÈСµÄÒ»¶Ë,2±íʾ±ÕºÏµãÔÚÐźÅÇ¿¶È´óµÄÒ»¶Ë | |
ÒÔbEndpoint=1ΪÀý,>= -97(5¸ñ),(-97,-105]4¸ñ,(-105,-110]3¸ñ,(-110,-115]2¸ñ,(-115,-120]1¸ñ, | |
СÓÚ-120Ϊ0¸ñ. | |
bStepNum:±íʾÐźŸñ×î´óÊý,Ŀǰ×î´óÊýΪ5¸ñ,Èç¹û¸ÄΪСÓÚ5µÄÖµ,Ôò¶ÔÓ¦µÄ | |
ÐźÅÇ¿¶È±ß½çÖµÊý×éabRssiÀïµÄÖµÒ²ÒªÏàÓ¦¼õÉÙ | |
***************************************************************************************/ | |
typedef struct{ | |
BYTE bEndpoint; /*Çø¼ä±ÕºÏµã³ö³§Öµ1*/ | |
BYTE bStepNum; /*ÐźŸñÊý³ö³§Öµ5*/ | |
BYTE abRssi[Z_MAX_SIGNAL_STEP]; | |
/*ÐźÅÇø¼ä±ß½çÖµ1³ö³§Öµ97 | |
ÐźÅÇø¼ä±ß½çÖµ2³ö³§Öµ105 | |
ÐźÅÇø¼ä±ß½çÖµ3³ö³§Öµ110 | |
ÐźÅÇø¼ä±ß½çÖµ4³ö³§Öµ115 | |
ÐźÅÇø¼ä±ß½çÖµ5³ö³§Öµ120*/ | |
BYTE bPadding; | |
}T_zAti_NV_LteSignalboxCfg; | |
typedef struct{ | |
BYTE bWLCAct; /*0:δÉèÖÃËø¶¨Æµµã»òÐ¡Çø1:ÒÑÉèÖÃËø¶¨Ð¡Çø,½¨Òé³ö³§Öµ0*/ | |
BYTE abPadding[3]; | |
T_z_WCell tWCell; | |
/*wUarfcn: Ëø¶¨Ð¡ÇøµÃÏÂÐÐÆµµã,412~10838,³ö³§Öµ£º0XFFFF | |
wPrimSc: Ëø¶¨Ð¡ÇøµÄÈÅÂë,0~511,³ö³§Öµ£º0XFFFF*/ | |
}T_zAti_NV_WLcCfg; | |
typedef struct{ | |
BYTE bTLCAct; /*0:δÉèÖÃËø¶¨Æµµã»òÐ¡Çø1:ÒÑÉèÖÃËø¶¨Ð¡Çø,½¨Òé³ö³§Öµ0*/ | |
BYTE abPadding[3]; | |
T_z_TdCell tTCell; | |
/*bCellParaId: ½¨Òé³ö³§Öµ0 | |
wUarfcn:½¨Òé³ö³§Öµ0*/ | |
}T_zAti_NV_TLcCfg; | |
typedef struct{ | |
BYTE bGLCAct;/*0:δÉèÖÃËø¶¨Æµµã»òÐ¡Çø1:ÒÑÉèÖÃËø¶¨Ð¡Çø,½¨Òé³ö³§Öµ0*/ | |
BYTE abPadding; | |
WORD wArfcn;/*½¨Òé³ö³§Öµ0*/ | |
}T_zAti_NV_GLcCfg; | |
typedef struct{ | |
BYTE bSaiListSet; /*SAIÁбíÉϱ¨¿ª¹Ø,0:¹Ø±Õ1:´ò¿ª,³ö³§Öµ:0*/ | |
BYTE bTmgiListSet; /*TMGIÁбíÉϱ¨¿ª¹Ø,0:¹Ø±Õ1:´ò¿ª,³ö³§Öµ:0*/ | |
BYTE bMbmsModeSet; /*EMBMSÓÅÏȹ¤×÷ģʽ,0:unicastÓÅÏÈ1:×é²¥ÓÅÏÈ,³ö³§Öµ:0*/ | |
BYTE bPadding; | |
}T_zAti_NV_EmbmsStat; | |
typedef struct{ | |
BYTE bSerachSet;/*ÊÇ·ñÔÊÐíËÑÍø,ÓÃÒÔÇø·ÖÊÇ·ñÎªËøÍø¼øÈ¨°æ±¾, | |
ÊÇËøÍø¼øÈ¨°æ±¾Ôò³ö³§ÖµÎª0,±íʾ¹Ø±ÕËÑÍø¹¦ÄÜ | |
²»ÊÇÔò³ö³§ÖµÎª1,±íʾ´ò¿ªËÑÍø¹¦ÄÜ*/ | |
BYTE abPadding[3]; | |
}T_zAti_NV_LockSearchPlmn; | |
typedef struct{ | |
BYTE bCustomInfoFlg;/*³ö³§Öµ0,Óû§ÉèÖÃÐÅÏ¢ÊÇ·ñ´æÔÚ,1±íʾÓÐЧ¼´ÓÐЧµÄ bCustomBandÓë bEquateBandµÈͬ¡£0±íʾÎÞЧ£¬²»ÐèÒª×öµÈ¼ÛBANDת»»*/ | |
BYTE bCustomBand; /*³ö³§Öµ0,Óû§ÔʼƵ¶Î,ȡֵ1-64.±¸×¢£ºÓû§Ö»ÔÊÐíÉèÖÃUE²»Ö§³ÖµÄband.µ±Ç°¶¨ÖÆÐèÇóÊÇbCustomBand¹Ì¶¨Îª63*/ | |
BYTE bEquateBand;/*³ö³§Öµ0,ÓëÓû§ÔʼƵ¶ÎµÈͬµÄƵ¶Î,ȡֵ1-64*/ | |
BYTE bPadding; | |
}T_zAti_NV_CustomBandTransInfo; | |
typedef struct{ | |
BYTE bLteCustomPemax; /*ȡֵ·¶Î§1-63,0ΪÎÞЧֵ£¬Ê¹ÓÃʱÐèÒª¼õ30£¬Êµ¼Êȡֵ·¶Î§ÊÇ-30--33 dbm*/ | |
BYTE bTddMaxAlwUlTxPwr; /*ȡֵ·¶Î§1--83,0ΪÎÞЧֵ£¬Ê¹ÓÃʱÐèÒª¼õ50£¬Êµ¼Êȡֵ·¶Î§ÊÇ-50--33 dbm*/ | |
BYTE bFddMaxAlwUlTxPwr; /*ȡֵ·¶Î§1--83,0ΪÎÞЧֵ£¬Ê¹ÓÃʱÐèÒª¼õ50£¬Êµ¼Êȡֵ·¶Î§ÊÇ-50--33 dbm*/ | |
BYTE bGsmCustomPower; /*ȡֵ·¶Î§1-31,0ΪÎÞЧֵ,¸ÃÖµÓëpower control levelË÷ÒýÖµÒ»Ö£¬ÊÇË÷ÒýÖµ ²»ÊÇÕæÊµ¹¦ÂÊdBm*/ | |
}T_zAti_Nv_CustomTxPower; | |
typedef struct{ | |
BITS bBand1:1; /* ¹¦ÄÜ£ºÆµ¶Î1Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand2:1; /* ¹¦ÄÜ£º Ƶ¶Î2Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:0 */ | |
BITS bBand3:1; /* ¹¦ÄÜ£ºÆµ¶Î3Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:0 */ | |
BITS bBand4:1; /* ¹¦ÄÜ£ºÆµ¶Î4Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand5:1; /* ¹¦ÄÜ£ºÆµ¶Î5Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:0 */ | |
BITS bBand6:1; /* ¹¦ÄÜ£ºÆµ¶Î6Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand7:1; /* ¹¦ÄÜ£ºÆµ¶Î7Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:1*/ | |
BITS bBand8:1; /* ¹¦ÄÜ£ºÆµ¶Î8Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:0 */ | |
BITS bBand9:1; /* ¹¦ÄÜ£ºÆµ¶Î9Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand10:1; /* ¹¦ÄÜ£ºÆµ¶Î10Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand11:1; /* ¹¦ÄÜ£ºÆµ¶Î11Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand12:1; /* ¹¦ÄÜ£ºÆµ¶Î12Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand13:1; /* ¹¦ÄÜ£ºÆµ¶Î13Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand14:1; /* ¹¦ÄÜ£ºÆµ¶Î14Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand15:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand16:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand17:1; /* ¹¦ÄÜ£ºÆµ¶Î17Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand18:1; /* ¹¦ÄÜ£ºÆµ¶Î18Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand19:1; /* ¹¦ÄÜ£ºÆµ¶Î19Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:0 */ | |
BITS bBand20:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand21:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand22:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand23:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand24:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand25:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand26:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand27:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand28:1; /* ¹¦ÄÜ£ºÆµ¶Î28Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:0 */ | |
BITS bBand29:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand30:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand31:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand32:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand33:1; /* ¹¦ÄÜ£ºÆµ¶Î33Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand34:1; /* ¹¦ÄÜ£ºÆµ¶Î34Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand35:1; /* ¹¦ÄÜ£ºÆµ¶Î35Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand36:1; /* ¹¦ÄÜ£ºÆµ¶Î36Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:0 */ | |
BITS bBand37:1; /* ¹¦ÄÜ£ºÆµ¶Î37Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand38:1; /* ¹¦ÄÜ£ºÆµ¶Î38Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:1*/ | |
BITS bBand39:1; /* ¹¦ÄÜ£ºÆµ¶Î39Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:1*/ | |
BITS bBand40:1; /* ¹¦ÄÜ£ºÆµ¶Î40Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:1 */ | |
BITS bBand41:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand42:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand43:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand44:1; /* ¹¦ÄÜ£ºÆµ¶Î44Ö§³ÖÓë·ñ ȡֵ·¶Î§:0~1 ³ö³§Öµ:0 */ | |
BITS bBand45:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand46:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand47:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand48:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand49:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand50:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand51:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand52:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand53:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand54:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand55:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand56:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand57:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand58:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0 */ | |
BITS bBand59:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand60:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand61:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand62:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0 */ | |
BITS bBand63:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand64:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand65:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS bBand66:1; /* ¹¦ÄÜ£ºReserved ȡֵ·¶Î§:0~1 ³ö³§Öµ:0*/ | |
BITS :6; /* ¹¦ÄÜ£º Ìî³äλ ȡֵ·¶Î§£º0 ³ö³§Öµ£º0*/ | |
BYTE abBandPadding[3]; | |
}T_zAti_Nv_LteBand,T_zAti_Nv_LteBand_Backup; | |
typedef struct{ | |
BITS bTddA:1; /******************************************************************************** | |
¹¦ÄÜ£º ÊÇ·ñÖ§³ÖTDD A²¨¶Î,1±íʾ֧³Ö | |
ȡֵ·¶Î§£º0-1 | |
³ö³§Öµ£º1 (Èô²»¿ªÐбêºê£¬AÖ§³ÖµÄÊÇ1800-1900,Èô¿ªÁËÐбêµÄºê£¬AÖ§³ÖµÄΪ2010-2025) | |
*********************************************************************************/ | |
BITS bTddB:1; /******************************************************************************** | |
¹¦ÄÜ£º ÊÇ·ñÖ§³ÖTDD B²¨¶Î£¬1±íʾ֧³Ö | |
ȡֵ·¶Î§£º0-1 | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BITS bTddC:1; /******************************************************************************** | |
¹¦ÄÜ£º ÊÇ·ñÖ§³ÖTDD C²¨¶Î,1±íʾ֧³Ö | |
ȡֵ·¶Î§£º0-1 | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BITS bTddD:1; /******************************************************************************** | |
¹¦ÄÜ£º ÊÇ·ñÖ§³ÖTDD D²¨¶Î,1±íʾ֧³Ö | |
ȡֵ·¶Î§£º0-1 | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BITS bTddE:1; /******************************************************************************** | |
¹¦ÄÜ£º ÊÇ·ñÖ§³ÖTDD E²¨¶Î,1±íʾ֧³Ö | |
ȡֵ·¶Î§£º0-1 | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BITS bTddF:1; /******************************************************************************** | |
¹¦ÄÜ£º ÊÇ·ñÖ§³ÖTDD F²¨¶Î,1±íʾ֧³Ö | |
ȡֵ·¶Î§£º0-1 | |
³ö³§Öµ£º1 (FÖ§³ÖµÄΪ1880-1920) | |
*********************************************************************************/ | |
BITS bTddG:1; /************************************************************************* | |
¹¦ ÄÜ:ÊÇ·ñÖ§³ÖTddG | |
ȡֵ·¶Î§£º0-1 | |
³ö³§Öµ£º0 | |
**************************************************************************/ | |
BITS bTddH:1; /************************************************************************* | |
¹¦ ÄÜ:ÊÇ·ñÖ§³ÖTddH | |
ȡֵ·¶Î§£º0-1 | |
³ö³§Öµ£º0 | |
**************************************************************************/ | |
BITS bTddI:1; /************************************************************************* | |
¹¦ ÄÜ:ÊÇ·ñÖ§³ÖTddI | |
ȡֵ·¶Î§£º0-1 | |
³ö³§Öµ£º0 | |
**************************************************************************/ | |
BITS bTddJ:1; /************************************************************************* | |
¹¦ ÄÜ:ÊÇ·ñÖ§³ÖTddJ | |
ȡֵ·¶Î§£º0-1 | |
³ö³§Öµ£º0 | |
**************************************************************************/ | |
BITS bTddK:1; /************************************************************************* | |
¹¦ ÄÜ:ÊÇ·ñÖ§³ÖTddK | |
ȡֵ·¶Î§£º0-1 | |
³ö³§Öµ£º0 | |
**************************************************************************/ | |
BITS bTddL:1; /************************************************************************* | |
¹¦ ÄÜ:ÊÇ·ñÖ§³ÖTddL | |
ȡֵ·¶Î§£º0-1 | |
³ö³§Öµ£º0 | |
**************************************************************************/ | |
BITS bTddM:1; /************************************************************************* | |
¹¦ ÄÜ:ÊÇ·ñÖ§³ÖTddM | |
ȡֵ·¶Î§£º0-1 | |
³ö³§Öµ£º0 | |
**************************************************************************/ | |
BITS bTddN:1; /************************************************************************* | |
¹¦ ÄÜ:ÊÇ·ñÖ§³ÖTddN | |
ȡֵ·¶Î§£º0-1 | |
³ö³§Öµ£º0 | |
**************************************************************************/ | |
BITS bTddO:1; /************************************************************************* | |
¹¦ ÄÜ:ÊÇ·ñÖ§³ÖTddO | |
ȡֵ·¶Î§£º0-1 | |
³ö³§Öµ£º0 | |
**************************************************************************/ | |
BITS bTddP:1; /************************************************************************* | |
¹¦ ÄÜ:ÊÇ·ñÖ§³ÖTddP | |
ȡֵ·¶Î§£º0-1 | |
³ö³§Öµ£º0 | |
**************************************************************************/ | |
BYTE abPadding[2]; | |
}T_zAti_Nv_TddBand,T_zAti_Nv_TddBand_Backup; | |
typedef struct{ | |
BITS bSuppFddBand1:1; /********************************************************************************* | |
¹¦ÄÜ£º ÊÇ·ñÊÇÖ§³ÖµÄFDD ²¨¶Î | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö¸Ã²¨¶Î£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º1 | |
*********************************************************************************/ | |
BITS bSuppFddBand2:1; /********************************************************************************* | |
¹¦ÄÜ£º ÊÇ·ñÊÇÖ§³ÖµÄFDD ²¨¶Î | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö¸Ã²¨¶Î£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º1 | |
*********************************************************************************/ | |
BITS bSuppFddBand3:1; /********************************************************************************* | |
¹¦ÄÜ£º ÊÇ·ñÊÇÖ§³ÖµÄFDD ²¨¶Î | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö¸Ã²¨¶Î£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BITS bSuppFddBand4:1; /********************************************************************************* | |
¹¦ÄÜ£º ÊÇ·ñÊÇÖ§³ÖµÄFDD ²¨¶Î | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö¸Ã²¨¶Î£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BITS bSuppFddBand5:1; /********************************************************************************* | |
¹¦ÄÜ£º ÊÇ·ñÊÇÖ§³ÖµÄFDD ²¨¶Î | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö¸Ã²¨¶Î£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BITS bSuppFddBand6:1; /********************************************************************************* | |
¹¦ÄÜ£º ÊÇ·ñÊÇÖ§³ÖµÄFDD ²¨¶Î | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö¸Ã²¨¶Î£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º1? | |
*********************************************************************************/ | |
BITS bSuppFddBand7:1; /********************************************************************************* | |
¹¦ÄÜ£º ÊÇ·ñÊÇÖ§³ÖµÄFDD ²¨¶Î | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö¸Ã²¨¶Î£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BITS bSuppFddBand8:1; /********************************************************************************* | |
¹¦ÄÜ£º ÊÇ·ñÊÇÖ§³ÖµÄFDD ²¨¶Î | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö¸Ã²¨¶Î£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º1 | |
*********************************************************************************/ | |
BITS bSuppFddBand9:1; /********************************************************************************* | |
¹¦ÄÜ£º ÊÇ·ñÊÇÖ§³ÖµÄFDD ²¨¶Î | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö¸Ã²¨¶Î£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º1 | |
*********************************************************************************/ | |
BITS bSuppFddBand10:1; /********************************************************************************* | |
¹¦ÄÜ£º ÊÇ·ñÊÇÖ§³ÖµÄFDD ²¨¶Î | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö¸Ã²¨¶Î£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BITS bSuppFddBand11:1; /********************************************************************************* | |
¹¦ÄÜ£º ÊÇ·ñÊÇÖ§³ÖµÄFDD ²¨¶Î | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö¸Ã²¨¶Î£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º1 | |
*********************************************************************************/ | |
BITS bSuppFddBand12:1; /********************************************************************************* | |
¹¦ÄÜ£º ÊÇ·ñÊÇÖ§³ÖµÄFDD ²¨¶Î | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö¸Ã²¨¶Î£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BITS bSuppFddBand13:1; /********************************************************************************* | |
¹¦ÄÜ£º ÊÇ·ñÊÇÖ§³ÖµÄFDD ²¨¶Î | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö¸Ã²¨¶Î£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BITS bSuppFddBand14:1; /********************************************************************************* | |
¹¦ÄÜ£º ÊÇ·ñÊÇÖ§³ÖµÄFDD ²¨¶Î | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö¸Ã²¨¶Î£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BITS bSuppFddBand15:1; /********************************************************************************* | |
¹¦ÄÜ£º ÊÇ·ñÊÇÖ§³ÖµÄFDD ²¨¶Î | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö¸Ã²¨¶Î£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BITS bSuppFddBand16:1; /********************************************************************************* | |
¹¦ÄÜ£º ÊÇ·ñÊÇÖ§³ÖµÄFDD ²¨¶Î | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö¸Ã²¨¶Î£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BITS bSuppFddBand17:1; /********************************************************************************* | |
¹¦ÄÜ£º ÊÇ·ñÊÇÖ§³ÖµÄFDD ²¨¶Î | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö¸Ã²¨¶Î£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BITS bSuppFddBand18:1; /********************************************************************************* | |
¹¦ÄÜ£º ÊÇ·ñÊÇÖ§³ÖµÄFDD ²¨¶Î | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö¸Ã²¨¶Î£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BITS bSuppFddBand19:1; /********************************************************************************* | |
¹¦ÄÜ£º ÊÇ·ñÊÇÖ§³ÖµÄFDD ²¨¶Î | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö¸Ã²¨¶Î£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º1 | |
*********************************************************************************/ | |
BITS bSuppFddBand20:1; /********************************************************************************* | |
¹¦ÄÜ£º ÊÇ·ñÊÇÖ§³ÖµÄFDD ²¨¶Î | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö¸Ã²¨¶Î£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BITS bSuppFddBand21:1; /********************************************************************************* | |
¹¦ÄÜ£º ÊÇ·ñÊÇÖ§³ÖµÄFDD ²¨¶Î | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö¸Ã²¨¶Î£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BITS bSuppFddBand22:1; /********************************************************************************* | |
¹¦ÄÜ£º ÊÇ·ñÊÇÖ§³ÖµÄFDD ²¨¶Î | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö¸Ã²¨¶Î£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BITS :2; | |
BYTE bPadding; | |
}T_zAti_Nv_FddBand,T_zAti_Nv_FddBand_Backup; | |
typedef struct{ | |
BITS bGsm450:1; /******************************************************************************** | |
¹¦ÄÜ£º ÊÇ·ñÖ§³ÖGsm450 | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BITS bGsm480:1; /******************************************************************************** | |
¹¦ÄÜ£º ÊÇ·ñÖ§³ÖGsm480 | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BITS bGsm750:1; /******************************************************************************** | |
¹¦ÄÜ£º ÊÇ·ñÖ§³ÖGsm750 | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BITS bGsm850:1; /******************************************************************************** | |
¹¦ÄÜ£º ÊÇ·ñÖ§³ÖGsm850 | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BITS bGsm900:2; /******************************************************************************** | |
¹¦ÄÜ£º ÊÇ·ñÖ§³ÖGsm900 | |
ȡֵ·¶Î§£º0£¬1£¬2£¬3£¨0±íʾ²»Ö§³Ö£¬1±íʾ֧³ÖP900£¬2±íʾ֧³ÖE900£¬3±íʾ֧³ÖR900£© | |
³ö³§Öµ£º2 | |
*********************************************************************************/ | |
BITS bGsm1800:1; /******************************************************************************** | |
¹¦ÄÜ£º ÊÇ·ñÖ§³ÖGsm1800 | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º1 | |
*********************************************************************************/ | |
BITS bGsm1900:1; /******************************************************************************** | |
¹¦ÄÜ£º ÊÇ·ñÖ§³ÖTDD A²¨¶Î | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö£¬1±íʾ֧³Ö£© | |
³ö³§Öµ£º0 | |
*********************************************************************************/ | |
BYTE abPadding[3]; | |
}T_zAti_Nv_GsmBand,T_zAti_Nv_GsmBand_Backup; | |
typedef struct{ | |
BYTE bSuptPseudoFr;/***************************************** | |
¹¦ÄÜ£º ÊÇ·ñÖ§³Ö×¼FR | |
ȡֵ·¶Î§£º0£¬1£¨0±íʾ²»Ö§³Ö£¬1±íʾ֧³Ö£© | |
*****************************************/ | |
BYTE abPadding[3]; | |
}T_zAti_NV_EudoFR; | |
typedef struct{ | |
BYTE bLteCustomPemax; /*ȡֵ·¶Î§1-63,0ΪÎÞЧֵ£¬Ê¹ÓÃʱÐèÒª¼õ30£¬Êµ¼Êȡֵ·¶Î§ÊÇ-30--33 dbm*/ | |
BYTE bTddMaxAlwUlTxPwr; /*ȡֵ·¶Î§1--83,0ΪÎÞЧֵ£¬Ê¹ÓÃʱÐèÒª¼õ50£¬Êµ¼Êȡֵ·¶Î§ÊÇ-50--33 dbm*/ | |
BYTE bFddMaxAlwUlTxPwr; /*ȡֵ·¶Î§1--83,0ΪÎÞЧֵ£¬Ê¹ÓÃʱÐèÒª¼õ50£¬Êµ¼Êȡֵ·¶Î§ÊÇ-50--33 dbm*/ | |
BYTE bGsmCustomPower; /*ȡֵ·¶Î§1-31,0ΪÎÞЧֵ,¸ÃÖµÓëpower control levelË÷ÒýÖµÒ»Ö£¬ÊÇË÷ÒýÖµ ²»ÊÇÕæÊµ¹¦ÂÊdBm*/ | |
}T_zAti_NV_MaxTxPower; | |
typedef struct{ | |
BYTE bUeCategoryOfCa; | |
BYTE bUeCategory; | |
BYTE abadding[2]; | |
}T_zAti_NV_UeInfo; | |
typedef struct{ | |
BYTE bGprsSupport; | |
BYTE bEgprsSupport; | |
BYTE bGprsMultiSlotCapa; | |
BYTE bEgprsMultiSlotCapa; | |
}T_zAti_NV_GprsClass; | |
typedef struct{ | |
BYTE bFdMode; | |
BYTE bFdTimerLength; | |
BYTE abadding[2]; | |
}T_zAti_NV_FdSet; | |
typedef struct{ | |
BYTE bEgprsSupport; | |
BYTE b8PskModCapa; | |
BYTE bModBMultiClassSupp; | |
BYTE bEgprsMultiSlotCapa; | |
BYTE b8PskMultislotPwrCapa; | |
BYTE bEgprsExtDynAlloc; | |
BYTE b8Psk; | |
BYTE b8PskPwrCapa1; | |
BYTE b8PskPwrCapa2; | |
BYTE bMuscCapReductionforDlDualCarrierSupport; | |
BYTE bMultiSlotCapReductionforDlDualCarrier; | |
BYTE bPadding; | |
}T_zAti_NV_EgprsSet; | |
typedef struct{ | |
BYTE bApMemCapa;/*AP¶ÌÐÅ´æ´¢¿Õ¼äÊÇ·ñÂú£¬0:²»Âú£¬1:Âú*/ | |
BYTE abPadding[3]; | |
}T_zAti_NV_ApMemCapa; | |
typedef struct{ | |
BYTE bT1TimerLen;/*EPDCP¶¨Ê±Æ÷T1µÄʱ³¤£¬µ¥Î»£ºÃë,0-255, 0 ±íʾ¶¨Ê±Æ÷ʱ³¤ÎÞЧ£¬²»Æô¶¯´Ë¹æ±Ü¹¦ÄÜ*/ | |
BYTE abadding[3]; | |
}T_zAti_NV_EpdcpTimerLen; | |
typedef struct{ | |
BYTE bMode; /*ÊÇ·ñÆôÓúڰ×Ãûµ¥:0Ϊ²»ÆôÓúڰ×Ãûµ¥£¬1ΪÆôÓúڰ×Ãûµ¥*/ | |
BYTE abPadding[3]; | |
}T_zAti_NV_BlackWhiteList; | |
typedef struct{ | |
BYTE bCmd; /* ¿ª¹ØÖµ, 0-¹Ø±Õgsm½ÓÈëʧ°ÜbarÐ¡Çø¹¦ÄÜ£¬1-´ò¿ªgsm½ÓÈëʧ°ÜbarÐ¡Çø¹¦ÄÜ*/ | |
BYTE bPadding; | |
WORD wTimer; /* barÐ¡ÇøµÄʱ³¤£¬µ¥Î»:Ãë*/ | |
}T_zAti_NV_GrrCellBar; | |
typedef struct { | |
BYTE bGsmCellNumber; | |
BYTE bTdCellNumber; | |
BYTE bWCellNumber; | |
BYTE bLteCellNumber; | |
T_z_GsmCell atGsmCell[Z_MAX_NGCellNum];/*GSMÁÚÇøÐÅÏ¢£¬°´RSSI´ÓÇ¿µ½ÈõÅÅÐò£¬Êý×é0Ϊ×îÇ¿Ð¡Çø*/ | |
T_z_TdCell atTdCell[Z_MAX_NUCellNum];/*TDÁÚÇøÁÐ±í£¬°´RSCP´ÓÇ¿µ½ÈõÅÅÐò£¬Êý×é0Ϊ×îÇ¿Ð¡Çø*/ | |
T_z_WCell atWCell[Z_MAX_NUCellNum];/*WÁÚÇøÁÐ±í£¬°´RSCP´ÓÇ¿µ½ÈõÅÅÐò£¬Êý×é0Ϊ×îÇ¿Ð¡Çø*/ | |
T_z_LteCell atLteCell[Z_MAX_NLCellNum];/*LTEÁÚÇøÁÐ±í£¬°´RSRP´ÓÇ¿µ½ÈõÅÅÐò£¬Êý×é0Ϊ×îÇ¿Ð¡Çø*/ | |
}T_zAti_NV_NCellInfo; | |
typedef struct{ | |
BYTE bEquipType; | |
BYTE bSeqNum; | |
BYTE abPadding1[2]; | |
BYTE abEquipName[Z_DEV_MSINFO_MAX_EQUIPNAME_LEN]; | |
BYTE abPadding2[2]; | |
BYTE abBordNum[Z_DEV_MSINFO_MAX_BORDNAME_LEN]; | |
BYTE abPadding3[2]; | |
BYTE abSoftVersion[Z_DEV_MSINFO_MAX_SOFTVERSION_LEN]; | |
BYTE abPadding4[2]; | |
}T_zAti_NV_MsInfo; | |
typedef struct{ | |
BYTE bBand; /*BANDºÅ.ȡֵ1--66 £¬·Ö±ð¶ÔÓ¦BAND1,BAND2...BAND66*/ | |
BYTE abPading[3]; | |
DWORD dwMinDlEarfcn; /* ¶ÔÓ¦BANDµÄ×îСÏÂÐÐÆµµã */ | |
DWORD dwMaxDlEarfcn; /* ¶ÔÓ¦BANDµÄ×î´óÏÂÐÐÆµµã */ | |
}T_zAti_Nv_OperatorLteBandRange; | |
typedef struct{ | |
BYTE bFlag; /*ÔËÓªÉÌÆµ¶ÎÐÅÏ¢ÊÇ·ñÓÐЧ£¬È¡Öµ£ºÓÐЧZ_VALID£¬ÎÞЧZ_INVALID*/ | |
BYTE bPlmnNum; | |
BYTE bBandNum; | |
//BYTE bFreqNum; | |
BYTE atPlmnListPadding[3];/*¶ÔÆë*/ | |
T_z_PlmnId atPlmnList[Z_MAX_OPERATOR_PLMN_NUM]; /* ÔËÓªÉÌPLMNÁбí */ | |
T_zAti_Nv_OperatorLteBandRange tOperBand[Z_MAX_OPERATOR_BAND_NUM]; /* ÔËÓªÉ̶¨ÖÆÆµ¶Î·¶Î§ */ | |
//DWORD adwFreqList[Z_MAX_OPERATOR_FREQ_NUM];/* ÔËÓªÉ̶¨ÖƳ£ÓÃÆµµãÁбí */ | |
}T_zAti_Nv_OperatorListInfo; | |
typedef struct{ | |
T_zAti_Nv_OperatorListInfo tOperatorList[Z_MAX_OPERATOR_NUM]; /* ÔËÓªÉ̶¨ÖÆÆµ¶ÎÐÅÏ¢Áбí */ | |
}T_zAti_Nv_OperatorLteBandInfo; | |
typedef struct { | |
BYTE band; | |
BYTE pumax[Z_AT_MAX_RPI_NR]; | |
}T_zAti_NV_BandRPICfg; | |
typedef struct { | |
T_zAti_NV_BandRPICfg tGBandRpiCfg[GSM_MAX_BAND_RPI_SUPPORT]; | |
}T_zAti_NV_GSM_RPICfg; | |
typedef struct { | |
T_zAti_NV_BandRPICfg tWBandRpiCfg[W_MAX_BAND_RPI_SUPPORT]; | |
}T_zAti_NV_W_RPICfg; | |
typedef struct { | |
T_zAti_NV_BandRPICfg tLteBandRpiCfg[LTE_MAX_BAND_RPI_SUPPORT]; | |
}T_zAti_NV_LTE_RPICfg; | |
typedef struct { | |
BYTE flag; //0--¹¦ÄÜȥʹÄÜ,1---¹¦ÄÜʹÄÜ | |
BYTE padding[3]; | |
T_zAti_NV_W_RPICfg tWRpiCfg; | |
T_zAti_NV_LTE_RPICfg tLteRpiCfg; | |
T_zAti_NV_GSM_RPICfg tGsmRpiCfg; | |
}T_zAti_NV_RPICfgInfo; | |
typedef struct { | |
BYTE bOnOff;/*ÊÇ·ñÖ§³ÖNITZ×Ô¶¯¸üÐÂÊ±Çø0²»Ö§³Ö,1Ö§³Ö*/ | |
BYTE bRptMod;/*Ê±Çø±ä»¯Éϱ¨Ä£Ê½,ȡֵ·¶Î§0-1*/ | |
BYTE bZmmiSet;/*ÊÇ·ñ´ò¿ªZMMIÉϱ¨,0-¹Ø±Õ,1-´ò¿ª*/ | |
BYTE bPadding; | |
}T_zAti_NV_NitzCfg; | |
typedef struct{ | |
BYTE bAMRSupCdec; | |
BYTE bAmrPath; | |
BYTE abPadding[2]; | |
}T_zAti_Nv_UmtsAmrInfo; | |
typedef struct { | |
BYTE bT3411Len;/*T3411ʱ³¤,µ¥Î»Ãë,³ö³§Öµ0*/ | |
BYTE bT3411TryedNum;/*T3411³¢ÊÔ´ÎÊý,³ö³§Öµ0*/ | |
BYTE bBarTmLen;/*BARÐ¡ÇøÊ±³¤,µ¥Î»·ÖÖÓ,³ö³§Öµ0*/ | |
BYTE bPadding; | |
}T_zAti_NV_MobileCfg; | |
typedef struct { | |
BYTE bCdrxFg; | |
BYTE bAnrFg; | |
BYTE bSpsFg; | |
BYTE bTtibundingFg; | |
BYTE bEfdpchFg; | |
BYTE bSlotFormat4Fg; | |
BYTE abPadding[2]; | |
}T_zAti_NV_UeCapaCfg; | |
typedef struct { | |
BYTE bAction; /*0: δÉèÖÃËø¶¨Æµµã»òÐ¡Çø, 1: ÒÑÉèÖÃËø¶¨Æµµã»òÐ¡Çø, ½¨Òé³ö³§Öµ£º0*/ | |
BYTE bPadding; | |
WORD wCellPara; /*Ëø¶¨µÄÐ¡Çø£¬½¨Òé³ö³§Öµ£º0xFFFF*/ | |
DWORD dwArfcn; /*Ëø¶¨µÄƵµã£¬½¨Òé³ö³§Öµ£º0xFFFFFFFF*/ | |
}T_zAti_NV_ZLcCfg; | |
typedef struct | |
{ | |
T_z_PlmnId tplmn; | |
BYTE bPadding; | |
DWORD dwCellGlobalId; | |
} T_zAti_NV_CellGlobId; | |
typedef struct { | |
BYTE bLteCellNum; | |
BYTE abPadding[3]; | |
T_zAti_NV_CellGlobId atLteBlackCell[Z_MAX_LTE_BLKCELL_NUM]; | |
}T_zAti_NV_LteBlkCell; | |
typedef struct { | |
BYTE bCmgfMode; /*0: pdu,1: txt,³ö³§Öµ0*/ | |
BYTE abPadding[3]; | |
}T_zAti_NV_CmgfMode; | |
typedef struct { | |
BYTE bMCC1:4; | |
BYTE bMCC2:4; | |
BYTE bMCC3:4; | |
BYTE :4; | |
BYTE abPadding[2]; | |
}T_zAti_NV_CustomMcc; | |
typedef struct { | |
BYTE bNumLen;//×Ö½ÚÊý | |
BYTE abCallNum[Z_DEV_MAX_BEEPCALL_NUM]; | |
}T_zAti_NV_BeepNumInfo; | |
typedef struct { | |
BYTE bCallNum; | |
BYTE abPadding[3]; | |
T_zAti_NV_BeepNumInfo atCallGroup[Z_DEV_MAX_BEEPCALL_GROUP]; | |
}T_zAti_NV_BeepCallNum; | |
typedef struct { | |
BYTE bNumLen; | |
BYTE abMsisdnNum[Z_DEV_MAX_MSISDN_NUM]; | |
}T_zAti_NV_Msisdn; | |
typedef struct | |
{ | |
BYTE bEcallMode;/*0-not sup ecall 1-ecall only 2-ecall & normal call*/ | |
BYTE abPadding[3]; | |
}T_zAti_NV_EcallCapa; | |
typedef struct { | |
BYTE bTestNumLen;/*³ö³§Öµ0*/ | |
BYTE bReCfgNumLen;/*³ö³§Öµ0*/ | |
BYTE abTestNum[Z_DEV_MAX_ECALL_NUM]; | |
BYTE abReCfgNum[Z_DEV_MAX_ECALL_NUM]; | |
}T_zAti_NV_EcallNum; | |
typedef struct { | |
WORD wT2Time;/*T2¶¨Ê±Æ÷ʱ³¤,µ¥Î»s,³ö³§Öµ3600*/ | |
WORD wT7Time;/*T7¶¨Ê±Æ÷ʱ³¤,µ¥Î»s£¬³ö³§Öµ20*/ | |
WORD wT9Time;/*T9¶¨Ê±Æ÷ʱ³¤,µ¥Î»s,³ö³§Öµ3600*/ | |
BYTE abPadding[2]; | |
}T_zAti_NV_EcallTime; | |
typedef struct{ | |
BYTE bSoftPowStat;/*0-disable, 1-sleep, 2-wakeup,³ö³§Öµ0*/ | |
BYTE abPadding[3]; | |
}T_zAti_NV_RrcStatus; | |
#ifdef BTRUNK_SUPPORT | |
typedef struct | |
{ | |
BYTE bIOTFlag; | |
BYTE bIsTruncUser; /*ÊÇ·ñÊǼ¯ÈºÓû§£¬0:²»ÊÇ£¬1:ÊÇ*/ | |
BYTE bIsSubWay; /*ÊÇ·ñΪSubWayÌØÊâ¶¨ÖÆ*/ | |
BYTE bPadding; | |
}T_zAti_NV_LtePttInfo; | |
#endif | |
/*=======================¹«¹²ºêÖµ¶¨Òå==========================*/ | |
#define Z_MAX_CSG_NUM (BYTE)255 | |
#define Z_MAX_HNB_NAME_LEN (BYTE)48 /*HNB Name×î´ó³¤¶È*/ | |
/*TMSI*/ | |
typedef BYTE T_z_TMSI[Z_TmsiLen]; | |
/*P-TMSI*/ | |
typedef BYTE T_z_PTMSI[Z_PtmsiLen]; | |
/*IMEI*/ | |
typedef BYTE T_z_IMEI[Z_ImeiLen]; | |
/*IMEISV*/ | |
typedef BYTE T_z_IMEISV[Z_ImeiSvLen]; | |
/*==========================¹«¹²½á¹¹=========================*/ | |
/*CSG ID*/ | |
typedef DWORD T_z_CsgId; | |
typedef struct { | |
BYTE abCSG_ind[Z_MAX_CSG_NUM]; | |
BYTE bLength; | |
} T_z_UiccId_TextCSGT; | |
/*4.4.6.3 EFCSGT (CSG Type)) 31102-940*/ | |
typedef struct { | |
BYTE abIconLink[Z_MAX_CSG_NUM]; | |
BYTE bGraphicTag;/*Z_CSG_LINKURI or Z_CSG_LINKIMG | |
'80' = the Graphic CSG Type Icon Link is an URI | |
'81' = the Graphic CSG Type Icon Link is a pointer to the record number of the corresponding image in | |
EFIMG, */ | |
BYTE bIconLinkLen; | |
BYTE bIconQual; | |
BYTE abPadding[2]; | |
} T_z_UiccId_GphcCSGT; | |
/*bTextCsgFg»òbGphcCsgFgÖÃ1£¬±íʾ¸Ã¼Ç¼²»Îª¿Õ£¬ | |
ÈôÐèҪɾ³ý¸Ã¼Ç¼ֵ£¬Ôò½«bTextCsgFgÒÔ¼°bGphcCsgFg¾ùÖÃ1*/ | |
typedef struct { | |
BYTE bCodeLen; /*ÓÃÓÚ±àÂ룬ÇëÎð¸Ä¶¯*/ | |
BYTE bTextCsgFg; /*ȡֵΪ1 »ò 0*/ | |
BYTE bGphcCsgFg; /*ȡֵΪ1 »ò 0*/ | |
BYTE bPadding; | |
T_z_UiccId_TextCSGT tTextCsg; /*bTextCsgFgΪ1ʱÓÐЧ*/ | |
T_z_UiccId_GphcCSGT tGphcCsg; /*bGphcCsgFgΪ1ʱÓÐЧ*/ | |
} T_z_UiccId_CSGT; | |
/*4.4.6.4 EFHNBN (Home (e)NodeB Name) 31102-840*/ | |
/*bValLen£¬µ±¿¨ÉÏÂëÁ÷Tag²»Îª0x80ʱ£¬bValLenÖÃ0£¬±íʾÎÞÓÐЧÊý¾Ý | |
ɾ³ýʱ£¬¿É½«bValLenÖÃ0*/ | |
typedef struct { | |
BYTE bCodeLen; /*ÂëÁ÷ʵ¼Ê³¤¶È£¬ÇëÎð¸Ä¶¯*/ | |
BYTE bValLen; /*ÓÐЧÊý¾Ý³¤¶È*/ | |
BYTE abPadding[2]; | |
BYTE abHNBN[Z_MAX_HNB_NAME_LEN]; | |
} T_z_UiccId_HNBN; | |
/*CSG*/ | |
typedef struct{ | |
T_z_UiccId_CSGT tCsgInd; | |
T_z_UiccId_HNBN tHnbName; | |
T_z_CsgId tCsgId; | |
}T_z_CSG; | |
typedef struct{ | |
T_z_PlmnId tPlmn; | |
T_z_CSG tCsgInfo; | |
}T_z_CsgIdList; | |
/*CSG Info£¬ASÁоÙCSGÐÅÏ¢ÓÃ*/ | |
typedef struct{ | |
T_z_Act tAct; | |
T_z_CsgIdList tCsg; | |
}T_z_CsgInfo; | |
/*IMSI*/ | |
typedef struct { | |
BYTE bNum; /*BCDÂë¸öÊý*/ | |
BYTE abPadding[3]; | |
BYTE abId[Z_ImsiLen]; | |
}T_z_IMSI; | |
typedef struct { | |
BYTE bImsiFg; | |
BYTE abPadding[3]; | |
T_z_IMSI tImsi; | |
}T_z_UiccId_ImsiInfo; | |
typedef struct { | |
BYTE bImeiFg; | |
BYTE abPadding[3]; | |
T_z_IMEI tImei; | |
}T_z_UiccId_ImeiInfo; | |
typedef struct { | |
BYTE bImeisvFg; | |
BYTE abPadding[3]; | |
T_z_IMEISV tImeiSv; | |
}T_z_UiccId_ImeiSvInfo; | |
/* Z_UiccId_HPLMN¡¢ Z_UiccId_UPLMN¡¢Z_UiccId_OPLMN */ | |
typedef struct { | |
BYTE bNum; | |
BYTE abPadding[3]; | |
T_z_PlmnAct atList[Z_MaxUiccPlmnNum]; | |
}T_z_UiccId_PlmnInfo; | |
/* Z_UiccId_UPLMN*/ | |
typedef struct { | |
BYTE bMaxNum; | |
BYTE bNum; | |
BYTE abPadding[2]; | |
BYTE abPlmnValidFg[Z_MaxUiccPlmnNum]; /*±ê¼ÇuplmnÊÇ·ñÓÐЧ£¬1£ºÓÐЧ£¬0£ºÎÞЧ*/ | |
T_z_PlmnAct atList[Z_MaxUiccPlmnNum]; | |
}T_z_UiccId_UPlmnInfo; | |
/* PlmnSelector*/ | |
typedef struct { | |
BYTE bMaxNum; /*×î´ó×Ö½ÚÊý >8*/ | |
BYTE bNum; /*ÆäÖÐÓÐЧ×Ö½ÚÊý*/ | |
BYTE abPadding[2]; | |
BYTE abPlmnValidFg[Z_MaxUiccPlmnSelNum]; /*±ê¼ÇplmnselÊÇ·ñÓÐЧ£¬1£ºÓÐЧ£¬0£ºÎÞЧ*/ | |
T_z_PlmnId atPlmn[Z_MaxUiccPlmnSelNum]; | |
}T_z_UiccId_PlmnSel; | |
/* Z_UiccId_SMSP */ | |
typedef struct { | |
BYTE bMaxAlphaIdLen; /*±íÃ÷µ±Ç°¿¨Ö§³ÖµÄAlphaId×î´ó³¤¶È*/ | |
BYTE bAlphaIdLen; /*AlphaIdÖÐÓÐЧ³¤¶È*/ | |
BYTE bParamId; | |
BYTE bTPPid; | |
BYTE bTPDcs; | |
BYTE bTPVp; | |
BYTE abPadding[2]; | |
BYTE abAlphaId[Z_MaxSmspAlphaLen]; | |
BYTE abTPDestAdd[12]; | |
BYTE abTSScAdd[12]; | |
}T_z_UiccId_Smsp; | |
/*4.2.16 EFFPLMN */ | |
typedef struct { | |
BYTE bMaxNum;/*³ö³§Öµ85*/ | |
BYTE bNum; /*³ö³§Öµ0*/ | |
BYTE abPadding[2]; | |
T_zPS_PlmnId atFPlmn[ZPS_UICC_LEN_FPLMN];/*³ö³§ÖµÈ«0xff*/ | |
BYTE abPadding1; | |
}T_zPS_UICC_FPlmnList, | |
T_z_UICC_FPlmnList; | |
/************************************************************************** | |
* ÐÒéÕ»ÄÚÄ£¿é¶ÔUICC¿¨Êý¾Ý·ÃÎʽӿڽṹ¶¨Òå * | |
**************************************************************************/ | |
/* Z_UiccId_UEINFO */ | |
typedef struct { | |
T_z_TMSI tTmsi; | |
T_z_LAI tLai; | |
BYTE bLuSta; | |
}T_z_UiccId_Loci; | |
typedef struct { | |
T_z_PTMSI tPtmsi; | |
BYTE abPtmsiSig[3]; | |
T_z_RAI tRai; | |
BYTE bRuSta; | |
}T_z_UiccId_PsLoci; | |
typedef struct { | |
BYTE bTmsiValidFg; | |
BYTE abPadding[3]; | |
T_z_UiccId_Loci tLoci; | |
BYTE abPadding2[2]; | |
}T_z_UiccId_LociInfo; | |
typedef struct { | |
BYTE bPtmsiValidFg; | |
BYTE abPadding[3]; | |
T_z_UiccId_PsLoci tPsLoci; | |
BYTE abPadding2[3]; | |
}T_z_UiccId_PsLociInfo; | |
typedef struct { | |
BYTE bCsBkDataFg; /* csÓòÊý¾Ý±¸·ÝÓÐЧÐÔ±êʶ£¬È¡ÖµZ_VALID/Z_INVALID */ | |
BYTE bPsBkDataFg; /* psÓòÊý¾Ý±¸·ÝÓÐЧÐÔ±êʶ£¬È¡ÖµZ_VALID/Z_INVALID */ | |
BYTE bEpsBkDataFg; /* LTEÊý¾Ý±¸·ÝÓÐЧÐÔ±êʶ£¬È¡ÖµZ_VALID/Z_INVALID */ | |
BYTE bPadding; | |
}T_z_UiccId_BackupDataCtrlInfo; | |
/* Z_UiccId_ECC */ | |
typedef struct { | |
BYTE bEccLen; /*ECCºÅÂëÓÐЧ³¤¶È£¬³¤¶ÈΪ×Ö½Ú¸öÊý*/ | |
BYTE abEcCode[3]; | |
BYTE bMaxAlphaIdNum; /*Aplha×î´ó³¤¶È*/ | |
BYTE bAlphaIdNum; /*AplhaÓÐЧ³¤¶È*/ | |
BYTE abPadding[2]; | |
BYTE aAlphaId[255]; | |
BYTE bEcCategory; | |
}T_z_UiccId_3GEcc; | |
typedef struct | |
{ | |
BYTE bEccLen; /*ECCºÅÂëÓÐЧ³¤¶È£¬³¤¶ÈΪ×Ö½Ú¸öÊý*/ | |
BYTE abEcCode[3]; | |
}T_z_UiccId_EccNum; | |
typedef struct { | |
BYTE bEccNum; | |
BYTE abPadding[3]; | |
T_z_UiccId_EccNum tEccCode[5]; | |
}T_z_UiccId_2GEcc; | |
typedef struct | |
{ | |
BYTE bEccFlag; /*ÓÉÓÚ2GÓë3G½á¹¹Ïà²îÌ«´ó£¬eccÔÚ3GÖÐÒ»´ÎÖ»ÄܶÁȡһÌõ¼Ç¼ | |
*µ«ÔÚ2GÖÐÒ»´ÎÈ´¿ÉÒÔ½«ËùÓÐeccºÅÂë¶¼¶Á³ö | |
*1£ºusim 2£ºsim*/ | |
BYTE abPadding[3]; | |
union | |
{ | |
T_z_UiccId_3GEcc t3GEcc; /*3GECC½öÓÐÒ»ÌõECCºÅÂë¼Ç¼*/ | |
T_z_UiccId_2GEcc t2GEcc; /*2GECC°üº¬ËùÓеÄECCºÅÂë*/ | |
}Value; | |
}T_z_UiccId_Ecc; | |
typedef struct { | |
BYTE bEccNum; | |
BYTE abPadding[3]; | |
T_z_UiccId_Ecc *pEccList; | |
}T_z_UiccId_EccInfo; | |
/* Z_UiccId_Emlpp */ | |
typedef struct { | |
BYTE bPriLevel; | |
BYTE bFcSetupCond; | |
BYTE abPadding[2]; | |
}T_z_UiccId_Emlpp; | |
/* Z_UiccId_CSKEY, Z_UiccId_PSKEY */ | |
typedef struct { | |
BYTE bKsi; /*Key Set Identifier KSI*/ | |
BYTE abPadding[3]; | |
T_z_CK tCk; | |
T_z_IK tIk; | |
}T_z_UiccId_UmtsSecKey; | |
typedef struct { | |
BYTE bCksn; | |
BYTE abPadding[3]; | |
BYTE abKc[8]; | |
}T_z_UiccId_GsmSecKey; | |
typedef struct { | |
BITS bNewFg:1; /* ָʾCS/PS°²È«²ÎÊýÊÇ·ñΪР*/ | |
BITS bUtranFg:1; | |
BITS bGsmFg:1; | |
BITS :5; | |
BYTE abPadding[3]; | |
T_z_UiccId_UmtsSecKey tUmtsKey; | |
T_z_UiccId_GsmSecKey tGsmKey; | |
}T_z_UiccId_SecKey; | |
typedef struct { | |
BYTE bCodeNum; /*ÓÃÒԼǼNetParÂëÁ÷Îļþ´óС*/ | |
BYTE abPadding[3]; | |
T_z_CellList tCellList; /*Ô¼¶¨£º | |
1)GSMÐ¡ÇøÁбíatGCellListÖУ¬µÚÒ»¸öΪ·þÎñÐ¡Çø£» | |
2)TDD¡¢FDDƵÂÊÁбíabTFreqList¡¢abWFreqListÖУ¬µÚÒ»¸öÖ¸¶¨µÄ¾ùΪͬƵƵµã | |
3)Ð¡Çø¾ù | |
*/ | |
}T_z_UiccId_CellInfo; | |
/*4.2.18 EFAD */ | |
typedef struct { | |
BYTE bUeOperaMode; | |
BYTE bOFM; /*bOFM=0: OFM to be deactivated by the ME | |
bOFM=1: OFM to be activated by the ME */ | |
BYTE bAllowedCsgList; /* | |
* 0: Allowed CSG List not inhibited | |
* 1: Allowed CSG List inhibited | |
*/ | |
BYTE bPadding; | |
BYTE bMncLenFg; /*1: ´æÔÚ£¬0£º²»´æÔÚ*/ | |
BYTE bMncLen; /* Only the values '0010' and '0011' are currently specified | |
all other values are reserved for future use */ | |
BYTE abPadding[2]; | |
}T_z_UiccId_Ad; | |
/*4.2.6 EFHPPLMN */ | |
typedef struct { | |
BYTE bHpPlmnSrhPrd; | |
BYTE abPadding[3]; | |
}T_z_UiccId_HpPlmnSrhPrd; | |
/*4.2.15 EFACC */ | |
typedef struct { | |
BYTE abACC[2]; /*BTYE1 bit1---NumofAcc: 08 | |
............. | |
BTYE1 bit8---NumofAcc: 15 | |
BTYE2 bit1---NumofAcc: 00 | |
............. | |
BTYE2 bit8---NumofAcc: 07 | |
¾ßÌå²Î¼û 31.102 EfAcc | |
*/ | |
BYTE abPadding[2]; | |
}T_z_UiccId_ACC; | |
/*4.2.40 EFAAeM */ | |
typedef struct | |
{ | |
BYTE bAaem; | |
BYTE abPadding[3]; | |
}T_z_UiccId_Aaem; | |
/*4.2.51 EFStartHfn */ | |
typedef struct | |
{ | |
DWORD dwStartCs; | |
DWORD dwStartPs; | |
}T_z_UiccId_StartHfn; | |
typedef DWORD T_z_UiccId_Threshold; | |
/* Z_UiccId_START */ | |
typedef struct { | |
T_z_UiccId_StartHfn tStartHfn; | |
T_z_UiccId_Threshold tThreshold; | |
}T_z_UiccId_Start; | |
/* Z_UiccId_BCCH */ | |
typedef struct { | |
BYTE abBcch[16]; | |
}T_z_UiccId_SimBcch; | |
/******************************LTE********************************************/ | |
/*4.2.91 EPSLOCI 31102-840*/ | |
/*GUTI*/ | |
typedef struct{ | |
BYTE bIdType:3; | |
BITS bOorE:1; | |
BITS :4; | |
T_z_PlmnId tPlmn; | |
BYTE bMMEGROUPID[2]; | |
BYTE bMMECODE; | |
BYTE bMTMSI[4]; | |
BYTE bPadding; | |
}T_z_GUTI; | |
/*EPS Loci*/ | |
typedef struct | |
{ | |
T_z_GUTI tGuti; | |
T_z_TAI tTai; | |
BYTE bTauStatus ; | |
BYTE abPadding2[2]; | |
}T_z_UiccId_EpsLoci; | |
/*4.2.8.6 LRPLMNSI 31102-840*/ | |
typedef struct | |
{ | |
BYTE bLrplmnSi; | |
BYTE abPadding[3]; | |
}T_z_UiccId_LrplmnSi; | |
/*4.2.84 EHPLMN 31102-840*/ | |
typedef struct { | |
BYTE bNum; /*ÂëÁ÷ÖÐʵ¼ÊÓÐЧ¸öÊý*/ | |
BYTE abPadding[3]; | |
T_z_PlmnId atEhplmn[Z_MAX_LEN_EHPLMN]; | |
BYTE bPadding; | |
}T_z_UiccId_Ehplmn; | |
/*4.2.92 EFEPSNSC (EPS NAS Security Context) 31102-840*/ | |
/*KSI*/ | |
typedef BYTE T_z_UiccId_KSI_ASME; | |
/*UL NAS COUNT*/ | |
typedef DWORD T_z_UiccId_UL_NAS_COUNT; | |
/*DL NAS COUNT*/ | |
typedef DWORD T_z_UiccId_DL_NAS_COUNT; | |
/*ALG ID*/ | |
typedef BYTE T_z_UiccId_SELECT_ALG_ID; | |
/*ASME KEY*/ | |
typedef struct { | |
BYTE bLength; | |
BYTE abPadding[3]; | |
BYTE abKeys[Z_MAX_LEN_ASME_KEY]; | |
} T_z_UiccId_ASME_KEY; | |
/*INT KEY*/ | |
typedef struct { | |
BYTE bLength; | |
BYTE abPadding[3]; | |
BYTE abKeys[Z_MAX_LEN_NASINT_KEY]; | |
} T_z_UiccId_NASINT_KEY; | |
/*ENC KEY*/ | |
typedef struct { | |
BYTE bLength; | |
BYTE abPadding[3]; | |
BYTE abKeys[Z_MAX_LEN_NASENC_KEY]; | |
} T_z_UiccId_NASENC_KEY; | |
/*NH PARA*/ | |
typedef struct { | |
BYTE bLength; | |
BYTE abPadding[3]; | |
BYTE abPara[Z_MAX_LEN_NH_OR_NCC_PARA]; | |
} T_z_UiccId_NH_PARA; | |
/*NCC PARA*/ | |
typedef struct { | |
BYTE bLength; | |
BYTE abPadding[3]; | |
BYTE abPara[Z_MAX_LEN_NH_OR_NCC_PARA]; | |
} T_z_UiccId_NCC_PARA; | |
/*EPS NCS*/ | |
typedef struct { | |
BYTE bCodeLen; /*ÂëÁ÷³¤¶È£¬ÓÃÓÚ±àÂ룬ÇëÎð¸Ä¶¯*/ | |
BYTE abPadding[3]; | |
T_z_UiccId_KSI_ASME tKsi; /* BYTE */ | |
T_z_UiccId_SELECT_ALG_ID bselected_alg; /* BYTE */ | |
T_z_UiccId_ASME_KEY tAsmeKey; | |
T_z_UiccId_UL_NAS_COUNT tUlCount; | |
T_z_UiccId_DL_NAS_COUNT tDlCount; | |
} T_z_UiccId_EPSNSC; | |
/*4.4.6.2 EFACSGL (Allowed CSG Lists) 31102-940*/ | |
typedef struct { | |
BYTE bCodeLen; /*ÂëÁ÷³¤¶È£¬±àÂëʹÓã¬ÎðÐÞ¸Ä*/ | |
BYTE bValidFg; /*ÎļþÊý¾ÝÓÐÒâÒ壬ÔòÖÃ1£¬ÎļþÊý¾ÝΪ¿Õ£¬ÔòÖÃ0*/ | |
BYTE bCsgTypeId; | |
BYTE bHnbNameInd; | |
T_z_PlmnId tPlmn; | |
BYTE bPadding; | |
T_z_CsgId tCsgId; | |
} T_z_UiccId_ACSGL; | |
/*4.4.6.5 EFOCSGL (Operator CSG Lists) 31102-940*/ | |
typedef struct { | |
BYTE bCodeLen; /*ÂëÁ÷³¤¶È£¬±àÂëʹÓã¬ÎðÐÞ¸Ä*/ | |
BYTE bValidFg; /*ÎļþÊý¾ÝÓÐÒâÒ壬ÔòÖÃ1£¬ÎļþÊý¾ÝΪ¿Õ£¬ÔòÖÃ0*/ | |
BYTE bCsgTypeId; | |
BYTE bHnbNameInd; | |
T_z_PlmnId tPlmn; | |
BYTE bPadding; | |
T_z_CsgId tCsgId; | |
} T_z_UiccId_OCSGL; | |
/*4.4.5.11 EFHPLMNDAI (HPLMN Direct Access Indicator) 31102-940*/ | |
typedef struct { | |
BYTE bHplmnDai; /* | |
* '00' - HPLMN Direct Access Indicator is disabled | |
* '01' - HPLMN Direct Access Indicator is enabled | |
*/ | |
BYTE abPadding[3]; | |
}T_z_UiccId_Hplmndai; | |
/*4.4.6.6 EFOCSGT (Operator CSG Type) 31102-940*/ | |
typedef struct { | |
BYTE bCodeLen; /*ÓÃÓÚ±àÂ룬ÇëÎð¸Ä¶¯*/ | |
BYTE bTextCsgFg; /*ȡֵΪ1 »ò 0*/ | |
BYTE bGphcCsgFg; /*ȡֵΪ1 »ò 0*/ | |
BYTE bPadding; | |
T_z_UiccId_TextCSGT tTextCsg; /*bTextCsgFgΪ1ʱÓÐЧ*/ | |
T_z_UiccId_GphcCSGT tGphcCsg; /*bGphcCsgFgΪ1ʱÓÐЧ*/ | |
} T_z_UiccId_OCSGT; | |
/*4.4.6.7 EFOHNBN (Operator Home NodeB Name) 31102-940*/ | |
typedef struct { | |
BYTE bCodeLen; /*ÂëÁ÷ʵ¼Ê³¤¶È£¬ÇëÎð¸Ä¶¯*/ | |
BYTE bValLen; /*ÓÐЧÊý¾Ý³¤¶È*/ | |
BYTE abPadding[2]; | |
BYTE abHNBN[Z_MAX_HNB_NAME_LEN]; | |
} T_z_UiccId_OHNBN; | |
/* 4.5.9 EFPSISMSC (Public Service Identity of the SM-SC) 31102-940 */ | |
typedef struct { | |
BYTE abUriTlvData[Z_MAX_LEN_URI_TLV_DATA]; | |
BYTE bUriMaxLen; | |
}T_z_UiccId_Psismsc; | |
/******************************LTE END********************************************/ | |
/*************************************************************************** | |
* ATMEM½á¹¹,½ûÖ¹ÐÞ¸Ä | |
***************************************************************************/ | |
/* ²¹³äÒµÎñÌáʾÉèÖà */ | |
typedef struct { | |
BYTE bCssiSet; | |
BYTE bCssuSet; | |
BYTE abPadding[2]; | |
}T_zDev_AtMem_CssnSet; | |
typedef struct { | |
WORD wMin; /*min message ID\Dcss*/ | |
WORD wMax; /*max message ID\Dcss*/ | |
}T_zDev_AtMem_CBS_Range ; | |
typedef struct { | |
BYTE bSingleNum; | |
BYTE bRangeNum; | |
BYTE abPadding[2]; | |
WORD awSingleList[Z_DEV_AtMem_CBS_MAX_MID_NUM]; /*single message Id list, 0..65535, 23041 */ | |
T_zDev_AtMem_CBS_Range atRangeList[Z_DEV_AtMem_CBS_MAX_MID_NUM]; /*range message ID list */ | |
}T_zDev_AtMem_CBS_MidSet; | |
typedef struct { | |
BYTE bSingleNum; | |
BYTE bRangeNum; | |
BYTE abPadding[2]; | |
BYTE abSingleList[Z_DEV_AtMem_CBS_MAX_DCS_NUM]; /*single message Dcs list, 23038 */ | |
T_zDev_AtMem_CBS_Range atRangeList[Z_DEV_AtMem_CBS_MAX_DCS_NUM]; /*range message Dcs list*/ | |
}T_zDev_AtMem_CBS_DcsSet ; | |
typedef struct { | |
/* ËÑÍø²¿·Ö */ | |
BYTE bCregSet; /* ATÃüÁî+CREGµÄÉèÖÃÖµ */ | |
BYTE bCopsMode; /* ATÃüÁî+COPSÉèÖõÄÑ¡ÍøÄ£Ê½£¬default value£º0 */ | |
BYTE bCopsFormat; /* ATÃüÁî+COPSÉèÖõÄÍøÂçÃû¸ñʽ£¬default value£º0 */ | |
BYTE bCplsList; /* ATÃüÁî+CPLSµÄÉèÖÃÖµ */ | |
BYTE bCgregSet; /* ATÃüÁî+CGREGµÄÉèÖÃÖµ */ | |
BYTE bSysMode; /* AT^MODEÖ÷¶¯Éϱ¨¿ª¹Ø: 0 ¹Ø±Õ£¬1´ò¿ª*/ | |
BYTE bCpolFormat; /* ATÃüÁî+CPOLÉèÖõÄÍøÂçÃû¸ñʽ */ | |
BYTE bZmmiSet; /* ATÃüÁî+ZMMIµÄÉèÖÃÖµ */ | |
BYTE bCeregSet; | |
BYTE bCeerSet; | |
BYTE bSearchPlmnSet;/*ÊÇ·ñÔÊÐíËÑÍø¿ªÉ䯵µÄÉèÖÃÖµ+ZSCHPLMN*/ | |
BYTE bPadding0; | |
/*CC²¿·Ö*/ | |
BYTE bCrcSet; /* CRCÉèÖÃ */ | |
BYTE bCrSet; /* ATÃüÁî+CRµÄÉèÖà */ | |
BYTE bAocSet; /* +CAOCÉèÖÃÖ÷¶¯Éϱ¨¿ª¹Ø*/ | |
BYTE bCcweSet; /* +CCWEÉèÖÃÖ÷¶¯Éϱ¨¿ª¹Ø*/ | |
T_zDev_AtMem_CssnSet tCssnSet; /* ATÃüÁî+CSSNµÄÉèÖà */ | |
/*SMS²¿·Ö*/ | |
BYTE bCgsmsSvc; /* ATÃüÁî+CGSMSµÄÉèÖÃÖµ */ | |
BYTE bCmmsSet; /* ATÃüÁî+CMMSµÄÉèÖÃÖµ */ | |
BYTE bCsmsSvc; /* ATÃüÁî+CSMSµÄÉèÖà */ | |
BYTE bCmgfMode; /* 0 pduģʽ 1 textģʽ */ | |
BYTE bCsdhShow; | |
BYTE bTpFoFg; /* ָʾTPFOÊÇ·ñÓÐЧ£¬0 ÎÞЧ£¬1 ÓÐЧ */ | |
BYTE bTpFo; /* TPDUµÚÒ»¸ö×Ö½Ú */ | |
BYTE bPadding1; | |
BYTE abVp[7]; /* 7×Ö½Ú¸ñʽµÄVP */ | |
BYTE bPadding2; | |
/*SS²¿·Ö*/ | |
BYTE bClirSet; /* 0 disable 1 enable */ | |
BYTE bClipSet; /* 0 disable 1 enable */ | |
BYTE bColpSet; /* 0 disable 1 enable */ | |
BYTE bCcwaSet; /* 0 disable 1 enable */ | |
BYTE bCusdSet; /* 0 disable 1 enable */ | |
BYTE bCnapSet; /* ATÃüÁî+CNAPÉèÖÃÖµ*/ | |
/*ETWS²¿·Ö LTEÐÂÔö*/ | |
BYTE bZETWSPrimarySet;/*ÉèÖÃZETWSPrimaryIndÖ÷¶¯Éϱ¨¿ª¹Ø. 0 ¹Ø±Õ£¬1 ¿ªÆô*/ | |
BYTE bZETWSSecondaryQuerySet;/*ÉèÖÃZETWSSecondaryIndÖ÷¶¯Éϱ¨¿ª¹Ø. 0 ¹Ø±Õ£¬1 ¿ªÆô*/ | |
/* SM²¿·Ö */ | |
BYTE bCpsbSet; /* ATÃüÁ+CPSB ÉèÖÃ*/ | |
BYTE bCenSet; /*ATÃüÁ+CEN ÉèÖÃ*/ | |
/* UICC²¿·Ö */ | |
BYTE bZustatSet; /*ÉèÖÃ+ZUSTATÖ÷¶¯Éϱ¨¿ª¹Ø. 0 ¹Ø±Õ£¬1 ¿ªÆô*/ | |
BYTE bZurdySet; /*ÉèÖÃ+ZURDYÖ÷¶¯Éϱ¨¿ª¹Ø. 0 ¹Ø±Õ£¬1 ¿ªÆô*/ | |
BYTE bZuslotSet; /*ÉèÖÃ+ZUSLOTÖ÷¶¯Éϱ¨¿ª¹Ø. 0 ¹Ø±Õ£¬1 ¿ªÆô*/ | |
BYTE bZpinstatSet; /*ÉèÖÃ+ZPINSTATÖ÷¶¯Éϱ¨¿ª¹Ø. 0 ¹Ø±Õ£¬1 ¿ªÆô*/ | |
/*Ë«´ýÐÂÔö*/ | |
BYTE bZpsstatSet; /*AT ÃüÁî+ZPSSTATµÄÉèÖÃÖµ*/ | |
BYTE bIMSRegState; /*AT ÃüÁî+ZIMSSTATEµÄÉèÖÃÖµ*/ | |
BYTE bCirepSet; /*AT ÃüÁî+CIREPµÄÉèÖÃÖµ*/ | |
BYTE bCnemSet; /*AT ÃüÁî+CNEMµÄÉèÖÃÖµ*/ | |
BYTE bZimsplusSet; | |
BYTE bAtrIndSet; /*ZCARDATRÖ÷¶¯Éϱ¨¿ª¹Ø*/ | |
DWORD dwDuration; /*VTDÉèÖÃÖµ*/ | |
#ifdef _USE_LPP_ECID | |
BYTE bMtLrIndSet; /*MT LRָʾÉϱ¨¿ª¹Ø*/ | |
BYTE abPadding[3]; | |
#endif | |
BYTE bRoamNetSerch; /*¹úÄÚÂþÓÎÍøÂçËÑË÷¹¦ÄÜ¿ª¹Ø*/ | |
BYTE bCecnSet; | |
BYTE bCauseIndSet; | |
BYTE bPadding3; | |
}T_zDev_AtMem_Mmia_PrivateMem; | |
typedef struct { | |
BYTE bSmsOverIpNetSupp; | |
BYTE abPadding[3]; | |
}T_zDev_AtMem_UMM_SmsOverIpNet; | |
typedef struct { | |
BYTE bVoiceMode; | |
BYTE abPadding[3]; | |
}T_zDev_AtMem_UMM_Cvmod; | |
typedef struct { | |
BYTE bUeMode; | |
BYTE abPadding[3]; | |
}T_zDev_AtMem_UMM_Cemode; | |
typedef struct { | |
BYTE bCmodMode; | |
BYTE abPAdding[3]; | |
}T_zDev_AtMem_CC_CmodMode; /* ATÃüÁî+CMODµÄÉèÖà */ | |
typedef struct { | |
BYTE bFclassMode; | |
BYTE abPadding[3]; | |
}T_zDev_AtMem_CC_FclassMode; /* ATÃüÁî+FCLASSµÄÉèÖÃ,ÆäÖÐ1.0=254, 2.0=255 */ | |
typedef struct { | |
BYTE bCsnsSet; | |
BYTE abPadding[3]; | |
}T_zDev_AtMem_CC_CsnsSet; /* ATÃüÁî+CSNSµÄÉèÖà */ | |
typedef struct { | |
BYTE bCgauto; | |
BYTE bS0; | |
BYTE abPadding[2]; | |
}T_zDev_AtMem_SM_AutoRsp; | |
/* ³ÐÔØÒµÎñÀàÐÍ */ | |
typedef struct { | |
BYTE bSpeed; | |
BYTE bName; | |
BYTE bCe; | |
BYTE bPadding; | |
}T_zDev_AtMem_CC_CbstSet; | |
typedef struct { | |
BYTE bCallLine; /* 0:Ïß·1£¨Òƶ¯£©,1£ºÏß·2£¨Ìúͨ£© */ | |
BYTE abPadding[3]; | |
}T_zDev_AtMem_CC_CallLine; | |
typedef struct { | |
BYTE bCnmiMd; | |
BYTE bCnmiMt; /* ATÃüÁî+CNMIÉèÖÃÖµ */ | |
BYTE bCnmiBm; | |
BYTE bCnmiDs; | |
BYTE bCnmiBfr; | |
BYTE abPadding[3]; | |
}T_zDev_AtMem_SMS_CnmiCmd; | |
typedef struct { | |
BITS bIwsFg:1; | |
BITS bMwsFg:1; | |
BITS bT1Fg:1; | |
BITS bN2Fg:1; | |
BITS bT4Fg:1; | |
BITS :3; | |
BITS bCrlpVersion:2; /*RLP°æ±¾ºÅ0¡¢1¡¢2 */ | |
BITS bCrlpIws:6; /*IWFµ½UEµÄ»¬¶¯´°¿Ú´óС*/ | |
BITS bCrlpMws:6; /*UEµ½IWFµÄ»¬¶¯´°¿Ú´óС*/ | |
BITS :2; /*±£Áôλ*/ | |
BYTE bCrlpT1; /*µ¥Î»10ms */ | |
BYTE bCrlpN2; /*ÖØ´«´ÎÊý*/ | |
BYTE bCrlpT4; /*µ¥Î»10ms£¬°æ±¾2ÓÐЧ*/ | |
BYTE abPadding[2]; | |
}T_zDev_AtMem_TAF_CrlpCmd; | |
typedef struct { | |
BYTE bCscbMode; /*0:accepted, 1:not accepted*/ | |
BYTE abPadding[3]; | |
T_zDev_AtMem_CBS_MidSet tCscbMid; | |
T_zDev_AtMem_CBS_DcsSet tCscbDcs; | |
}T_zDev_AtMem_CBS_CscbCmd; | |
#ifdef _USE_LPP_ECID | |
typedef struct { | |
BYTE bEnable;/*0ÖÕÖ¹MOLR,·¢ÆðMOLR*/ | |
BYTE bHorAccSet;/*ÊÇ·ñÉèÖÃˮƽ¾«¶È0-²»ÉèÖÃ1-ÉèÖÃ*/ | |
BYTE bHorAcc; /*ˮƽ¾«¶È0-127*/ | |
BYTE bVerReq; /*´¹Ö±·½ÏòÒªÇó,0-2D,1-3D*/ | |
BYTE bVerAccSet;/*ÊÇ·ñÉèÖô¹Ö±¾«¶È,0-²»ÉèÖÃ1-ÉèÖÃ*/ | |
BYTE bVerAcc; /*´¹Ö±¾«¶È0-127*/ | |
BYTE bVelReq; /*ËÙÂÊÒªÇó0-4*/ | |
BYTE bRepMod; /*Éϱ¨Ä£Ê½0µ¥´ÎÉϱ¨1ÖÜÆÚÉϱ¨*/ | |
BYTE bPlane; /*0-CP*/ | |
BYTE bPadding; | |
WORD wTimeOut; /*µ¥´Î¶¨Î»³¬Ê±Ê±¼ä1-65535s*/ | |
WORD wInterVal; /*ÖÜÆÚÉϱ¨Ê±Á½´Î¶¨Î»µÄ¼ä¸ôʱ¼ä*/ | |
BYTE abNmeaRep[Z_MAX_ECID_NEMASTR_LEN]; /*NEMAÉϱ¨µÄ×Ö·û´®¸ñʽ0-$GPRMC*/ | |
}T_zDev_AtMem_MoLrCmd; | |
#endif | |
typedef struct { | |
BYTE abApn[Z_DEV_AtMem_MAX_APN_LEN]; | |
BYTE bPdpType; | |
BYTE bDComp; | |
BYTE bHComp; | |
BYTE bIPv4AddrAlloc; | |
BYTE bEmergencyInd; | |
BYTE bPCscfDisc; | |
BYTE bImcnSignInd; | |
BYTE bPadding; | |
BYTE abPdpAddr[Z_DEV_AtMem_MAX_PDPADDR_LEN]; | |
}T_zDev_AtMem_SmPdpContext; | |
typedef struct { | |
BYTE bPassWordLen; | |
BYTE bUserNameLen; | |
BYTE abPassWord[Z_DEV_AtMem_MAX_STR_LEN+1];/*ÃÜÂë*/ | |
BYTE abUserName[Z_DEV_AtMem_MAX_STR_LEN+1];/*Óû§Ãû*/ | |
BYTE abChallenge[Z_DEV_AtMem_MAX_CHALLENGE_LEN];/*Ëæ»úÊý*/ | |
BYTE abHashRsp[Z_DEV_AtMem_MAX_HASH_LEN];/*HASH*/ | |
}T_zDev_AtMem_SmPcoAuth_PapChapInfo; | |
typedef struct { | |
BYTE bAuthType; | |
BYTE abPadding[3]; | |
T_zDev_AtMem_SmPcoAuth_PapChapInfo tPapChapInfo; | |
}T_zDev_AtMem_SmPcoAuthContext; | |
typedef struct | |
{ | |
BYTE bFilterId; /* ·ÖÀàÆ÷±êºÅ£¬È¡Öµ1..8¡£È¡ÖµÎª0ʱ±íʾ´Ë·ÖÀàÆ÷ÎÞЧ */ | |
BYTE bPreIndex; /* ·ÖÀàÆ÷ÓÅÏȼ¶ */ | |
BYTE bPadding; | |
BITS bIPvFg:1; /* 0=IPv4,1=IPv6 */ | |
BITS bPidNextHeaderFg:1; | |
BITS bTosTcMaskFg:1; | |
BITS bAddrMaskFg:1; | |
BITS bLocalPortFg:1; | |
BITS bRemotePortFg:1; | |
BITS bSpiFg:1; | |
BITS bFlowLabelFg:1; | |
BYTE bPidNextHeader; /* IPv4 protocol id/IPv6 next header */ | |
BYTE bTosTc; /* type of service (tos) (ipv4)/ traffic class (ipv6) | |
bTosTcMaskFg=1ʱÓÐЧ*/ | |
BYTE bMask; /* mask(ipv4/ipv6), bTosTcMaskFg=1ʱÓÐЧ*/ | |
BYTE bDirection; | |
BYTE abAddrMask[32]; /* µØÖ·ºÍÑÚÂ룬IPv4ʱǰ8×Ö½ÚÓÐЧ */ | |
WORD wFLocalPort; /*ÆðʼLocal¶Ë¿Ú·¶Î§£¬È¡Öµ0..65535, bLocalPortFg=1ʱÓÐЧ*/ | |
WORD wTLocalPort; /*ÖÕÖ¹Local¶Ë¿Ú·¶Î§£¬È¡Öµ0..65535¡£µ±wFLocalPortÓëwTLocalPortÏàµÈʱ£¬±íʾµ¥Ò»¶Ë¿Ú | |
bLocalPortFg=1ʱÓÐЧ*/ | |
WORD wFRemotePort; /*ÆðʼRemote¶Ë¿Ú·¶Î§£¬È¡Öµ0..65535,bRemotePortFg=1ʱÓÐЧ*/ | |
WORD wTRemotePort; /*ÖÕÖ¹Remote¶Ë¿Ú·¶Î§£¬È¡Öµ0..65535¡£µ±wFRemotePortÓëwTRemotePortÏàµÈʱ£¬±íʾµ¥Ò»¶Ë¿Ú | |
bRemotePortFg=1ʱÓÐЧ*/ | |
DWORD dwSpi; /* security parameter index */ | |
DWORD dwFlowLabel; /* IPv6 flow label */ | |
}T_zDev_AtMem_FilterType; | |
/*LTE ÐÂÔö*/ | |
typedef struct | |
{ | |
BITS bSpare:5; | |
BITS bQciFlg:1; /*ÊÇ·ñ·µ»ØQCI*/ | |
BITS bUlDlGbrFlg:1; /*ÊÇ·ñ·µ»ØGBR²ÎÊý*/ | |
BITS bUlDlMbrFlg:1; /*ÊÇ·ñ·µ»ØMBR²ÎÊý*/ | |
/*¿ÉÑ¡²ÎÊý*/ | |
BYTE bQci; /*QCI of EPS QoS*/ | |
BYTE abPadding[2]; | |
DWORD dwUlGbr; /*Uplink GBR in EPS QoS£¬ÒÔkbpsΪµ¥Î»*/ | |
DWORD dwDlGbr; /*Downlink GBR in EPS QoS£¬ÒÔkbpsΪµ¥Î»*/ | |
DWORD dwUlMbr; /* Uplink MBR in EPS QoS£¬ÒÔkbpsΪµ¥Î»*/ | |
DWORD dwDlMbr; /*Downlink MBR in EPS QoS£¬ÒÔkbpsΪµ¥Î»*/ | |
}T_zDev_AtMem_EsmQosInfo; | |
typedef struct { | |
BYTE bEQosFlag; /*±íʾÊÇ·ñΪQosÈ¥¶¨Ò壬 | |
ȡֵ£ºZ_MMIA_QOS_NotDefine£¬Z_MMIA_QOS_Define*/ | |
BYTE abPadding[3]; | |
T_zDev_AtMem_EsmQosInfo tEQos; //+CGEQOS | |
/*only for R7 ->begin*/ | |
BYTE abFilterValidFlag[Z_DEV_AtMem_MAXINUM_FILTER]; | |
T_zDev_AtMem_FilterType atEsmFilter[Z_DEV_AtMem_MAXINUM_FILTER]; | |
/*only for R7 ->end*/ | |
}T_zDev_AtMem_EsmData; | |
typedef struct { | |
BITS bPrecedenceFg:1; | |
BITS bDelayFg:1; | |
BITS bReliabilityFg:1; | |
BITS bPeakFg:1; | |
BITS bMeanFg:1; | |
BITS :3; | |
BYTE bPrecedence; | |
BYTE bDelay; | |
BYTE bReliability; | |
BYTE bPeak; | |
BYTE bMean; | |
BYTE abPadding[2]; | |
}T_zDev_AtMem_SmQosType; | |
typedef struct { | |
BITS bTcFg:1; | |
BITS bDeliOrderFg:1; | |
BITS bDeliErrSduFg:1; | |
BITS bTraffPriFg:1; | |
BITS bSduErrRatioFg:1; | |
BITS bResidualBerFg:1; | |
BITS bMaxRateUlFg:1; | |
BITS bMaxRateDlFg:1; | |
BITS bGuarRateUlFg:1; | |
BITS bGuarRateDlFg:1; | |
BITS bMaxSduSizeFg:1; | |
BITS bTransDelayFg:1; | |
BITS :4; | |
BYTE abPadding[2]; | |
BYTE bTc; | |
BYTE bDeliveryOrder; | |
BYTE bDeliveryErrSdu; | |
BYTE bTrafficPri; | |
BYTE abSduErrRatio[2];/*abSduErrRatio[0]:m, abSduErrRatio[1]:e. | |
Èç5*10-3±íʾΪ£ºabSduErrRatio[0]£½5,abSduErrRatio[1]£½3*/ | |
BYTE abResidualBer[2]; /*abResidualBer[0]:m, abResidualBer[1]:e. | |
Èç5*10-3±íʾΪ£ºabResidualBer[0]£½5,abResidualBer[1]£½3*/ | |
BYTE bSrcStatsDescriptor; | |
BYTE bSignalIndication; | |
BYTE abPadding1[2]; | |
DWORD dwMaxRateUl; /*µ¥Î»Îªkbps*/ | |
DWORD dwMaxRateDl; /*µ¥Î»Îªkbps*/ | |
DWORD dwGuarRateUl; /*µ¥Î»Îªkbps*/ | |
DWORD dwGuarRateDl; /*µ¥Î»Îªkbps*/ | |
WORD wMaxSduSize; | |
WORD wTransDelay; /*µ¥Î»Îªms*/ | |
}T_zDev_AtMem_SmEQosType; | |
typedef struct { | |
BITS bPdpInfoFg:1; | |
BITS bPcoAuthFg:1; | |
BITS b2GMinQosFg:1; | |
BITS b3GMinQosFg:1; | |
BITS b2GQosFg:1; | |
BITS b3GQosFg:1; | |
BITS :2; | |
BYTE bPreCid; // CGDSCONT | |
BYTE bContFlag; /* 0 Ò»´ÎÉÏÏÂÎÄ£¬ 1 ¶þ´ÎÉÏÏÂÎÄ */ | |
BYTE bPadding; | |
T_zDev_AtMem_SmPdpContext tPdpContext; //CGDCONT, CGDSCONT | |
T_zDev_AtMem_SmPcoAuthContext tPcoAuth;//ZGPCOAUTH | |
T_zDev_AtMem_FilterType atFilter[Z_DEV_AtMem_MAXINUM_FILTER]; //CGTFT Ò»´Î½öÓÐÒ»¸ö£¬Ï±êÊÇpfid | |
T_zDev_AtMem_SmQosType t2GQos; //cgqreq | |
T_zDev_AtMem_SmQosType t2GMinQos; //cgqmin | |
T_zDev_AtMem_SmEQosType t3GQos; //cgeqreq | |
T_zDev_AtMem_SmEQosType t3GMinQos; //cgeqmin | |
}T_zDev_AtMem_SmCidData; | |
typedef struct { | |
T_zDev_AtMem_Mmia_PrivateMem tMmiaPrivateMem; | |
T_zDev_AtMem_UMM_Cvmod tCvmod; | |
T_zDev_AtMem_UMM_Cemode tCemode; | |
T_zDev_AtMem_UMM_SmsOverIpNet tSmsOverIpNet; | |
T_zDev_AtMem_CC_CmodMode tCmodMode; | |
T_zDev_AtMem_CC_CbstSet tCbstSet; | |
T_zDev_AtMem_CC_CallLine tCallLine; | |
T_zDev_AtMem_CC_FclassMode tFclassMode; | |
T_zDev_AtMem_CC_CsnsSet tCsnsSet; | |
T_zDev_AtMem_SM_AutoRsp tAutoRsp; | |
T_zDev_AtMem_SMS_CnmiCmd tCnmiCmd; | |
T_zDev_AtMem_TAF_CrlpCmd tCrlpCmd; | |
T_zDev_AtMem_CBS_CscbCmd tCscbCmd; | |
#ifdef _USE_LPP_ECID | |
T_zDev_AtMem_MoLrCmd tMoLrCmd; | |
#endif | |
T_zDev_AtMem_SmCidData atCidDataList[Z_DEV_AtMem_MAX_CID_NUM]; | |
T_zDev_AtMem_EsmData atEsmDataList[Z_DEV_AtMem_MAX_CID_NUM]; | |
}T_zDev_AtMem; | |
/************************************************************************** | |
* ÏûÏ¢·¢ËÍÏà¹Ø½á¹¹¶¨Òå * | |
**************************************************************************/ | |
typedef struct { | |
DWORD dwStartFg; /*Æô¶¯±êÖ¾*/ | |
CHAR * pModName; /*Ä£¿éÃû*/ | |
CHAR * pTaskName1; /*Ä£¿éËùÊôÓÚµÄʵÀýÒ»ÈÎÎñÃû£¬ÈôÎÞÈÎÎñÔòȡֵ"Z_MODULE"*/ | |
ZOSS_TASK_ID tTaskId1; /*ʵÀýÒ»ÈÎÎñID£¬·ÇÈÎÎñ»òÈÎÎñ²»Æô¶¯Ê±È¡ÖµZOSS_INVALID_TASK_ID*/ | |
CHAR * pTaskName2; /*Ä£¿éËùÊôÓÚµÄʵÀý¶þÈÎÎñÃû£¬ÈôÎÞÈÎÎñÔòȡֵ"Z_MODULE"*/ | |
ZOSS_TASK_ID tTaskId2; /*ʵÀý¶þÈÎÎñID£¬·ÇÈÎÎñ»òÈÎÎñ²»Æô¶¯Ê±È¡ÖµZOSS_INVALID_TASK_ID*/ | |
}T_z_ModuleInfo; | |
extern T_z_ModuleInfo g_z_SubMdl[Z_SUBMDL_NUM]; | |
/************************************************************************** | |
* ÏûÏ¢·¢ËÍÏà¹Ø½á¹¹¶¨Òå * | |
**************************************************************************/ | |
typedef struct { | |
DWORD dwMsgId; /*ÏûÏ¢ID*/ | |
BYTE bStackIndex; /*ʵÀýID,ȡֵ1-2*/ | |
BYTE bPadding[3]; | |
WORD wMsgLen; /*ÏûÏ¢³¤¶È*/ | |
BYTE bSrcMod; /*Ô´Ä£¿é*/ | |
BYTE bDestMod; /*Ä¿µÄÄ£¿é*/ | |
ZOSS_TASK_ID tSrcTask; /*Ô´ÈÎÎñ*/ | |
ZOSS_TASK_ID tDestTask; /*Ä¿µÄÈÎÎñ*/ | |
PBYTE pMsg; /*ÏûÏ¢Ö¸Õë*/ | |
}T_z_MsgInfo; | |
/************************************************************************** | |
*º¯ÊýÃû³Æ:zDev_NV_AtiReadItem | |
*º¯Êý¹¦ÄÜ:ATIרÓöÁNVº¯Êý | |
*Êä Èë:bNvItem Òª¶ÁµÄNVÊý¾ÝË÷ÒýÖµ,¼ûatipscom.hºê¶¨Òå | |
*Êä ³ö:pValBuf¶Á³öÀ´µÄÊý¾Ý,Óɵ÷ÓÃÕßÉêÇëÄÚ´æ | |
**************************************************************************/ | |
BYTE zDev_NV_AtiReadItem(BYTE bAtiNvItem, PBYTE pValBuf); | |
/************************************************************************** | |
*º¯ÊýÃû³Æ:zDev_NV_AtiWriteItem | |
*º¯Êý¹¦ÄÜ:ATIרÓÃдNVº¯Êý | |
*Êä Èë:bNvItem ҪдµÄNVÊý¾ÝË÷ÒýÖµ,¼ûatipscom.hºê¶¨Òå | |
*Êä ³ö:pValBuf´ýдÈëµÄÊý¾Ý,Óɵ÷ÓÃÕß´«Èë | |
**************************************************************************/ | |
BYTE zDev_NV_AtiWriteItem(BYTE bAtiNvItem, PBYTE pValBuf); | |
/************************************************************************ | |
*º¯ÊýÃû³Æ:zDev_NV_AtiRefreshItem | |
*º¯Êý¹¦ÄÜ:½«È«¾ÖÖеÄÖµ¸üÐÂÖÁNVÖÐ | |
************************************************************************/ | |
BYTE zDev_NV_AtiRefreshItem(BYTE bAtiNvItem); | |
#ifdef _USE_FREQ_AMTNV | |
/* ================================================================== | |
º¯ÊýÃû³Æ: zDev_GetAmtNvLteBand | |
º¯Êý¹¦ÄÜ:»ñÈ¡AMT NV LTE BAND | |
·µ »Ø: | |
×¢ ÊÍ:bit±íʾµÄBAND°´PS NVÖÐLteBand˳Ðò·Å | |
================================================================== */ | |
VOID zDev_GetAmtNvLteBand(PBYTE pAmtnvBand); | |
/* ================================================================== | |
º¯ÊýÃû³Æ: zDev_GetAmtNvFddBand | |
º¯Êý¹¦ÄÜ:»ñÈ¡AMT NV FDD BAND | |
·µ »Ø: | |
×¢ ÊÍ:bit±íʾµÄBAND°´PS NVÖÐFddBandµÄ˳Ðò·Å | |
================================================================== */ | |
VOID zDev_GetAmtNvFddBand(PBYTE pAmtnvBand); | |
/* ================================================================== | |
º¯ÊýÃû³Æ: zDev_GetAmtNvTddBand | |
º¯Êý¹¦ÄÜ:»ñÈ¡AMT NV TDD BAND | |
·µ »Ø: | |
×¢ ÊÍ:bit±íʾµÄBAND°´PS NVÖÐTddBandµÄ˳Ðò·Å | |
================================================================== */ | |
VOID zDev_GetAmtNvTddBand(PBYTE pAmtnvBand); | |
/* ================================================================== | |
º¯ÊýÃû³Æ: zDev_GetAmtNvGsmBand | |
º¯Êý¹¦ÄÜ:»ñÈ¡AMT NV GSM BAND | |
·µ »Ø: | |
×¢ ÊÍ:bit±íʾµÄBAND°´PS NVÖÐGsmBandµÄ˳Ðò·Å | |
================================================================== */ | |
VOID zDev_GetAmtNvGsmBand(PBYTE pAmtnvBand); | |
#endif | |
extern BYTE zDev_IsSupportGsmBand(VOID); | |
extern BYTE zDev_IsSupportFddBand(VOID); | |
extern BYTE zDev_IsSupportTddBand(VOID); | |
extern BYTE zDev_IsSupportLteBand(VOID); | |
extern BYTE zDev_ModifyTddOrFdd(VOID); | |
extern BYTE zDev_CheckEquateBand(BYTE bCustomBand, BYTE bEquateBand); | |
extern VOID zDev_PcoAuthCipher(PBYTE pContent,BYTE bLen); | |
/* ================================================================== | |
º¯ÊýÃû³Æ: zSys_GetNVCmdValue | |
º¯Êý¹¦ÄÜ:»ñÈ¡ZSETÃüÁîÉèÖõĽá¹û | |
ÊäÈë:cmd,ZSETÃüÁîµÄ×Ö·û´® | |
·µ »Ø:ÃüÁîµÄÉèÖýá¹û | |
×¢ ÊÍ: | |
================================================================== */ | |
extern UINT32 zSys_GetNVCmdValue(const CHAR* cmd); | |
/* ================================================================== | |
º¯ÊýÃû³Æ: zOss_GetSvConfig | |
º¯Êý¹¦ÄÜ:»ñÈ¡IMEISVÖеÄSV | |
ÊäÈë: | |
·µ »Ø:Ò»¸ö×Ö½ÚµÄSV | |
×¢ ÊÍ: | |
================================================================== */ | |
extern UINT8 zOss_GetSvConfig(VOID); | |
/* ================================================================== | |
º¯ÊýÃû³Æ: zDev_GetAtiNvItem | |
º¯Êý¹¦ÄÜ:NVITEMµÄÓ³Éä | |
ÊäÈë:bAtiNvItem:ATIʹÓõÄNVID | |
Êä³ö:pbNvItem:MODEMµÄNVID | |
·µ»Ø:Z_SUCC³É¹¦,Z_FAILʧ°Ü | |
×¢ ÊÍ: | |
================================================================== */ | |
extern BYTE zDev_GetAtiNvItem(BYTE bAtiNvItem, PBYTE pbNvItem); | |
/* ================================================================== | |
º¯ÊýÃû³Æ: zDev_NVWriteItem | |
º¯Êý¹¦ÄÜ:NV¶Áд½Ó¿Ú | |
×¢ ÊÍ: | |
================================================================== */ | |
extern BYTE zDev_NVWriteItem(BYTE bNvItem); | |
/* ================================================================== | |
º¯ÊýÃû³Æ£ºzSendLogToTrace | |
¹¦ÄÜÃèÊö£º·¢ËÍÒ»°ãLOGÐÅÏ¢ | |
²ÎÊý˵Ã÷£º(IN) | |
dwLogId Log ID | |
wLogLen LogÐÅÏ¢³¤¶È | |
pLog LogÐÅÏ¢ÂëÁ÷ | |
·µ »Ø Öµ£ºÎÞ | |
ÆäËü˵Ã÷£ºÎÞ | |
================================================================== */ | |
extern VOID zSendLogToTrace(BYTE bStackIndex, DWORD dwLogId, WORD wLogLen,PBYTE pLog); | |
/************************************************************************** | |
º¯ÊýÃû³Æ: zDev_AtMemWriteItem | |
º¯Êý¹¦ÄÜ: ¸ù¾ÝÈë²Î£¬ÏòÐÒéÕ»Êý¾Ý»º´æÇøÖÐдÈëItem | |
Êä Èë: bAtMemItem ´ýдÈëµÄItemId | |
bId дÈëPDPÏȹصÄCIDʱÓÐЧ | |
Êä ³ö: pAtMemBuf £ºÐ´ÈëµÄÈ«¾ÖÊý¾ÝÇøÊý¾Ý¡£Óɺ¯Êýµ÷ÓÃÕßÉêÇëºÍÊÍ·ÅÄÚ´æ | |
·µ »Ø: Z_SUCC ³É¹¦ | |
Z_FAIL ʧ°Ü | |
***************************************************************************/ | |
extern BYTE zDev_AtMemWriteItem(BYTE bAtMemItem, BYTE bId, PBYTE pAtMemBuf, BYTE bInsNo); | |
/************************************************************************** | |
º¯ÊýÃû³Æ: zDev_AtMemReadItem | |
º¯Êý¹¦ÄÜ:¸ù¾ÝÈë²Î£¬¶ÁÈ¡ÐÒéÕ»Êý¾Ý»º´æÇøÖеÄItem | |
Êä Èë: bAtMemItem ´ý¶ÁÈ¡µÄItemId | |
bId ¶àCIDʱ´øÈë | |
Êä ³ö: pAtMemBuf £º¶Á³öµÄÈ«¾ÖÊý¾ÝÇøÊý¾Ý¡£Óɺ¯Êýµ÷ÓÃÕßÉêÇëºÍÊÍ·ÅÄÚ´æ | |
·µ »Ø: Z_SUCC ³É¹¦ | |
Z_FAIL ʧ°Ü | |
***************************************************************************/ | |
extern BYTE zDev_AtMemReadItem(BYTE bAtMemItem, BYTE bId, PBYTE pAtMemBuf, BYTE bInsNo); | |
/*==================================================================================================== | |
º¯ÊýÃû³Æ£ºzExpt2TraceAgt | |
¹¦ÄÜÃèÊö£ºÒì³£¹Û²ìº¯Êý | |
²ÎÊý˵Ã÷£º(IN) | |
bInsNo:ʵÀýºÅ£¬0-1 £ºÐÒéÕ»1£¬ 2£ºÐÒéÕ»2 | |
bModId:Ä£¿éºÅ | |
dwErrcode:´íÎóÂë | |
dwRcvMsgId:½ÓÊÕµÄÏûÏ¢id | |
dwSendMsgId: ·¢³öµÄÏûÏ¢id | |
pString: ×Ö·û´®ÐÅÏ¢,ÄÚÈݲ»ÏÞ,³¤¶È×îºÃÏÞÖÆÔÚ50×Ö½ÚÒÔÄÚ,Óɺ¯Êýµ÷ÓÃÕß°´ÐèÒªÌîд | |
pFileName: ³ö´íµÄÎļþÃû | |
dwLineNum: ³ö´íµÄÎļþÐкŠ| |
bState£º¸÷Ä£¿é״̬ | |
·µ »Ø Öµ£ºÎÞ | |
ÆäËü˵Ã÷£º | |
=====================================================================================================*/ | |
extern VOID zExpt2TraceAgt(BYTE bInsNo, BYTE bModId, DWORD dwErrcode,DWORD dwRcvMsgId, DWORD dwSendMsgId, CHAR *pString, CHAR * pFileName, DWORD dwLineNum, BYTE bState, BYTE bErrLevel); | |
/*====================================================================== | |
º¯ÊýÃû³Æ£ºzSendMsg | |
¹¦ÄÜÃèÊö£ºMODEMÄÚ¸÷ÈÎÎñÒì²½ÏûÏ¢·¢ËÍ | |
²ÎÊý˵Ã÷£º(IN) | |
pMsgInfo:´ý·¢ËÍÏûÏ¢ÐÅÏ¢ | |
(OUT) | |
pCause:´íÎóÔÒò | |
·µ »Ø Öµ£ºÎÞ | |
=======================================================================*/ | |
extern VOID zSendMsg(T_z_MsgInfo *pMsgInfo, PDWORD pCause); | |
/*====================================================================== | |
º¯ÊýÃû³Æ£ºzMsgTrace | |
¹¦ÄÜÃèÊö£ºÐÅÁî¸ú×Ù½Ó¿Úº¯Êý | |
²ÎÊý˵Ã÷£º(IN) | |
bDirect:ÏûÏ¢·½Ïò,Z_SIGTRACE_RECVÈëÏûÏ¢,Z_SIGTRACE_SEND:³öÏûÏ¢ | |
pMsgInfo:´ý¸ú×ÙÏûÏ¢ÐÅÏ¢ | |
======================================================================*/ | |
extern VOID zMsgTrace(BYTE bDirect, T_z_MsgInfo * pMsgInfo); | |
/*===================================== | |
º¯ÊýÃû³Æ:zSetRelativeTimer | |
¹¦ÄÜÃèÊö:Æô¶¯¶¨Ê±º¯Êý | |
²ÎÊý˵Ã÷:(IN) | |
dwTimerLen:ʱ³¤ | |
dwMsgId:³¬Ê±ÏûÏ¢id | |
dwArg:¸½¼þÐÅÏ¢ | |
·µ »Ø Öµ£ºÎÞ | |
======================================*/ | |
extern ZOSS_TIMER_ID zSetRelativeTimer(DWORD dwTimerLen, DWORD dwMsgId, DWORD dwArg); | |
/*===================================== | |
º¯ÊýÃû³Æ:zSetLoopTimer | |
¹¦ÄÜÃèÊö:Æô¶¯Ñ»·¶¨Ê±º¯Êý | |
²ÎÊý˵Ã÷:(IN) | |
dwTimerLen:ʱ³¤ | |
dwMsgId:³¬Ê±ÏûÏ¢id | |
dwArg:¸½¼þÐÅÏ¢ | |
·µ »Ø Öµ: | |
======================================*/ | |
extern ZOSS_TIMER_ID zSetLoopTimer(DWORD dwTimerLen, DWORD dwMsgId, DWORD dwArg); | |
/*===================================== | |
º¯ÊýÃû³Æ:zOss_KillTimer | |
¹¦ÄÜÃèÊö:ɾ³ýÖ¸¶¨¶¨Ê±Æ÷ | |
²ÎÊý˵Ã÷:timer_id: ¶¨Ê±Æ÷ID | |
·µ »Ø Öµ:³É¹¦:ZOSS_SUCCESS; ʧ°Ü:ZOSS_ERROR | |
======================================*/ | |
extern UINT32 zOss_KillTimer(ZOSS_TIMER_ID timer_id); | |
/* ================================================================== | |
º¯ÊýÃû³Æ: zDev_GetCfunFlag | |
º¯Êý¹¦ÄÜ:»ñÈ¡¿ª»ú±êÖ¾ | |
Êä Èë:ÎÞ | |
Êä ³ö:ÎÞ | |
·µ »Ø:¿ª»ú±êÖ¾ | |
×¢ ÊÍ: | |
================================================================== */ | |
extern BYTE zDev_GetCfunFlag(VOID); | |
/* ================================================================== | |
º¯ÊýÃû³Æ: zDev_GetManualSearchFg | |
º¯Êý¹¦ÄÜ:ָʾÊÇ·ñÖ§³Ö¿ª»úÊÖ¶¯ËÑÍøÄ£Ê½ | |
·µ »Ø:0: ²»Ö§³Ö1: Ö§³Ö | |
×¢ ÊÍ: | |
================================================================== */ | |
extern BYTE zDev_GetManualSearchFg(VOID); | |
//extern UINT32 Nvram_Flush(VOID); | |
/* ================================================================== | |
º¯ÊýÃû³Æ: zDev_GetTaskId | |
º¯Êý¹¦ÄÜ:»ñÈ¡ÈÎÎñID | |
ÊäÈë:bSubModÄ£¿éºÅ | |
bInsNot´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2 | |
·µ»ØÖµ:ÈÎÎñIDºÅ | |
================================================================== */ | |
extern ZOSS_TASK_ID zDev_GetTaskId(BYTE bSubMod, BYTE bInsNo); | |
/* ================================================================== | |
º¯ÊýÃû³Æ: zDev_GetAtMemData | |
º¯Êý¹¦ÄÜ: »ñÈ¡AtMemÊý¾ÝÇøÊ×µØÖ· | |
Êä Èë:ÎÞ | |
Êä ³ö:ÎÞ | |
·µ »Ø: AtMemÊý¾ÝÇøÊ×µØÖ· | |
================================================================== */ | |
extern PBYTE zDev_GetAtMemData (BYTE bInsNo); | |
/* ================================================================== | |
º¯ÊýÃû³Æ: zDev_GetNvDataSize | |
º¯Êý¹¦ÄÜ: »ñÈ¡NVÊý¾ÝÇø´óС | |
Êä Èë:ÎÞ | |
Êä ³ö:ÎÞ | |
·µ »Ø: NVÊý¾ÝÇø´óС | |
================================================================== */ | |
extern WORD zDev_GetNvDataSize (VOID); | |
/* ================================================================== | |
º¯ÊýÃû³Æ: zDev_GetNvData | |
º¯Êý¹¦ÄÜ: »ñÈ¡NVÊý¾ÝÇøÊ×µØÖ· | |
Êä Èë:ÎÞ | |
Êä ³ö:ÎÞ | |
·µ »Ø: NVÊý¾ÝÇøÊ×µØÖ· | |
================================================================== */ | |
extern PBYTE zDev_GetNvData (VOID); | |
/* ================================================================== | |
º¯ÊýÃû³Æ: zDev_GetRatVersion | |
º¯Êý¹¦ÄÜ:»ñÈ¡µ±Ç°°æ±¾ÖÆÊ½ÐÅÏ¢ | |
================================================================== */ | |
BYTE zDev_GetRatVersion(VOID); | |
/* ================================================================== | |
º¯ÊýÃû³Æ: zDev_GetCSFBAnsModFlag | |
º¯Êý¹¦ÄÜ:CSFBÓ¦´ð·½Ê½ | |
Êä Èë:ÎÞ | |
Êä ³ö:ÎÞ | |
·µ »Ø:0:È˹¤Ó¦´ð1:×Ô¶¯Ó¦´ð | |
×¢ ÊÍ: | |
================================================================== */ | |
BYTE zDev_GetCSFBAnsModFlag(VOID); | |
extern DWORD zDev_NVInit_SysconfigInit(VOID); | |
/***************************************************************************** | |
* º¯ÊýÃû £ºzNas_SetEventStart | |
* ¹¦ÄÜ £ºÉèÖÃNASʼþ¿ªÊ¼ | |
* ÊäÈë²ÎÊý £ºBYTE bInsIdx -- ´ý»ú²àʵÀýºÅ: 0, ¿¨1´ý»ú²à; 1, ¿¨2´ý»ú²à. | |
BYTE bEvent -- ÒµÎñ¶ÔÓ¦µÄË÷Òý(0...31): Ë÷Òý0µÄÓÅÏȼ¶×î¸ß, | |
¾ßÌ庬ÒåÇë¼ûºê¶¨Òå. | |
* Êä³ö²ÎÊý £ºÎÞ | |
* ·µ»ØÖµËµÃ÷ £ºÎÞ | |
* ÆäËû˵Ã÷ £ºÎÞ | |
*****************************************************************************/ | |
extern VOID zNas_SetEventStart(BYTE bInsIdx, BYTE bEvent); | |
/***************************************************************************** | |
* º¯ÊýÃû £ºzNas_SetEventEnd | |
* ¹¦ÄÜ £ºÉèÖÃNASʼþ½áÊø | |
* ÊäÈë²ÎÊý £ºBYTE bInsIdx -- ´ý»ú²àʵÀýºÅ: 0, ¿¨1´ý»ú²à; 1, ¿¨2´ý»ú²à. | |
BYTE bEvent -- ÒµÎñ¶ÔÓ¦µÄË÷Òý(0...31): Ë÷Òý0µÄÓÅÏȼ¶×î¸ß, | |
¾ßÌ庬ÒåÇë¼ûºê¶¨Òå. | |
* Êä³ö²ÎÊý £ºÎÞ | |
* ·µ»ØÖµËµÃ÷ £ºÎÞ | |
* ÆäËû˵Ã÷ £ºÎÞ | |
*****************************************************************************/ | |
extern VOID zNas_SetEventEnd(BYTE bInsIdx, BYTE bEvent); | |
/***************************************************************************** | |
* º¯ÊýÃû £ºzNas_IsEventExist | |
* ¹¦ÄÜ £º²éѯ¶ÔÓ¦µÄʼþÊÇ·ñ´æÔÚ | |
* ÊäÈë²ÎÊý £ºBYTE bInsIdx -- ´ý»ú²àʵÀýºÅ: 0, ¿¨1´ý»ú²à; 1, ¿¨2´ý»ú²à. | |
BYTE bEvent -- ÒµÎñ¶ÔÓ¦µÄË÷Òý(0...31): Ë÷Òý0µÄÓÅÏȼ¶×î¸ß, | |
¾ßÌ庬ÒåÇë¼ûºê¶¨Òå. | |
* Êä³ö²ÎÊý £ºÎÞ | |
* ·µ»ØÖµËµÃ÷ £ºZ_VALID/Z_INVALID | |
* ÆäËû˵Ã÷ £ºÎÞ | |
*****************************************************************************/ | |
extern BYTE zNas_IsEventExist(BYTE bInsIdx, BYTE bEvent); | |
/* PSÊý¾ÝÃæ£¬ÉÏÐлº´æÇø¶¯Ì¬ÉêÇ뺯Êý */ | |
extern T_z_UpLink_Sdu* zAllocUpLinkSdu(void); | |
/* PSÊý¾ÝÃæ£¬ÉÏÐлº´æÇø¶¯Ì¬Êͷź¯Êý */ | |
extern void zFreeUpLinkSdu(T_z_UpLink_Sdu* pSdu); | |
/* PSÊý¾ÝÃæ£¬ÏÂÐлº´æÇø¶¯Ì¬Êͷź¯Êý */ | |
extern void zFreeDownLinkSdu(T_z_DownLink_Sdu* pSdu); | |
extern VOID zSendMsgToEl2(T_z_MsgInfo *pMsgInfo, BYTE bFlag); | |
extern VOID zPs_SaveApUtcInfo(WORD wYear, WORD wMonth); | |
#endif | |