blob: 163770fd15d80711fb27e95d8a92ce824db13c2a [file] [log] [blame]
/*****************************************************************
*°æ±¾ËùÓÐ (C)2016ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾
*Ä£¿éÃû:
*ÎļþÃû:atipsint.h
*ʵÏÖ¹¦ÄÜ:atiÓë¸÷¹¦ÄÜÄ£¿é¼äµÄ½Ó¿Ú
*°æ±¾:V1.0
*****************************************************************/
#ifndef ZPS_ATI_INT_H
#define ZPS_ATI_INT_H
#include "atipscom.h"
/*********************************************************************
*ATIºÍÆäËûÄ£¿é¼äµÄ½Ó¿Ú¼°ºêÖµ¶¨Òå,½ûÖ¹ËæÒâÐÞ¸Ä
*********************************************************************/
/*ͨÓú궨Ò壺ij±äÁ¿ÊÇ·ñ´æÔڵıê־λȡֵ*/
#define Z_APMMIA_VALID (BYTE)1
#define Z_APMMIA_INVALID (BYTE)0
/* atÃüÁî½á¹ûÂë, common cnfÖнá¹ûÂë, mmiaºÍstm½Ó¿ÚµÄ·µ»ØÖµ*/
#define Z_APMMIA_OPERATION_FAILURE (BYTE)0
#define Z_APMMIA_OPERATION_SUCCESS (BYTE)1
/*================ ʧ°ÜÔ­Òòºê¶¨Òå =====================*/
/* Command Type */
#define Z_APMMIA_SMSCMDTYPE_SET (BYTE)0
#define Z_APMMIA_SMSCMDTYPE_QUERY (BYTE)1
#define Z_MmiaUmm_ImsiUnknowInHlr_Err (WORD)102 /*UMMÀ©Õ¹Ê§°ÜÔ­Òò,27007 9.2ûÓдËÔ­Òò*/
#define Z_MmiaUmm_IllegalMs_Err (WORD)103
#define Z_MmiaUmm_IllegalMe_Err (WORD)106
#define Z_MmiaUmm_GprsSrvNotAlw_Err (WORD)107
#define Z_MmiaUmm_PlmnNotAlw_Err (WORD)111
#define Z_MmiaUmm_LANotAlw_Err (WORD)112
#define Z_MmiaUmm_RoamNotAlwInLa_Err (WORD)113
#define Z_MmiaUmm_PhoneFail (WORD)0
#define Z_MmiaUmm_OptNotAlw (WORD)3
#define Z_MmiaUmm_OptNotSpt (WORD)4
#define Z_MmiaUmm_SimNotInsert (WORD)10
#define Z_MmiaUmm_SimWrong (WORD)15
#define Z_MmiaUmm_NoNetSvc (WORD)30
#define Z_MmiaUmm_EmcCallOnly (WORD)32
#define Z_MmiaUmm_UnknownErr (WORD)100
/*À©Õ¹¹¤³Ìģʽ´íÎóÂë*/
#define Z_MmiaUmm_CellOfOtherPlmn_Err (WORD)257
#define Z_MmiaUmm_CellOfForbidLa_Err (WORD)258
#define Z_MmiaUmm_CellBarred_Err (WORD)259
#define Z_MmiaUmm_NoAvailableBand_Err (WORD)6009
/*================ MmiaUmm½Ó¿ÚÖÐÖÆÊ½µÄºê¶¨Òå ===========================*/
#define Z_MmiaUmm_GSM Z_GSM_ACT
#define Z_MmiaUmm_GSMCOMPACT Z_GSM_COMPACT_ACT
#define Z_MmiaUmm_TD Z_TD_ACT
#define Z_MmiaUmm_W Z_W_ACT
#define Z_MmiaUmm_ALLACT (BYTE)0xff
/*================ Óû§ÖØÑ¡ºê¶¨Òå =======================================*/
#define Z_MmiaUmm_NoReselect (BYTE)0
#define Z_MmiaUmm_UserReselect (BYTE)1
/*================ Ñ¡ÍøÄ£Ê½ºê¶¨Òå =======================================*/
#define Z_MmiaUmm_Auto (BYTE)0
#define Z_MmiaUmm_Manu (BYTE)1
/*================ ÊÖ¶¯Ñ¡ÍøÊ§°Ü´¦Àíºê¶¨Òå ===============================*/
#define Z_MmiaUmm_FailAndManu (BYTE)0 /* ʧ°Üºó±£³ÖÊÖ¶¯ */
#define Z_MmiaUmm_FailToAuto (BYTE)1 /*:ʧ°Üºóת×Ô¶¯Ñ¡ÍøÄ£Ê½*/
/*================ ¼¤»î»òÈ¥»îºê¶¨Òå =====================================*/
#define Z_MmiaUmm_ACTIVE (BYTE)0
#define Z_MmiaUmm_DEACTIVE (BYTE)1
/*================ ¶ÔÁ½¸öÓò½øÐвÙ×÷ºê¶¨Òå ===============================*/
#define Z_MmiaUmm_AllDomain (BYTE)2 /* ¶ÔÁ½¸öÓò½øÐвÙ×÷ */
/*================ PLMN״̬ºê¶¨Òå =======================================*/
#define Z_MmiaUmm_UnknownPlmn (BYTE)0
#define Z_MmiaUmm_AvailPlmn (BYTE)1
#define Z_MmiaUmm_CurPlmn (BYTE)2
#define Z_MmiaUmm_FPlmn (BYTE)3
/*================ ×¢²á״̬ºê¶¨Òå =======================================*/
#define Z_MmiaUmm_NoRegNoSearch (BYTE)0
#define Z_MmiaUmm_RegHplmn (BYTE)1
#define Z_MmiaUmm_NoRegButSearch (BYTE)2
#define Z_MmiaUmm_RegDenied (BYTE)3
#define Z_MmiaUmm_Unknown (BYTE)4
#define Z_MmiaUmm_RegRoaming (BYTE)5
#define Z_MmiaUmm_PlmnSearchNotAllowed (BYTE)6 /* ´Ë״̬רÃÅÓÃÓھܾøËÑÍøÏûÏ¢ */
#define Z_MmiaUmm_AttempUpdate (BYTE)7 /* ´Ë״̬ÊǸüÐÂÒ»°ãʧ°ÜÉϱ¨µÄÖмä״̬ */
/* ϵͳģʽ²Î¿¼ºê¶¨Òå - mode*/
#define Z_MmiaUmm_AutoSel (BYTE)2
#define Z_MmiaUmm_GsmOnly (BYTE)13
#define Z_MmiaUmm_WcdmaOnly (BYTE)14
#define Z_MmiaUmm_TdOnly (BYTE)15
#define Z_MmiaUmm_ModeNoChange (BYTE)16
#define Z_MmiaUmm_LteOnly (BYTE)17
#define Z_MmiaUmm_GSM_TD (BYTE)18
#define Z_MmiaUmm_GSM_LTE (BYTE)19
#define Z_MmiaUmm_TD_LTE (BYTE)20
#define Z_MmiaUmm_GSM_W (BYTE)21 /*GSM W˫ģ*/
#define Z_MmiaUmm_TD_W (BYTE)22 /*TD W˫ģ*/
#define Z_MmiaUmm_W_LTE (BYTE)23 /*W LTE˫ģ*/
#define Z_MmiaUmm_TD_GSM_LTE (BYTE)24 /*TD GSM LTEÈýÄ£*/
#define Z_MmiaUmm_TD_W_LTE (BYTE)25 /*TD W LTEÈýÄ£*/
#define Z_MmiaUmm_TD_W_GSM (BYTE)26 /*TD W GSMÈýÄ£*/
#define Z_MmiaUmm_W_GSM_LTE (BYTE)27 /*GSM W LTEÈýÄ£*/
/* ÍøÂç½ÓÈë´ÎÐòºê¶¨Òå - acqorder*/
#define Z_MmiaUmm_AutoAcqorder (BYTE)0
#define Z_MmiaUmm_GsmPriority_TdSecond_LteThird (BYTE)1
#define Z_MmiaUmm_TdPriority_GsmSecond_LteThird (BYTE)2
#define Z_MmiaUmm_AcqoNochange (BYTE)3
#define Z_MmiaUmm_GsmPriority_LteSecond_TdThird (BYTE)4
#define Z_MmiaUmm_TdPriority_LteSecond_GsmThird (BYTE)5
#define Z_MmiaUmm_LtePriority_TdSecond_GsmThrid (BYTE)6
#define Z_MmiaUmm_LtePriority_GsmSecond_TdThird (BYTE)7
#define Z_MmiaUmm_GsmPriority_WSecond_LteThird (BYTE)8
#define Z_MmiaUmm_WPriority_GsmSecond_LteThird (BYTE)9
#define Z_MmiaUmm_GsmPriority_LteSecond_WThird (BYTE)10
#define Z_MmiaUmm_WPriority_LteSecond_GsmThird (BYTE)11
#define Z_MmiaUmm_LtePriority_WSecond_GsmThrid (BYTE)12
#define Z_MmiaUmm_LtePriority_GsmSecond_WThird (BYTE)13
#define Z_MmiaUmm_TdPriority_WSecond_LteThird (BYTE)14
#define Z_MmiaUmm_WPriority_TdSecond_LteThird (BYTE)15
#define Z_MmiaUmm_TdPriority_LteSecond_WThird (BYTE)16
#define Z_MmiaUmm_WPriority_LteSecond_TdThird (BYTE)17
#define Z_MmiaUmm_LtePriority_WSecond_TdThrid (BYTE)18
#define Z_MmiaUmm_LtePriority_TdSecond_WThird (BYTE)19
#define Z_MmiaUmm_TdPriority_WSecond_GsmThird (BYTE)20
#define Z_MmiaUmm_WPriority_TdSecond_GsmThird (BYTE)21
#define Z_MmiaUmm_TdPriority_GsmSecond_WThird (BYTE)22
#define Z_MmiaUmm_WPriority_GsmSecond_TdThird (BYTE)23
#define Z_MmiaUmm_GsmPriority_WSecond_TdThrid (BYTE)24
#define Z_MmiaUmm_GsmPriority_TdSecond_WThird (BYTE)25
/* ÊÇ·ñÖ§³ÖÂþÓÎ - roam*/
#define Z_MmiaUmm_NotSupportRoam (BYTE)0
#define Z_MmiaUmm_SupportRoam (BYTE)1
#define Z_MmiaUmm_RoamNochange (BYTE)2
/* ÓòÉèÖú궨Òå - srvdomain*/
#define Z_MmiaUmm_CsOnly (BYTE)0
#define Z_MmiaUmm_PsOnly (BYTE)1
#define Z_MmiaUmm_CsPs (BYTE)2
#define Z_MmiaUmm_Any (BYTE)3
#define Z_MmiaUmm_DomainNochange (BYTE)4
/* PS¸½×Å״̬ */
#define Z_MmiaUmm_CGATTSET_DETACH (BYTE)0
#define Z_MmiaUmm_CGATTSET_ATTACH (BYTE)1
/* CS¸½×Å״̬ */
#define Z_MmiaUmm_ZATTSET_DETACH (BYTE)0
#define Z_MmiaUmm_ZATTSET_ATTACH (BYTE)1
/*================ rf controlÖеIJÙ×÷ºê¶¨Òå =============================*/
/*#define ZPS_RF_ON (BYTE)0
#define ZPS_RF_OFF (BYTE)1 ¼ûpsCom.h */
#define Z_MmiaUmm_PwrOff (BYTE)2
/*================ CSGÁбí×î´ó¸öÊýºê¶¨Òå =============================*/
#define Z_MmiaUmm_MaxCsgNum (BYTE)10
/*================ CSGÑ¡Ôñģʽºê¶¨Òå =============================*/
#define Z_MmiaUmm_CsgMode_Off (BYTE)0
#define Z_MmiaUmm_CsgMode_Auto (BYTE)1
#define Z_MmiaUmm_CsgMode_Manu (BYTE)2
/*================ CSG״̬ºê¶¨Òå =============================*/
#define Z_MmiaUmm_CsgState_NotAlw (BYTE)0
#define Z_MmiaUmm_CsgState_Allowed (BYTE)1
#define Z_MmiaUmm_CsgState_Current (BYTE)2
/*================ +CEMODEºê¶¨Òå -ÓÃpscom.hÖеĺê=============================*/
/*================ Ôö¼ÓLTEÖÆÊ½ ===============================*/
#define Z_MmiaUmm_EUTRAN Z_LTE_ACT
/*================ LTEÖ§³ÖµÄ½ÓÈë¼¼Êõ ========================*/
#define Z_MmiaUmm_LTE_TDD_Only (BYTE)0 /*Ö»ËÑTDDƵ¶Î*/
#define Z_MmiaUmm_LTE_FDD_Only (BYTE)1 /*Ö»ËÑFDDƵ¶Î*/
#define Z_MmiaUmm_LTE_TDD_Pref (BYTE)2 /*FDDºÍFDDƵ¶Î¶¼ËÑ£¬TDDÓÅÏÈ*/
#define Z_MmiaUmm_LTE_FDD_Pref (BYTE)3 /*FDDºÍFDDƵ¶Î¶¼ËÑ£¬FDDÓÅÏÈ*/
/*================ IMS ×¢²á״̬===============================*/
#define Z_MmiaUmm_IMS_DEREGISTERED (BYTE)0 /*δע²á»ò×¢²áʧ°Ü*/
#define Z_MmiaUmm_IMS_REGISTERED (BYTE)1 /*ÒÑ×¢²á³É¹¦*/
/*================ ÓïÒôÓòÉèÖÃ ===============================*/
#define Z_MMIAUMM_VOICE_MODE_CS_ONLY (BYTE)0
#define Z_MMIAUMM_VOICE_MODE_VOIP_ONLY (BYTE)1
#define Z_MMIAUMM_VOICE_MODE_CS_PREF (BYTE)2
#define Z_MMIAUMM_VOICE_MODE_VOIP_PREF (BYTE)3
/*================ Ë«´ýPS״̬ÐÅÏ¢ ===============================*/
#define Z_MMIAUMM_PS_STATE_NULL (BYTE)0
#define Z_MMIAUMM_PS_STATE_AVAIL (BYTE)1 /* ps¿ÉÓÃ */
#define Z_MMIAUMM_PS_STATE_NOT_AVAIL (BYTE)2 /* ps²»¿ÉÓà */
/*================ Ö¸¶¨ÔËÓªÉÌ===============================*/
#define Z_MMIAUMM_PLMN_CHINAMOBILE (BYTE)1 /*ÖйúÒÆ¶¯*/
#define Z_MMIAUMM_PLMN_CHINAUNICOM (BYTE)2 /*ÖйúÁªÍ¨*/
#define Z_MMIAUMM_PLMN_CHINATELECOM (BYTE)3/*ÖйúµçÐÅ*/
/*================ UMMÉϱ¨SRVCCʼþ===============================*/
#define Z_MMIAUMM_SRVCC_START (BYTE)0
#define Z_MMIAUMM_SRVCC_SUCC (BYTE)1
#define Z_MMIAUMM_SRVCC_FAIL (BYTE)2
/*¶¨Ò嵱ǰÖÕ¶ËÖ§³ÖµÄeCallÀàÐÍ£¬¸ù¾Ý¿¨ÎļþÅжÏ*/
#define Z_ECALL_NOT_SPT (BYTE)0
#define Z_ECALL_SPT (BYTE)1
#define Z_ECALL_ONLY (BYTE)2
/*================ CEER´íÎóÂë===============================*/
#define Z_ATIUMM_InvalidPara (BYTE)0
#define Z_ATIUMM_IllegalMs (BYTE)103
#define Z_ATIUMM_IllegalMe (BYTE)106
#define Z_ATIUMM_GprsNotAllowd (BYTE)107
#define Z_ATIUMM_GprsAndNonGprsNotAllowd (BYTE)108
#define Z_ATIUMM_UeIdCannotBeDerivedByNet (BYTE)109
#define Z_ATIUMM_UeImplicitlyDetached (BYTE)110
#define Z_ATIUMM_PlmnNotAllowed (BYTE)111
#define Z_ATIUMM_LaNotAllowed (BYTE)112
#define Z_ATIUMM_RoamingNotAllowedInLa (BYTE)113
#define Z_ATIUMM_GprsNotAllowedInThePlmn (BYTE)114
#define Z_ATIUMM_NoSuitableCellInLa (BYTE)115
#define Z_ATIUMM_AuthRej (BYTE)116
#define Z_ATIUMM_AuthFailure (BYTE)117
#define Z_ATIUMM_ImeiNotAccept (BYTE)118
#define Z_ATIUMM_ImsiPaging (BYTE)119
#define Z_ATIUMM_MtDetachReattach (BYTE)120
#define Z_ATIUMM_UserDeactived (BYTE)121
#define Z_ATIUMM_Congestion (BYTE)122 //Congestion
#define Z_ATIUMM_EsmFailure (BYTE)123 //ESM failure
#define Z_ATIUMM_NoPdpContextActivated (BYTE)124 //No PDP context activated
#define Z_ATIUMM_NotAuthorizedForCsg (BYTE)125 //Not Authorized For This CSG
#define Z_ATIUMM_AttachLowerLayerFailOrRel (BYTE)126 //Attach Lower Layer Failure Or Release
#define Z_ATIUMM_T3410TimeOut (BYTE)127 //T3410 Time Out
#define Z_ATIUMM_ReqServiceNotAuthorized (BYTE)128 //Requested service option not authorized in this PLMN
#define Z_ATIUMM_ActiveDefaultEpsBearRej (BYTE)129 //Active Default Eps Bear Reject
#define Z_ATIUMM_AuthMacFail (BYTE)130 //Authentication Mac Failure
#define Z_ATIUMM_AuthSyncFail (BYTE)131 //Authentication Sync Failure
#define Z_ATIUMM_AuthNoneEps (BYTE)132 //Authentication None Eps parameter
#define Z_ATIUMM_MtDetachNoCause (BYTE)133 //Reattach not required and no cause
#define Z_ATIUMM_GetUeInfoFailure (BYTE)134 //Get Ue Information Failure
#define Z_ATIUMM_T3310TimeOut (BYTE)135 //T3310 Time Out
#define Z_ATIUMM_AuthUnacceptable (BYTE)136 //Authentication Unacceptable
#define Z_ATIUMM_AttachEstRej (BYTE)137 //Attach Establish Reject
#define Z_ATIUMM_UnSpecifiedGprsError (BYTE)148
#define Z_ATIUMM_NormalFailFiveTimes (BYTE)149 //Normal Fail Continuously Five Times
#define Z_ATIUMM_SemanticallyIncorMsg (BYTE)172 //Semantically incorrect message
#define Z_ATIUMM_InvalidMandatoryInfo (BYTE)173 //Invalid mandatory information
#define Z_ATIUMM_MsgTypeNoExsitOrImpl (BYTE)174 //Message type non-existent or not implemented
#define Z_ATIUMM_IENoExsitOrImpl (BYTE)175 //Information element non-existent or not implemented
#define Z_ATIUMM_ProtocolError (BYTE)176 //Protocol error, unspecified
#define Z_ATIUMM_MsgTypeNotCompWithProtocStat (BYTE)177 //Message type not compatible with the protocol state
#define Z_ATIUMM_ConditionalIEerr (BYTE)178 //Conditional IE error
#define Z_ATIUMM_MsgNotCompWithProtocStat (BYTE)179 //Message not compatible with the protocol state
#define Z_ATIUMM_MsgNormalWithNewCell_Err (BYTE)180 //retry upon entry into a new cell
#define Z_ATIUMM_UeSecurityCapaMismatch (BYTE)181 //UE security capabilities mismatch
#define Z_ATIUMM_Securitymoderejected (BYTE)182 //Security mode rejected, unspecified
#define Z_ATIUMM_TemperatureStart (BYTE)183 //οؿªÊ¼
#define Z_ATIUMM_TemperatureStop (BYTE)184 //οؽáÊø
#define Z_ATIUMM_GsmRfOnFail (BYTE)190 //GSM¿ªÉäÆµÊ§°Ü
#define Z_ATIUMM_GsmRfOffFail (BYTE)191 //GSM¹ØÉäÆµÊ§°Ü
#define Z_ATIUMM_WRfOnFail (BYTE)192 //W¿ªÉäÆµÊ§°Ü
#define Z_ATIUMM_WRfOffFail (BYTE)193 //W¹ØÉäÆµÊ§°Ü
#define Z_ATIUMM_LteRfOnFail (BYTE)194 //LTE¿ªÉäÆµÊ§°Ü
#define Z_ATIUMM_LteRfOffFail (BYTE)195 //LTE¹ØÉäÆµÊ§°Ü
/*============MMÄ£¿éCEER´íÎóÂë=============================== */
#define Z_ATIMM_ImsiUnknownInHlr (BYTE)2 //IMSI unknown in HLR
#define Z_ATIMM_IllegalMs (BYTE)3 //CS Domain Illegal MS
#define Z_ATIMM_ImsiUnkonwnInVlr (BYTE)4 //IMSI unknown in VLR
#define Z_ATIMM_ImeiNotAccepted (BYTE)5 //CS Domain IMEI not accepted
#define Z_ATIMM_IllegalMe (BYTE)6 //CS Domain Illegal ME
#define Z_ATIMM_PlmnNotAllowed (BYTE)11 //CS Domain PLMN not allowed
#define Z_ATIMM_LaNotAllowed (BYTE)12 //CS Domain Location Area not allowed
#define Z_ATIMM_RoamingNotAllowed (BYTE)13 //CS Domain Roaming not allowed in this location area
#define Z_ATIMM_NoSuitCellInLa (BYTE)15 //CS Domain No Suitable Cells In Location Area
#define Z_ATIMM_MscTempNotReachable (BYTE)16 //MSC temporarily not reachable
#define Z_ATIMM_NetFailre (BYTE)17 //CS Domain Network failure
#define Z_ATIMM_RetryInNewCell (BYTE)18 //CS Domain Retry InTo New Cell
#define Z_ATIMM_DefaultRejCause (BYTE)19 //CS Domain Default Reject Cause
#define Z_ATIMM_MacFailure (BYTE)20 //MAC failure
#define Z_ATIMM_SynchFailure (BYTE)21 //Synch failure
#define Z_ATIMM_Congestion (BYTE)22 //CS Domain Congestion
#define Z_ATIMM_GsmAuthUnaccept (BYTE)23 //GSM authentication unacceptable
#define Z_ATIMM_AuthReject (BYTE)24 //CS Domain Authentication Reject
#define Z_ATIMM_NotAuthorizedForThisCSG (BYTE)25 //Not authorized for this CSG
#define Z_ATIMM_CmSrvAbort (BYTE)30 //Cm Service Abortion
#define Z_ATIMM_SrvOptNotSupport (BYTE)32 //Service option not supported
#define Z_ATIMM_SrvOptNotSubscribed (BYTE)33 //Requested service option not subscribed
#define Z_ATIMM_SrvOptTempOutOfOder (BYTE)34 //Service option temporarily out of order
#define Z_ATIMM_CallNotIdentified (BYTE)38 //Call cannot be identified
#define Z_ATIMM_CsSrvTempNotAvailable (BYTE)39 //Extended service request procedure, CS service temporarily not available
#define Z_ATIMM_RrcEstCellResel (BYTE)40 //RRC Connection Establish Cell Reselection
#define Z_ATIMM_RrEstFailure (BYTE)41 //RRC Connection Establish Failure
#define Z_ATIMM_RandomAccessFail (BYTE)42 //Random Acess Failure
#define Z_ATIMM_LowLayerFail (BYTE)43 //LowLayer Failure
#define Z_ATIMM_GrrAbortInd (BYTE)44 //GRR Abort Indication
#define Z_ATIMM_PagingPending (BYTE)45 //Paging Pending
#define Z_ATIMM_RrRelPreemptive (BYTE)46 //RRC Connection Release Preemptive
#define Z_ATIMM_RrRelCongestion (BYTE)47 //RRC Connection Release Congestion
#define Z_ATIMM_RrRelReestRej (BYTE)48 //RRC Connection Release Reestablish Reject
#define Z_ATIMM_RrRelDirSigReest (BYTE)49 //RRC Connection Release Direct Signal Reestablish
#define Z_ATIMM_RrRelUserInact (BYTE)50 //RRC Connection Release User Inactive
#define Z_ATIMM_CsDomainNotAvailable (BYTE)51 //Combined EPS attach or TAU successful for EPS only, CS domain not available
#define Z_ATIMM_NormalFailNeedSearchPlmn (BYTE)52 //MM normal fail or network fail continuously 4 times, need search PLMN
#define Z_ATIMM_ImsiDetachByTheNetwork (BYTE)53 //MT detach, and the detach type is IMSI detach
#define Z_ATIMM_SemanticallyIncorrectMsg (BYTE)95 //Semantically incorrect message
#define Z_ATIMM_InvalidMandInfo (BYTE)96 //Invalid mandatory information
#define Z_ATIMM_MsgTypeNoExsitOrImplement (BYTE)97 //Message type non-existent or not implemented
#define Z_ATIMM_MsgTypeNotCompatProtocolState (BYTE)98 //Message not compatible with protocol state
#define Z_ATIMM_IENoExsitOrImplement (BYTE)99 //Information element non-existent or not implemented
#define Z_ATIMM_CondIeError (BYTE)100 //Conditional IE error
#define Z_ATIMM_MsgNotCompatProtocolState (BYTE)101 //Message not compatible with protocol state
#define Z_ATIMM_ProtocolError (BYTE)111 //Protocol error, unspecified
#define Z_ATIMM_UnspecifiedFail (BYTE)120 //Unspecified Failure
#define Z_ATIMM_RrcFailUnspecifiedFail (BYTE)121 //RRCÁ´Â·Ê§°Ü£¬·ÇÌØÊâÔ­Òò
#define Z_ATIMM_T3210Exipre (BYTE)123 //3210³¬Ê±
#define Z_ATIMM_T3213Exipre (BYTE)123 //3213³¬Ê±
#define Z_ATIMM_T3214_16Exipre (BYTE)124 //3214/3216³¬Ê±
#define Z_ATIMM_T3220Exipre (BYTE)125 //3220³¬Ê±
#define Z_ATIMM_T3230Exipre (BYTE)126 //3230³¬Ê±
#define Z_ATIMM_T3225Exipre (BYTE)127 //3225³¬Ê±
#define Z_ATIMM_T3231Exipre (BYTE)128 //3231³¬Ê±
#define Z_ATIMM_TwpgrExipre (BYTE)129 //Twpgr³¬Ê±
/*================ Ë«¿¨Ë«´ýÅжÏÁ½ÕÅ¿¨ÊÇ·ñÐèÒª½»»»===============================*/
#define Z_NO_NEED_CHANGE (BYTE)0
#define Z_NEED_CHANGE (BYTE)1
#define Z_NEED_USER_DECIDE (BYTE)2
#define Z_ATIUMM_MAX_EMERNUM_DIGIT_NUM (BYTE)8
#define Z_ATIUMM_MAX_EMERNUM_NUM (BYTE)10
#define Z_ATIUMM_MAX_TXTSTR_NUM (BYTE)218
#define Z_ATIUMM_MAX_LSAID_NUM (BYTE)3
#define Z_MMIASM_MAX_CID_NUM Z_DEV_AtMem_MAX_CID_NUM /* ×î´óCID¸öÊý */
#define Z_MMIASM_IPV4_ADDR_MAX_LEN (BYTE)4 /* IPV4µØÖ·×î´ó³¤¶È*/
#define Z_MMIASM_IPV6_ADDR_MAX_LEN (BYTE)16 /* IPV6µØÖ·×î´ó³¤¶È*/
#define Z_MMIASM_ADDR_MAX_LEN (BYTE)Z_MMIASM_IPV6_ADDR_MAX_LEN /* PDPµØÖ·×î´ó³¤¶È */
#define Z_MMIASM_APN_MAX_LEN (BYTE)100 /* APN×î´ó³¤¶È */
#define Z_MMIASM_PCO_ITEM_VAL_MAX_LEN (BYTE)134 /* PCOÐÅÏ¢µ¥ÔªÄÚÈÝ×î´ó³¤¶È */
#define Z_MMIASM_PCO_PROT_ITEM_MAX_NUM (BYTE)6 /* PCOЭÒéÐÅÏ¢µ¥Ôª×î´ó¸öÊý */
#define Z_MMIASM_PCO_PARA_ITEM_MAX_NUM (BYTE)13 /* PCO¸½¼Ó²ÎÊýµ¥Ôª×î´ó¸öÊý */
#define Z_MMIASM_MAX_PDPADDR_MASK_LEN (BYTE)32
#define Z_MMIASM_MAX_FILTER_ID (BYTE)16
/* PDPÀàÐÍ */
#define Z_MMIASM_PPP (BYTE)0X01 /* PPPÀàÐÍ */
#define Z_MMIASM_IPV4 (BYTE)0X21 /* IPv4ÀàÐÍ */
#define Z_MMIASM_IPV6 (BYTE)0X57 /* IPv6ÀàÐÍ */
#define Z_MMIASM_IPV4V6 (BYTE)0X8D /* IPv4v6ÀàÐÍ */
/* ʧ°ÜÔ­Òò¶¨Òå */
#define Z_MMIASM_MEM_FAIL (DWORD)23
#define Z_MMIASM_PDP_HANDLE_BUSY (DWORD)114
#define Z_MMIASM_PDP_HANDLE_ABORT (DWORD)115
#define Z_MMIASM_PDP_ADDRESS_TYPE_UNKNOW (DWORD)128
#define Z_MMIASM_SRV_NOT_SPT (DWORD)132
#define Z_MMIASM_SRV_NOT_SUB (DWORD)133
#define Z_MMIASM_SRV_OUTOF_ORDER (DWORD)134
#define Z_MMIASM_UNSPEC_GPRS_ERR (DWORD)148
#define Z_MMIASM_PDP_AUTH_FAIL (DWORD)149
#define Z_MMIASM_LAST_PDN_NOT_DEACT (DWORD)151
/* MT PDP¼¤»îÓ¦´ðÀàÐÍ */
#define Z_MMIASM_MT_ACT_REJ (BYTE)0 /* ¾Ü¾øÍøÂç²à¼¤»îÇëÇó */
#define Z_MMIASM_MT_ACT_ACC (BYTE)1 /* ½ÓÊÜÍøÂç²à¼¤»îÇëÇó */
/* ½á¹ûÂ붨Òå */
#define Z_MMIASM_RESULT_CODE_OK (BYTE)0
#define Z_MMIASM_RESULT_CODE_ERROR (BYTE)1
#define Z_MMIASM_RESULT_CODE_NO_CARRIER (BYTE)2
#define Z_MMIASM_RESULT_CODE_CONNECT (BYTE)3
/* CGEVʼþÀàÐÍ */
#define Z_MMIASM_CGEV_ME_PRI_PDN_ACT (BYTE)0
#define Z_MMIASM_CGEV_NW_PRI_PDN_DEACT (BYTE)1
#define Z_MMIASM_CGEV_ME_PRI_PDN_DEACT (BYTE)2
#define Z_MMIASM_CGEV_NW_PRI_PDN_ACT (BYTE)3
#define Z_MMIASM_CGEV_NW_MODIFY (BYTE)4
#define Z_MMIASM_CGEV_ME_MODIFY (BYTE)5
#define Z_MMIASM_CGEV_NW_SEC_PDN_ACT (BYTE)6
#define Z_MMIASM_CGEV_ME_SEC_PDN_ACT (BYTE)7
#define Z_MMIASM_CGEV_NW_SEC_PDN_DEACT (BYTE)8
#define Z_MMIASM_CGEV_ME_SEC_PDN_DEACT (BYTE)9
#define Z_MMIASM_CGEV_MT_ACT_REJ (BYTE)10
#define Z_MMIASM_CGEV_NW_REACT (BYTE)11
#define Z_MMIASM_CGEV_CHNG_TFT (BYTE)1
#define Z_MMIASM_CGEV_CHNG_QOS (BYTE)2
#define Z_MMIASM_CGEV_CHNG_TFT_AND_QOS (BYTE)3
#define Z_MMIASM_CGEV_EVENT_TYPE_INFO (BYTE)0
#define Z_MMIASM_CGEV_EVENT_TYPE_ACKREQ (BYTE)1
#define Z_MMIASM_CGEV_TYPE_PRI_PDN_IND (BYTE)0
#define Z_MMIASM_CGEV_TYPE_MODIFY_IND (BYTE)1
#define Z_MMIASM_CGEV_TYPE_SEC_PDN_IND (BYTE)2
#define Z_MMIASM_CGEV_TYPE_OTHER_IND (BYTE)3
/* ÊÇ·ñÖ»Õë¶ÔIPµÄ±ê־λȡֵ */
#define Z_MMIASM_IP_PPP (BYTE)0
#define Z_MMIASM_ONLY_IP (BYTE)1
/* ÉϲãͨµÀ״̬ȡֵ */
#define Z_MMIASM_CH_IDLE (BYTE)0
#define Z_MMIASM_CH_BUSY (BYTE)1
/* ATÃüÁîÀàÐÍ */
#define Z_MMIASM_CMD_CGCMOD (BYTE)0
#define Z_MMIASM_CMD_ZQNEG (BYTE)1
#define Z_MMIASM_CMD_CGEQNEG (BYTE)2
#define Z_MMIASM_CMD_CGDSCONT (BYTE)3
#define Z_MMIASM_CMD_CGCONTRDP (BYTE)4
#define Z_MMIASM_CMD_CGSCONTRDP (BYTE)5
#define Z_MMIASM_CMD_CGTFTRDP (BYTE)6
#define Z_MMIASM_CMD_CGEQOSRDP (BYTE)7
/* MMIAÓëSM/ESM½Ó¿Ú£¬Çø·Ö²»Í¬ATÃüÁî´¥·¢ */
#define Z_MMIASM_ATCMD_CGACT (BYTE)0
#define Z_MMIASM_ATCMD_ZGACT (BYTE)1
/* +CPSB <curr_bearer> ºê¶¨Òå*/
#define Z_MMIASM_PDP_CURR_BEARER_NO_BEARER (BYTE)0
#define Z_MMIASM_PDP_CURR_BEARER_GPRS (BYTE)1
#define Z_MMIASM_PDP_CURR_BEARER_EGPRS (BYTE)2
#define Z_MMIASM_PDP_CURR_BEARER_NON_HSUPA_UP_NON_HSDPA_DOWN (BYTE)3
#define Z_MMIASM_PDP_CURR_BEARER_HSUPA_UP_NON_HSDPA_DOWN (BYTE)4
#define Z_MMIASM_PDP_CURR_BEARER_NON_HSUPA_UP_HSDPA_DOWN (BYTE)5
#define Z_MMIASM_PDP_CURR_BEARER_HSUPA_UP_HSDPA_DOWN (BYTE)6
#define Z_MMIASM_PDP_CURR_BEARER_EPS (BYTE)7
#define Z_MMIASM_PDP_ACT_CAUSE_IPV4_ONLY_ALLOWED (BYTE)50
#define Z_MMIASM_PDP_ACT_CAUSE_IPV6_ONLY_ALLOWED (BYTE)51
#define Z_MMIASM_PDP_ACT_CAUSE_SINGLE_ADDR_ONLY_ALLOWED (BYTE)52
/*ZGPCOAUTH <auth_type>ºê¶¨Òå*/
#define Z_MMIASM_PDP_AUTH_TYPE_NONE (BYTE)0
#define Z_MMIASM_PDP_AUTH_TYPE_PAP (BYTE)1
#define Z_MMIASM_PDP_AUTH_TYPE_CHAP (BYTE)2
#define Z_MMIASM_PDP_AUTH_TYPE_PAPCHAP (BYTE)3
/*T_zMmiaSm_Notification_IndÖÐbNotificationIndºêÖµ*/
#define Z_MMIASM_SRVCC_HANDOVER_CANCEL_IMS_REESTABLISHMENT (BYTE)1
#define Z_MMIASM_MSISDN_LEN (BYTE)15
/* PSÒµÎñ°áǨÉÏÏÂÎÄָʾ */
#define Z_MMIASM_CONTEXT_NULL (BYTE)0 /* ÎÞÉÏÏÂÎÄ */
#define Z_MMIASM_CONTEXT_ESM_VALID (BYTE)1 /* ESMÉÏÏÂÎÄÓÐЧ */
#define Z_MMIASM_CONTEXT_SM_VALID (BYTE)2 /* SMÉÏÏÂÎÄÓÐЧ */
#define Z_MMIAESM_MAX_PF_NUM (BYTE)16 /*Packet FilterµÄÊýÄ¿*/
#define Z_MMIAESM_MAX_CID_NUM Z_DEV_AtMem_MAX_CID_NUM /* ×î´óCID¸öÊý */
#define Z_MMIAESM_ADDR_MAX_LEN (BYTE)16 /* PDPµØÖ·×î´ó³¤¶È */
#define Z_MMIAESM_APN_MAX_LEN (BYTE)100 /* APN×î´ó³¤¶È */
/*PDN TYPE*/
#define Z_MMIAESM_IPV4 (BYTE)0x21 /* IPv4ÀàÐÍ */
#define Z_MMIAESM_IPV6 (BYTE)0x57 /* IPv6ÀàÐÍ */
#define Z_MMIAESM_IPV4V6 (BYTE)0x8D /* IPv4v6ÀàÐÍ */
/* MT רÓü¤»îÇëÇóÓ¦´ðÀàÐÍ */
#define Z_MMIAESM_MT_DED_ACT_REJ (BYTE)0 /* Óû§¾Ü¾øÍøÂç²àרÓü¤»îÇëÇó */
#define Z_MMIAESM_MT_DED_ACT_ACC (BYTE)1 /* Óû§½ÓÊÜÍøÂç²àרÓü¤»îÇëÇó */
/* ´¥·¢²éѯEPS³ÐÔØÉÏÏÂÎĵÄÔ­Òò */
#define Z_MMIAESM_EPS_STATUS_CGACT (BYTE)0 /*+CGACT²éѯÃüÁî´¥·¢µÄ²éѯ*/
/* +CGEVÖ÷¶¯Éϱ¨Ê±Éϱ¨µÄ¸üÐÂÔ­Òò*/
#define Z_MMIAESM_MOD_REASON_TFT_ONLY (BYTE)1
#define Z_MMIAESM_MOD_REASON_QOS_ONLY (BYTE)2
#define Z_MMIAESM_MOD_REASON_TFT_AND_QOS (BYTE)3
/* +CGEVÖ÷¶¯Éϱ¨Ê±³ÐÔØÊÇ·ñΪĬÈϳÐÔØµÄ±êʶ*/
#define Z_MMIAESM_CGEV_PDN_CON (BYTE)1
#define Z_MMIAESM_CGEV_DED_BEARER (BYTE)0
/* ½á¹ûÂ붨Òå */
#define Z_MMIAESM_RESULT_CODE_OK (BYTE)0
#define Z_MMIAESM_RESULT_CODE_ERROR (BYTE)1
#define Z_MMIAESM_RESULT_CODE_NO_CARRIER (BYTE)2
#define Z_MMIAESM_RESULT_CODE_CONNECT (BYTE)3
/* ÉϲãͨµÀ״̬ȡֵ */
#define Z_MMIAESM_CH_IDLE (BYTE)0
#define Z_MMIAESM_CH_BUSY (BYTE)1
#define Z_MMIAESM_CMD_WITHOUTCID (BYTE)0
#define Z_MMIAESM_CMD_WITHCID (BYTE)1
#define Z_MMIAESM_IPV4_ADDR_LENGTH (BYTE)4
#define Z_MMIAESM_IPV6_ADDR_LENGTH (BYTE)16
/*==================================CEER ´íÎóÂë================================*/
/*24301 Any other value received by the UE shall be treated as 0010 0010, "service option temporarily out of order". */
#define Z_APMMIA_CEER_ESM_EPDCP_FAILURE (DWORD)0x05/* EPDCP failure */
#define Z_APMMIA_CEER_ESM_OPERATOR_DETERMINED_BARRING (DWORD)0x08/* Operator Determined Barring */
#define Z_APMMIA_CEER_ESM_INSUFFICIENT_RESOURCES (DWORD)0x1A/* Insufficient resources */
#define Z_APMMIA_CEER_ESM_UNKNOWN_MISSING_APN (DWORD)0x1B/* Unknown or missing APN */
#define Z_APMMIA_CEER_ESM_UNKNOWN_PDP_TYPE (DWORD)0x1C/* Unknown PDN type */
#define Z_APMMIA_CEER_ESM_USER_AUTHENTICATION_FAILED (DWORD)0x1D/* User authentication failed */
#define Z_APMMIA_CEER_ESM_ACTIVATION_REJECT_GW (DWORD)0x1E/* Request rejected by Serving GW or PDN GW */
#define Z_APMMIA_CEER_ESM_ACTIVATION_REJECT_UNSPECIFIED (DWORD)0x1F/* Activation rejected, unspecified */
#define Z_APMMIA_CEER_ESM_SRV_OPTION_NOT_SUPPORTED (DWORD)0x20/* Service option not supported */
#define Z_APMMIA_CEER_ESM_REQUESTED_SRV_OPTION_NOT_SUB (DWORD)0x21/* Requested service option not subscribed */
#define Z_APMMIA_CEER_ESM_SRV_OPTION_OUTOF_ORDER (DWORD)0x22/* Service option temporarily out of order */
#define Z_APMMIA_CEER_ESM_PTI_IN_USED (DWORD)0x23/* PTI already in use */
#define Z_APMMIA_CEER_ESM_REGULAR_DEACTIVATION (DWORD)0x24/* Regular deactivation */
#define Z_APMMIA_CEER_ESM_EPSQOS_NOT_ACCEPTED (DWORD)0x25/* EPS QoS not accepted */
#define Z_APMMIA_CEER_ESM_NETWORK_FAILURE (DWORD)0x26/* Network failure */
#define Z_APMMIA_CEER_ESM_REACTIVATION_REQUIRED (DWORD)0x27/* Reactivation required */
#define Z_APMMIA_CEER_ESM_SEMANTIC_ERROR_TFT_OPERATION (DWORD)0x29/* Semantic error in the TFT operation */
#define Z_APMMIA_CEER_ESM_SYNTACTICAL_ERROR_TFT_OPERATION (DWORD)0x2A/* Syntactical error in the TFT operation */
#define Z_APMMIA_CEER_ESM_INVALID_EPS_BEARER_IDENTITY (DWORD)0x2B/* Invalid EPS bearer identity */
#define Z_APMMIA_CEER_ESM_SEMANTIC_ERROR_FILTER (DWORD)0x2C/* Semantic errors in packet filter(s) */
#define Z_APMMIA_CEER_ESM_SYNTACTICAL_ERROR_FILTER (DWORD)0x2D/* Syntactical errors in packet filter */
#define Z_APMMIA_CEER_ESM_PTI_MISMATCH (DWORD)0x2F/*PTI mismatch */
#define Z_APMMIA_CEER_ESM_LAST_PDN_DISCONNECTION_NOT_ALLOWED (DWORD)0x31/*Last PDN disconnection not allowed */
#define Z_APMMIA_CEER_ESM_PDN_TYPE_IPV4_ONLY_ALOOWED (DWORD)0x32/*PDN type IPv4 only allowed */
#define Z_APMMIA_CEER_ESM_PDN_TYPE_IPV6_ONLY_ALOOWED (DWORD)0x33/*PDN type IPv6 only allowed */
#define Z_APMMIA_CEER_ESM_SINGLE_ADDRESS_BEARERS_ONLY_ALOOWED (DWORD)0x34/*Single address bearers only allowed */
#define Z_APMMIA_CEER_ESM_ESM_INFORMATION_NOT_RECEIVED (DWORD)0x35/*ESM information not received */
#define Z_APMMIA_CEER_ESM_PDN_CONNECTION_NOT_EXIST (DWORD)0x36/*PDN connection does not exist */
#define Z_APMMIA_CEER_ESM_MUL_PDN_CONNECTIONS_NOT_ALOOWED_FOR_APN (DWORD)0x37/*Multiple PDN connections for a given APN not allowed*/
#define Z_APMMIA_CEER_ESM_COLLISION_WITH_NETWORK_INITIAED_REQ (DWORD)0x38/*Collision with network initiated request*/
#define Z_APMMIA_CEER_ESM_UNSUPPORTED_QCI_VALUE (DWORD)0x3B/*Unsupported QCI value*/
#define Z_APMMIA_CEER_ESM_BEARER_HANDLING_NOT_SUPPORTED (DWORD)0x3C/*Bearer handling not supported*/
#define Z_APMMIA_CEER_ESM_MAXNUM_EPS_BEARERS_REACHED (DWORD)0x41/* Maximum number of EPS bearers reached */
#define Z_APMMIA_CEER_ESM_REQUEST_APN_NOT_SUPPORT_IN_CURRENT_RAT_PLMN (DWORD)0x42/* Requested APN not supported in current RAT and PLMN combination */
#define Z_APMMIA_CEER_ESM_INVALID_PTI_VALUE (DWORD)0x51/* Invalid PTI value */
#define Z_APMMIA_CEER_ESM_SEMANTICLY_INCORRECT_MESSAGE (DWORD)0x5F/* Semantically incorrect message */
#define Z_APMMIA_CEER_ESM_INVALID_MANDATORY_INFORMATION (DWORD)0x60/* Invalid mandatory information */
#define Z_APMMIA_CEER_ESM_MSG_TYPE_NONEXIST_NOT_IMPLEMENTED (DWORD)0x61/* Message type non-existent or not implemented */
#define Z_APMMIA_CEER_ESM_MSG_TYPE_NOT_COMPATIBLE (DWORD)0x62/* Message type not compatible with the protocol state */
#define Z_APMMIA_CEER_ESM_INFO_NONEXIST_NOT_IMPLEMENTED (DWORD)0x63/* Information element non-existent or not implemented */
#define Z_APMMIA_CEER_ESM_CONDITIONAL_IE_ERROR (DWORD)0x64/* Conditional IE error */
#define Z_APMMIA_CEER_ESM_MESSAGE_NOT_COMPATIBLE (DWORD)0x65/* Message not compatible with the protocol state */
#define Z_APMMIA_CEER_ESM_PROTOCOL_ERROR_UNSPECIFIED (DWORD)0x6F/* Protocol error, unspecified */
#define Z_APMMIA_CEER_ESM_APN_VALUE_INCOMPATIBLE_ACTIVE_EPS_BEARER (DWORD)0x70/* APN restriction value incompatible with active EPS bearer context*/
#define Z_APMMIA_CEER_ESM_MULTIPLE_ACCESSES_APN_NOT_ALLOW (DWORD)0x71/* Multiple accesses to a PDN connection not allowed */
#define Z_APMMIA_CEER_ESM_PDP_HANDLE_ABORT (DWORD)0xD0/* Abort by user */
#define Z_APMMIA_CEER_ESM_PDP_HANDLE_FAIL (DWORD)0xD1/* Handle failure */
#define Z_APMMIA_CEER_ESM_EPS_BEARER_LOCAL_DEACTIVE (DWORD)0xD2/* Eps Bearer Local deactive */
#define Z_APMMIA_CEER_ESM_PDP_NO_SUITABLE_CID (DWORD)0xD3/* No suitable cid*/
#define Z_APMMIA_CEER_ESM_EMERGENCY_ACT_NOT_ALLOW (DWORD)0xD4/*Emergency activation not allowed or emergency bear existent already*/
#define Z_APMMIA_CEER_ESM_L3_MSG_TIMER_FIFTH_EXPIRY (DWORD)0xD5/*L3 message timer fifth expiry*/
#define Z_APMMIA_CEER_ESM_PDP_NOAPN_INACL (DWORD)0xD6/*No APN or APN in ACL*/
#define Z_APMMIA_CEER_ESM_DEACT_ALL_PDN_CONN_NOT_ALLOW (DWORD)0xD7/*Deactive all PDN connection is not allowed*/
#define ZSTM_STORAGE_ID_PB_DC (BYTE)0
#define ZSTM_STORAGE_ID_PB_EN (BYTE)1
#define ZSTM_STORAGE_ID_PB_FD (BYTE)2
#define ZSTM_STORAGE_ID_PB_LD (BYTE)3
#define ZSTM_STORAGE_ID_PB_MC (BYTE)4
#define ZSTM_STORAGE_ID_PB_ME (BYTE)5
#define ZSTM_STORAGE_ID_PB_MT (BYTE)6
#define ZSTM_STORAGE_ID_PB_ON (BYTE)7
#define ZSTM_STORAGE_ID_PB_RC (BYTE)8
#define ZSTM_STORAGE_ID_PB_SM (BYTE)9
#define ZSTM_STORAGE_ID_PB_TA (BYTE)10
#define ZSTM_STORAGE_ID_PB_AP (BYTE)11
#define ZSTM_STORAGE_ID_PBMAX (BYTE)12
#define ZSTM_STORAGE_ID_PBINVALID (BYTE)ZSTM_STORAGE_ID_PBMAX
#define ZATI2_ECC_MAXNUM 8
#define ZATI2_CPMSMEM_USIM_MAX_NUM 300
/*
* fac(CLCK, CPWD) TS 27.007
* ¶ÔÓÚSSÀ´Ëµ£¬Ö»Ê¹ÓÃAO, OI, OX, AI, IR, AB, AG, AC
*/
#define Z_APMMIA_FACVALUE_CS (BYTE)0
#define Z_APMMIA_FACVALUE_PS (BYTE)1
#define Z_APMMIA_FACVALUE_PF (BYTE)2
#define Z_APMMIA_FACVALUE_SC (BYTE)3 /*ÔÚCPWDÖжÔӦΪZPS_ApUicc_PIN1TYPE*/
#define Z_APMMIA_FACVALUE_AO (BYTE)4
#define Z_APMMIA_FACVALUE_OI (BYTE)5
#define Z_APMMIA_FACVALUE_OX (BYTE)6
#define Z_APMMIA_FACVALUE_AI (BYTE)7
#define Z_APMMIA_FACVALUE_IR (BYTE)8
#define Z_APMMIA_FACVALUE_NT (BYTE)9
#define Z_APMMIA_FACVALUE_NM (BYTE)10
#define Z_APMMIA_FACVALUE_NS (BYTE)11
#define Z_APMMIA_FACVALUE_NA (BYTE)12
#define Z_APMMIA_FACVALUE_AB (BYTE)13
#define Z_APMMIA_FACVALUE_AG (BYTE)14
#define Z_APMMIA_FACVALUE_AC (BYTE)15
#define Z_APMMIA_FACVALUE_FD (BYTE)16
#define Z_APMMIA_FACVALUE_PN (BYTE)17
#define Z_APMMIA_FACVALUE_PU (BYTE)18
#define Z_APMMIA_FACVALUE_PP (BYTE)19
#define Z_APMMIA_FACVALUE_PC (BYTE)20
#define Z_APMMIA_FACVALUE_P2 (BYTE)21 /*ÔÚCPWDÖжÔӦΪZPS_ApUicc_PIN2TYPE*/
/* ´æ´¢¹ÜÀíÄ£¿éÅжϺÅÂëµÄÀàÐÍ */
#define Z_APMMIA_NUMTYPE_UNALLOWCALL_BDN (BYTE)0 /*²»ÔÊÐíºô½Ð*/
#define Z_APMMIA_NUMTYPE_UNALLOWCALL_FDN (BYTE)1 /*²»ÔÊÐíºô½Ð*/
#define Z_APMMIA_NUMTYPE_ECCCALL (BYTE)2 /*½ô¼±ºÅÂëºô½Ð */
#define Z_APMMIA_NUMTYPE_NORMCALL (BYTE)3 /*ÆÕͨºô½Ð*/
#define Z_APMMIA_NUMTYPE_UNKNOWN (BYTE)4 /* δ֪ºÅÂëÀàÐÍ*/
#define Z_APMMIA_NUMTYPE_ECCINFDN (BYTE)5
#define Z_APMMIA_NUMTYPE_ECCNOTINFDN (BYTE)6
/*Ò»°ã´íÎóÂ룬¶ÔÓ¦27007 9.2.1*/
#define Z_APMMIA_PHONEFAIL_ERR (DWORD)0
#define Z_APMMIA_NOCONNTOPHONE_ERR (DWORD)1
#define Z_APMMIA_PHONEADPTLINKRESVED_ERR (DWORD)2
#define Z_APMMIA_OPTNOTALW_ERR (DWORD)3
#define Z_APMMIA_OPTNOTSPT_ERR (DWORD)4
#define Z_APMMIA_PHSIMPINREQUIRED_ERR (DWORD)5
#define Z_APMMIA_PHFSIMPINREQUIRED_ERR (DWORD)6
#define Z_APMMIA_PHSIMPUKREQUIRED_ERR (DWORD)7
#define Z_APMMIA_NOSIM_ERR (DWORD)10
#define Z_APMMIA_NEEDPIN_ERR (DWORD)11
#define Z_APMMIA_NEEDPUK_ERR (DWORD)12
#define Z_APMMIA_SIMFAILURE_ERR (DWORD)13
#define Z_APMMIA_SIMBUSY_ERR (DWORD)14
#define Z_APMMIA_SIMWRONG_ERR (DWORD)15
#define Z_APMMIA_INCRCTPWDERR (DWORD)16
#define Z_APMMIA_NEEDPIN2_ERR (DWORD)17
#define Z_APMMIA_NEEDPUK2_ERR (DWORD)18
#define Z_APMMIA_MEMFULL_ERR (DWORD)20
#define Z_APMMIA_INVALIDINDEX_ERR (DWORD)21
#define Z_APMMIA_NOTFOUND_ERR (DWORD)22
#define Z_APMMIA_NVFAILURE_ERR (DWORD)23
#define Z_APMMIA_TEXTSTRTOOLONG_ERR (DWORD)24
#define Z_APMMIA_INVALIDTEXTCHAR_ERR (DWORD)25
#define Z_APMMIA_DIALSTRTOOLONG_ERR (DWORD)26
#define Z_APMMIA_INVALIDDIALCHAR_ERR (DWORD)27
#define Z_APMMIA_NONETSRV_ERR (DWORD)30
#define Z_APMMIA_NETTIMOUT_ERR (DWORD)31
#define Z_APMMIA_NETNOTALLOWED_ERR (DWORD)32
#define Z_APMMIA_NETPERPINREQ_ERR (DWORD)40
#define Z_APMMIA_NETPERPUKREQ_ERR (DWORD)41
#define Z_APMMIA_NETSUBPERPINREQ_ERR (DWORD)42
#define Z_APMMIA_NETSUBPERPUKREQ_ERR (DWORD)43
#define Z_APMMIA_SERPROPERPINREQ_ERR (DWORD)44
#define Z_APMMIA_SERPROPERPUKREQ_ERR (DWORD)45
#define Z_APMMIA_CONPROPINREQ_ERR (DWORD)46
#define Z_APMMIA_CONPROPUKREQ_ERR (DWORD)47
#define Z_APMMIA_HIDDENKEYREQ_ERR (DWORD)48
#define Z_APMMIA_EAPMETHODNOTSUPPORT_ERR (DWORD)49
#define Z_APMMIA_UNKNOWN_ERR (DWORD)100
/* additional +CMS ERROR:<err> failure cause define.27005 3.2.5 */
#define Z_APMMIA_CMSSMSSVCRSV_ERR (DWORD)301
#define Z_APMMIA_CMSMEFAILURE_ERR (DWORD)300
#define Z_APMMIA_CMSOPTNOTALLOW_ERR (DWORD)302
#define Z_APMMIA_CMSOPTNOTSPT_ERR (DWORD)303
#define Z_APMMIA_CMSINVALIDPDUPARA_ERR (DWORD)304
#define Z_APMMIA_CMSINVALIDTEXTPARA_ERR (DWORD)305
#define Z_APMMIA_CMSUSIMNOTINSERT_ERR (DWORD)310
#define Z_APMMIA_CMSUSIMPINREQ_ERR (DWORD)311
#define Z_APMMIA_CMSPHUSIMPINREQ_ERR (DWORD)312
#define Z_APMMIA_CMSUSIMFAIL_ERR (DWORD)313
#define Z_APMMIA_CMSUSIMBUSY_ERR (DWORD)314
#define Z_APMMIA_CMSUSIMWRONG_ERR (DWORD)315
#define Z_APMMIA_CMSUSIMPUKREQ_ERR (DWORD)316
#define Z_APMMIA_CMSUSIMPIN2REQ_ERR (DWORD)317
#define Z_APMMIA_CMSUSIMPUK2REQ_ERR (DWORD)318
#define Z_APMMIA_CMSMEMFAIL_ERR (DWORD)320
#define Z_APMMIA_CMSINVALIDMEM_ERR (DWORD)321
#define Z_APMMIA_CMSMEMFULL_ERR (DWORD)322
#define Z_APMMIA_CMSSCAUNKNOWN_ERR (DWORD)330
#define Z_APMMIA_CMSNONETWORKSVC_ERR (DWORD)331
#define Z_APMMIA_CMSNETWORKTIMEOUT_ERR (DWORD)332
#define Z_APMMIA_CMSNOCNMAACK_ERR (DWORD)340
#define Z_APMMIA_CMSUNKNOWN_ERR (DWORD)500 /* other values are reserved.*/
#define Z_APMMIA_CMSMOABORTOK_ERR (DWORD)501 /* MO SM aborted ok*/
#define Z_APMMIA_CMSNOTMATCH_ERR (DWORD)502
/* SMSʧ°ÜÔ­Òò 24011 23040 27005 */
/* AT Command failuer define,value map to <err> in +CMS ERROR:<err>.*/
/* RP Layer failuer cause define. 24011 cause E2*/
#define Z_APMMIA_RPUNASSIGNEDNUM_ERR (DWORD)1 /* for MO.*/
#define Z_APMMIA_RPOPERATORDETREMBAR_ERR (DWORD)8 /* for MO.*/
#define Z_APMMIA_RPCALLBARRED_ERR (DWORD)10 /* for MO.*/
#define Z_APMMIA_RPSMTRANSFERREJ_ERR (DWORD)21 /* for MO.*/
#define Z_APMMIA_RPMEMCAPACEXCEED_ERR (DWORD)22 /* for MT.*/
#define Z_APMMIA_RPDESTINATIONOUTOFORDER_ERR (DWORD)27 /* for MO.*/
#define Z_APMMIA_RPUNIDENTISUBSCRIBER_ERR (DWORD)28 /* for MO.*/
#define Z_APMMIA_RPFACILITYREJ_ERR (DWORD)29 /* for MO.*/
#define Z_APMMIA_RPUNKNOWNSUBSCRIBER_ERR (DWORD)30 /* for MO,SMMA.*/
#define Z_APMMIA_RPNETWORKOUTOFORDER_ERR (DWORD)38 /* for MO,SMMA.*/
#define Z_APMMIA_RPTEMPORARYFAILURE_ERR (DWORD)41 /* for MO,SMMA.*/
#define Z_APMMIA_RPCONGESTION_ERR (DWORD)42 /* for MO,SMMA.*/
#define Z_APMMIA_RPRSCUNAVAILABLE_ERR (DWORD)47 /* for MO,SMMA.*/
#define Z_APMMIA_RPFACNOTSUB_ERR (DWORD)50 /* for MO.*/
#define Z_APMMIA_RPFACNOTIMP_ERR (DWORD)69 /* for MO,SMMA.*/
#define Z_APMMIA_RPINVALIDSMMR_ERR (DWORD)81 /* for MO,MT.*/
#define Z_APMMIA_RPINCORRECTMSG_ERR (DWORD)95 /* for MO,SMMA,MT.*/
#define Z_APMMIA_RPINVALIDMANDAINFO_ERR (DWORD)96 /* for MO,SMMA,MT.*/
#define Z_APMMIA_RPMSGTYPENOTEXIST_ERR (DWORD)97 /* for MO,SMMA,MT.*/
#define Z_APMMIA_RPMSGNOTCMPPROSTATE_ERR (DWORD)98 /* for MO,SMMA,MT.*/
#define Z_APMMIA_RPIENOTEXIST_ERR (DWORD)99 /* for MO,SMMA,MT.*/
#define Z_APMMIA_RPPROTOCOL_ERR (DWORD)111 /* for MO,SMMA,MT.*/
#define Z_APMMIA_RPINTERWORKING_ERR (DWORD)127 /* for MO,SMMA.*/
/*
* in MO & SNMA :other values are treated as 41# .
* in MT :other values are treated as 111#.
*/
/* TP Layer failure cause define. 23040 9.2.3.22*/
#define Z_APMMIA_TPTELEINTERWORKINGNOTSPT_ERR (DWORD)128 /* for MO.*/
#define Z_APMMIA_TPSMTYPE0NOTSPT_ERR (DWORD)129 /* for MO,MT.*/
#define Z_APMMIA_TPCANTREPLACESM_ERR (DWORD)130 /* for MO,MT*/
#define Z_APMMIA_TPID_ERR (DWORD)143 /* for MO,MT*/
#define Z_APMMIA_TPDCSNOTSPT_ERR (DWORD)144 /* for MO.*/
#define Z_APMMIA_TPMSGCLASSNOTSPT_ERR (DWORD)145 /* for MT.*/
#define Z_APMMIA_TPDCS_ERR (DWORD)159 /* for MO,MT*/
#define Z_APMMIA_TPCOMMANDCANTACT_ERR (DWORD)160 /* for MO.*/
#define Z_APMMIA_TPCOMMANDUNSUPPORTED_ERR (DWORD)161 /* for MO.*/
#define Z_APMMIA_TPCOMMAND_ERR (DWORD)175 /* for MO.*/
#define Z_APMMIA_TPTPDUNOTSPT_ERR (DWORD)176 /* for MO,MT.*/
#define Z_APMMIA_TPSCBUSY_ERR (DWORD)192 /* for MO.*/
#define Z_APMMIA_TPNOSCSUB_ERR (DWORD)193 /* for MO.*/
#define Z_APMMIA_TPSCSYSTEMFAIL_ERR (DWORD)194 /* for MO.*/
#define Z_APMMIA_TPINVALIDSMEADDR_ERR (DWORD)195 /* for MO.*/
#define Z_APMMIA_TPDESTSMEBARRED_ERR (DWORD)196 /* for MO.*/
#define Z_APMMIA_TPSMDUPLIREJ_ERR (DWORD)197 /* for MO.*/
#define Z_APMMIA_TPVPFNOTSPT_ERR (DWORD)198 /* for MO.*/
#define Z_APMMIA_TPVPNOTSPT_ERR (DWORD)199 /* for MO.*/
#define Z_APMMIA_TPUSIMMEMFULL_ERR (DWORD)208 /* for MT.*/
#define Z_APMMIA_TPNOSMSMEMCAPA_ERR (DWORD)209 /* for MT.*/
#define Z_APMMIA_TPERRINMS_ERR (DWORD)210 /* for MT.*/
#define Z_APMMIA_TPMEMCAPAEXCEED_ERR (DWORD)211 /* for MT.*/
#define Z_APMMIA_TPUSIMAPPBUSY_ERR (DWORD)212 /* for MT.*/
#define Z_APMMIA_TPUSIMDOWNLOAD_ERR (DWORD)213 /* for MT.*/
#define Z_APMMIA_TPUNSPECERRCAUSE_ERR (DWORD)255 /* for MO,MT.*/
/* other values are reserved.*/
/* add for LockCell Fail Cause */
/* Invalid operation use Z_APMMIA_OPTNOTALW_ERR */
/* network failure use Z_APMMIA_NETWORKFAILURE_ERR */
#define Z_APMMIA_EM_PLMNNOTALW_ERR (DWORD)257
#define Z_APMMIA_EM_LANOTALW_ERR (DWORD)258
#define Z_APMMIA_EM_CELLBARRED_ERR (DWORD)259
#define Z_APMMIA_NUMTOOLONG_ERR (DWORD)300
/* DelFlg of +CMGD Command */
#define Z_APMMIA_SMSDELFLG_BYIDX (BYTE)0
#define Z_APMMIA_SMSDELFLG_READ (BYTE)1
#define Z_APMMIA_SMSDELFLG_READSEND (BYTE)2
#define Z_APMMIA_SMSDELFLG_READSENDUNSEND (BYTE)3
#define Z_APMMIA_SMSDELFLG_ALL (BYTE)4
/* T_zPS_APMMIA_SmsMsgContent ÁªºÏµÄ±êʶ */
#define Z_APMMIA_CMGLRLT_PSMS (BYTE)0
#define Z_APMMIA_CMGLRLT_TDEL (BYTE)1
#define Z_APMMIA_CMGLRLT_TSUB (BYTE)2
#define Z_APMMIA_CMGLRLT_TSR (BYTE)3
#define Z_APMMIA_CMGLRLT_TCOM (BYTE)4
#define Z_APMMIA_CMGLRLT_TCBM (BYTE)5
#define Z_APMMIA_CMGLRLT_PCBM (BYTE)6
#define Z_APMMIA_CMGLRLT_COMM (BYTE)7
/* T_zPS_APMMIA_PbCommon_Cnf ±êʶ */
#define Z_APMMIA_PBCOMMCNF_MEMCAPA (BYTE)1 /* Z_APMMIA_PbMemCapaReq_Ev */
/* Message state */
#define Z_APMMIA_MSGSTAT_RECUNREAD (BYTE)0
#define Z_APMMIA_MSGSTAT_RECREAD (BYTE)1
#define Z_APMMIA_MSGSTAT_STOUNSENT (BYTE)2
#define Z_APMMIA_MSGSTAT_STOSENT_NOSTATRPT (BYTE)3
#define Z_APMMIA_MSGSTAT_ALL (BYTE)4
#define Z_APMMIA_MSGSTAT_STOSENT_STATRPTNOTRCV (BYTE)5
#define Z_APMMIA_MSGSTAT_STOSENT_STATRPTSTOOTHR (BYTE)6
#define Z_APMMIA_MSGSTAT_STOSENT_STATRPTSTOSMSR (BYTE)7
/* Íø²à½ô¼±ºÅÂë×Ö½ÚÊý£¬¸ù¾Ýl3½á¹¹¶¨ */
#define Z_APMMIA_ECC_MAXNUM (BYTE)8
#define Z_APMMIA_PIN_LEN (BYTE)8
/*ͨÓó¤¶Èºê¶¨Òå*/
#define Z_APMMIA_MAX_CALLNAME_LEN (BYTE)241 /* ´Óµç»°²¾ºô½ÐµÄÐÕÃû³¤¶È */
#define Z_APMMIA_MAX_EMAIL_LEN (BYTE)250
#define Z_APMMIA_MAX_GAS_LEN (BYTE)250
#define Z_APMMIA_MAX_SNE_LEN (BYTE)250
#define Z_APMMIA_CNUM_MAXCOUNT (BYTE)10 /* cnum ×î´ó¸öÊý */
/* ÃÜÂ볤¶ÈÉÏÏÞ*/
#define Z_APMMIA_MAX_PASSWD_LEN (BYTE)8
#define Z_APMMIA_CUR_TYPE_EFNUM (BYTE)3
#define Z_APMMIA_PB_CAPA_MAX_NUM (BYTE)3
/* ±¨¸øPB½ô¼±ºÅÂëµÄÊý×é´óС */
#define Z_APMMIA_ECCNUM_NOCARD (BYTE)10 /* ÎÞ¿¨Ê±µÄ¸öÊý */
#define Z_APMMIA_ECCNUM_CARD (BYTE)22 /* Óп¨¸öÊý£¬Íø²à×î¶à10¸ö£¬NVÔÝʱÎÞ*/
#define Z_APMMIA_ECCNUM_MAX (BYTE)10 /*Íø²â½ô¼±ºÅÂë×î´ó¸öÊý*/
/* SMS´æ´¢Æ÷×î´ó¸öÊý */
#define Z_APMMIA_SMSMEM_MAX_RANGE (BYTE)6
#define Z_MMIASMS_MAX_PDU_LEN (BYTE)176
#define Z_MMIASMS_MAX_TPDU_LEN (BYTE)164
#define Z_APMMIA_MAX_ADDRVALUE_LEN (BYTE)10
#define Z_APMMIA_MAX_SMSPDU_LEN (BYTE)176
#define Z_APMMIA_CBS_MAX_TEXT_PAGE_LEN (BYTE)82 /*TEXTģʽÏ£¬µ¥Ò³×î´ó³ÐÔØ×Ö½ÚÊý*/
#define Z_APMMIA_CBS_MAX_PDU_PAGE_LEN (BYTE)88 /*PDUģʽÏ£¬µ¥Ò³×î´ó³ÐÔØ×Ö½ÚÊý*/
/**************************************************************************
* È«¾Öºê¶¨Òå *
**************************************************************************/
/* CP Layer error define.*/
#define Z_MMIASMS_CP_NW_FAILURE (DWORD)17
#define Z_MMIASMS_CP_CONGESTION (DWORD)22
#define Z_MMIASMS_CP_INVALID_TI (DWORD)81
#define Z_MMIASMS_CP_SEMAN_INCOR (DWORD)95
#define Z_MMIASMS_CP_INVAL_MAND_IE (DWORD)96
#define Z_MMIASMS_CP_TYPE_NONEXIST (DWORD)97
#define Z_MMIASMS_CP_STATE_NOT_SUP (DWORD)98
#define Z_MMIASMS_CP_IE_NONEXIST (DWORD)99
#define Z_MMIASMS_CP_PROTO_ERR (DWORD)111
/* RP Layer error define.*/
#define Z_MMIASMS_RP_UNASSIGN_NUM (DWORD)1 /* for MO.*/
#define Z_MMIASMS_RP_OPERATOR_BAR (DWORD)8 /* for MO.*/
#define Z_MMIASMS_RP_CALL_BARRED (DWORD)10 /* for MO.*/
#define Z_MMIASMS_RP_TRANSF_REJ (DWORD)21 /* for MO.*/
#define Z_MMIASMS_RP_MEM_CAPA_EXCE (DWORD)22 /* for MT.*/
#define Z_MMIASMS_RP_DESTNATION_OUT (DWORD)27 /* for MO.*/
#define Z_MMIASMS_RP_UNIDENTI_SUBSC (DWORD)28 /* for MO.*/
#define Z_MMIASMS_RP_FACILITY_REJ (DWORD)29 /* for MO.*/
#define Z_MMIASMS_RP_UNKNOWN_SUBSC (DWORD)30 /* for MO,SMMA(P).*/
#define Z_MMIASMS_RP_NW_OUT_ORDER (DWORD)38 /* for MO,SMMA(T).*/
#define Z_MMIASMS_RP_TEMPORARY_FAIL (DWORD)41 /* for MO,SMMA(T).*/
#define Z_MMIASMS_RP_CONGESTION (DWORD)42 /* for MO,SMMA(T).*/
#define Z_MMIASMS_RP_RESOUR_UNAVAIL (DWORD)47 /* for MO,SMMA(T).*/
#define Z_MMIASMS_RP_FACI_NONSUB (DWORD)50 /* for MO.*/
#define Z_MMIASMS_RP_FACI_NONIMP (DWORD)69 /* for MO,SMMA(P).*/
#define Z_MMIASMS_RP_INVAL_SM_MR (DWORD)81 /* for MO,MT.*/
#define Z_MMIASMS_RP_INVAL_MSG (DWORD)95 /* for MO,SMMA(P),MT.*/
#define Z_MMIASMS_RP_INVAL_MAND_IE (DWORD)96 /* for MO,SMMA(P),MT.*/
#define Z_MMIASMS_RP_TYPE_NONEXIST (DWORD)97 /* for MO,SMMA(P),MT.*/
#define Z_MMIASMS_RP_STATE_NOT_SUP (DWORD)98 /* for MO,SMMA(P),MT.*/
#define Z_MMIASMS_RP_IE_NONEXIST (DWORD)99 /* for MO,SMMA(P),MT.*/
#define Z_MMIASMS_RP_PROTO_ERR (DWORD)111 /* for MO,SMMA(P),MT.*/
#define Z_MMIASMS_RP_IW_UNSPEC (DWORD)127 /* for MO,SMMA(P).*/
/* TP Layer failure cause define.*/
#define Z_MMIASMS_FCS_IW_FAIL (DWORD)128 /* for MO.*/
#define Z_MMIASMS_FCS_TYPE0_FAIL (DWORD)129 /* for MO,MT.*/
#define Z_MMIASMS_FCS_CANNOT_REPL (DWORD)130 /* for MO,MT*/
#define Z_MMIASMS_FCS_TPPID_ERR (DWORD)143 /* for MO,MT*/
#define Z_MMIASMS_FCS_TPDCS_NOT_SUP (DWORD)144 /* for MO.*/
#define Z_MMIASMS_FCS_CLASS_NOT_SUP (DWORD)145 /* for MT.*/
#define Z_MMIASMS_FCS_TPDCS_ERR (DWORD)159 /* for MO,MT*/
#define Z_MMIASMS_FCS_CMD_NOT_ACT (DWORD)160 /* for MO.*/
#define Z_MMIASMS_FCS_CMD_NOT_SUP (DWORD)161 /* for MO.*/
#define Z_MMIASMS_FCS_CMD_ERR (DWORD)175 /* for MO.*/
#define Z_MMIASMS_FCS_TPDU_NOT_SUP (DWORD)176 /* for MO,MT.*/
#define Z_MMIASMS_FCS_SC_BUSY (DWORD)192 /* for MO.*/
#define Z_MMIASMS_FCS_NO_SC_SUBSC (DWORD)193 /* for MO.*/
#define Z_MMIASMS_FCS_SC_SYS_FAIL (DWORD)194 /* for MO.*/
#define Z_MMIASMS_FCS_INVAL_ADDR (DWORD)195 /* for MO.*/
#define Z_MMIASMS_FCS_DEST_BAR (DWORD)196 /* for MO.*/
#define Z_MMIASMS_FCS_SM_REJ_DUPLI (DWORD)197 /* for MO.*/
#define Z_MMIASMS_FCS_TPVPF_NOT_SUP (DWORD)198 /* for MO.*/
#define Z_MMIASMS_FCS_TPVP_NOT_SUP (DWORD)199 /* for MO.*/
#define Z_MMIASMS_FCS_USIM_MEM_FULL (DWORD)208 /* for MT.*/
#define Z_MMIASMS_FCS_NO_MEM_CAPA (DWORD)209 /* for MT.*/
#define Z_MMIASMS_FCS_ERR_IN_MS (DWORD)210 /* for MT.*/
#define Z_MMIASMS_FCS_MEM_CAPA_EXCE (DWORD)211 /* for MT.*/
#define Z_MMIASMS_FCS_USIM_APP_BUSY (DWORD)212 /* for MT.*/
#define Z_MMIASMS_FCS_USIM_DL_ERR (DWORD)213 /* for MT.*/
#define Z_MMIASMS_FCS_UNSPEC_ERR (DWORD)255 /* for MO,MT.*/
/* additional +CMS ERROR:<err> failure cause define.*/
#define Z_MMIASMS_CMS_ME_FAIL (DWORD)300
#define Z_MMIASMS_CMS_SRV_RESERV (DWORD)301
#define Z_MMIASMS_CMS_OPER_NOT_ALLOW (DWORD)302
#define Z_MMIASMS_CMS_OPER_NOT_SUP (DWORD)303
#define Z_MMIASMS_CMS_INVAL_PDU_PARA (DWORD)304
#define Z_MMIASMS_CMS_INVAL_TEXT_PARA (DWORD)305
#define Z_MMIASMS_CMS_USIM_NOT_INSERT (DWORD)310
#define Z_MMIASMS_CMS_USIM_PIN_REQ (DWORD)311
#define Z_MMIASMS_CMS_PH_USIM_PIN_REQ (DWORD)312
#define Z_MMIASMS_CMS_USIM_FAIL (DWORD)313
#define Z_MMIASMS_CMS_USIM_BUSY (DWORD)314
#define Z_MMIASMS_CMS_USIM_ERONG (DWORD)315
#define Z_MMIASMS_CMS_USIM_PUK_REQ (DWORD)316
#define Z_MMIASMS_CMS_USIM_PIN2_REQ (DWORD)317
#define Z_MMIASMS_CMS_USIM_PUK2_REQ (DWORD)318
#define Z_MMIASMS_CMS_MEM_FAIL (DWORD)320
#define Z_MMIASMS_CMS_INVAL_INDEX (DWORD)321
#define Z_MMIASMS_CMS_MEM_FULL (DWORD)322
#define Z_MMIASMS_CMS_SCA_UNKNOWN (DWORD)330
#define Z_MMIASMS_CMS_NO_NW_SRV (DWORD)331
#define Z_MMIASMS_CMS_NW_TIMEOUT (DWORD)332
#define Z_MMIASMS_CMS_NO_CNMA_ACK (DWORD)340
#define Z_MMIASMS_CMS_UNKNOWN_ERR (DWORD)500
#define Z_MMIASMS_CMS_USER_ABORT_ERR (DWORD)501
/* MO SMS CS/PS service path.*/
#define Z_MMIASMS_SERVICE_PS_ONLY (BYTE)0
#define Z_MMIASMS_SERVICE_CS_ONLY (BYTE)1
#define Z_MMIASMS_SERVICE_PS_PREFER (BYTE)2
#define Z_MMIASMS_SERVICE_CS_PREFER (BYTE)3
/* Concatenating or SMMA SM link transfer choice.*/
#define Z_MMIASMS_MMS_LINK_DISABLE (BYTE)0
#define Z_MMIASMS_MMS_LINK_ENABLE_AS (BYTE)1
#define Z_MMIASMS_MMS_LINK_ENABLE_MS (BYTE)2
/* parameter ackmode define .*/
#define Z_MMIASMS_CNMA_OK (BYTE)0
#define Z_MMIASMS_CNMA_RPACK (BYTE)1
#define Z_MMIASMS_CNMA_RPERROR (BYTE)2
/* parameter <mt> of +CNMI Command.*/
#define Z_MMIASMS_CNMIMT_NOROUTE (BYTE)0
#define Z_MMIASMS_CNMIMT_STOREIND (BYTE)1
#define Z_MMIASMS_CNMIMT_DIRECTROUTE (BYTE)2
#define Z_MMIASMS_CNMIMT_CLASS3ROUTE (BYTE)3
/* parameter <ds> of +CNMI Command.*/
#define Z_MMIASMS_CNMIDS_NOROUTE (BYTE)0
#define Z_MMIASMS_CNMIDS_DIRECTROUTE (BYTE)1
#define Z_MMIASMS_CNMIDS_STOREIND (BYTE)2
/* MT Message store Indication.*/
#define Z_MMIASMS_PREFER_STORAGE (BYTE)0
#define Z_MMIASMS_USIM_STORAGE (BYTE)1
/* MmiaSms_MemAvailReqÏûÏ¢²ÎÊýbNotifAbort */
#define Z_MMIASMS_RPSMMA_REQ (BYTE)0
#define Z_MMIASMS_RPSMMA_ABORT (BYTE)1
/* message type parameter of MO SM Sending */
#define Z_MMIASMS_DIRECT_SUBMIT_SEND (BYTE)0
#define Z_MMIASMS_STORE_SUBMIT_SEND (BYTE)1
#define Z_MMIASMS_DIRECT_COMMAND_SEND (BYTE)2
#define Z_MMIASMS_STORE_COMMAND_SEND (BYTE)3
/* return paraneter value for SMS message.*/
#define Z_MMIASMS_RESULT_OK (BYTE)0
#define Z_MMIASMS_RESULT_ERROR (BYTE)1
/* TPDU message type ID.*/
#define Z_MMIASMS_DELIVER (BYTE)0
#define Z_MMIASMS_DELIVER_RPT (BYTE)0
#define Z_MMIASMS_SUBMIT (BYTE)1
#define Z_MMIASMS_SUBMIT_RPT (BYTE)1
#define Z_MMIASMS_STATUS_RPT (BYTE)2
#define Z_MMIASMS_COMMAND (BYTE)2
#define Z_MMIASMS_RESERVE (BYTE)3
/* TP-UDH Exist Flag.*/
#define Z_MMIASMS_TPUDH_NONEXIST (BYTE)0
#define Z_MMIASMS_TPUDH_EXIST (BYTE)1
/* TP-VPF setting */
#define Z_MMIASMS_TPVP_NONEXIST (BYTE)0
#define Z_MMIASMS_TPVP_ENHANCE (BYTE)1
#define Z_MMIASMS_TPVP_RELATIVE (BYTE)2
#define Z_MMIASMS_TPVP_ABSOLUTE (BYTE)3
/* TP-CT setting of SMS_COMMAND */
#define Z_MMIASMS_TPCT_ENQUIRY (BYTE)0
#define Z_MMIASMS_TPCT_CANCEL (BYTE)1
#define Z_MMIASMS_TPCT_DELETE (BYTE)2
#define Z_MMIASMS_TPCT_STATUSRPT (BYTE)3
/* flag of Requiring staus-report */
#define Z_MMIASMS_STATRPT_NOTREQUIRED (BYTE)0
#define Z_MMIASMS_STATRPT_REQUIRED (BYTE)1
/* ´æ´¢¶ÌÏûÏ¢±ê־λ */
#define Z_APMMIA_SMSAVEFLAG_UPREQUEST (BYTE)0
#define Z_APMMIA_SMSAVEFLAG_DELIVERNOTREP (BYTE)1
#define Z_APMMIA_SMSAVEFLAG_DELIVERREP (BYTE)2
#define Z_APMMIA_SMSAVEFLAG_STATUSNOTREP (BYTE)3
#define Z_APMMIA_SMSAVEFLAG_STATUSREP (BYTE)4
#define Z_APMMIA_SMSAVEFLAG_CBMSNOTREP (BYTE)5
#define Z_APMMIA_SMSAVEFLAG_CBMSREP (BYTE)6
/* ¶Á¶ÌÏûÏ¢±ê־λ */
#define Z_APMMIA_SMREADFLAG_ONLYREAD (BYTE)0
#define Z_APMMIA_SMREADFLAG_FORSEND (BYTE)1
/* ´æ´¢¿Õ¼ä¿ÉÓÃÐÔ */
#define Z_APMMIA_SMMEMORY_UNAVAILABLE (BYTE)0
#define Z_APMMIA_SMMEMORY_AVAILABLE (BYTE)1
/* MOÏûÏ¢·¢ËÍ·½Ê½ */
#define Z_APMMIA_MSG_DIRECT_SEND (BYTE)0
#define Z_APMMIA_MSG_STORE_SEND (BYTE)1
/* SMS-DELIVERÏûÏ¢´æ´¢´¦Àíָʾ */
#define Z_APMMIA_MEM3_PREFERRED (BYTE)0
#define Z_APMMIA_USIM_FIXED (BYTE)1
/* ״̬±¨¸æÇëÇó±êÖ¾ */
#define Z_APMMIA_STATUSREPORT_NOTREQUIRED (BYTE)0
#define Z_APMMIA_STATUSREPORT_REQUIRED (BYTE)1
/* SMSÏûϢ״̬¸Ä±ä±êÖ¾ */
#define Z_APMMIA_STATCHANGE_ENABLE (BYTE)0
#define Z_APMMIA_STATCHANGE_DISABLE (BYTE)1
/* SMS´æ´¢ÄÜÁ¦ */
#define Z_APMMIA_SMSMEM_FREE (BYTE)0
#define Z_APMMIA_SMSMEM_FULL (BYTE)1
#define Z_APMMIA_SMSMEM_IMS_NOTIFY_FREE (BYTE)2
/*======================= CallInfoÖÐbDirµÄȡֵ ===========================*/
#define Z_MMIACC_CALLDIR_MO (BYTE)0
#define Z_MMIACC_CALLDIR_MT (BYTE)1
/*======================= MOC REQÖеÄbECallTypeºê¶¨Òå ===========================*/
#define Z_MMIACC_NORMAL_CALL (BYTE)0
#define Z_MMIACC_EMERGENCY_CALL (BYTE)1
#define Z_MMIACC_ECALL_TESTCALL (BYTE)2
#define Z_MMIACC_ECALL_RECONFIGCALL (BYTE)3
#define Z_MMIACC_ECALL_MANU (BYTE)4
#define Z_MMIACC_ECALL_AUTO (BYTE)5
/*======================= MOC REQÖеÄbCallTypeºê¶¨Òå£¬ËæeÐÐÖÐORIG/CONN ÏûϢҲʹÓà =====================*/
#define Z_MMIACC_VOICE_CALL (BYTE)0
#define Z_MMIACC_DATA_CALL (BYTE)1
/* ÏÂÃæ2¸öºêÊÇΪÖÐÒÆËæeÐÐÀ©³äµÄ */
#define Z_MMIACC_CMCC_PS_DATA_CALL (BYTE)2
#define Z_MMIACC_CMCC_EMERGENCY_CALL (BYTE)9
/*======================= MOC REQÖеĺô½Ðģʽºê¶¨Òå ====================*/
#define Z_MMIACC_SINGLE_MODE (BYTE)0
#define Z_MMIACC_ALT_VOICE_FAX (BYTE)1
#define Z_MMIACC_ALT_VOICE_DATA (BYTE)2
#define Z_MMIACC_FOLLOWED_DATA (BYTE)3
/*======================= MOC REQÖеÄclirȡֵºê¶¨Òå ====================*/
#define Z_MMIACC_CLIR_SUBSCRIPTION (BYTE)0
#define Z_MMIACC_CLIR_INVOCATION (BYTE)1
#define Z_MMIACC_CLIR_SUPPRESSION (BYTE)2
/*======================= CALL INFOÖеĺô½Ðģʽºê¶¨Òå 27007 +CLCCÖж¨Òå===================*/
#define Z_MMIACC_CALL_INFO_VOICE (BYTE)0
#define Z_MMIACC_CALL_INFO_DATA (BYTE)1
#define Z_MMIACC_CALL_INFO_FAX (BYTE)2
#define Z_MMIACC_CALL_INFO_FOLLOWED_DATA_VOICE (BYTE)3
#define Z_MMIACC_CALL_INFO_ALT_VOICE_DATA_VOICE (BYTE)4
#define Z_MMIACC_CALL_INFO_ALT_VOICE_FAX_VOICE (BYTE)5
#define Z_MMIACC_CALL_INFO_FOLLOWED_DATA_DATA (BYTE)6
#define Z_MMIACC_CALL_INFO_ALT_VOICE_DATA_DATA (BYTE)7
#define Z_MMIACC_CALL_INFO_ALT_VOICE_FAX_FAX (BYTE)8
#define Z_MMIACC_CALL_INFO_UNKNOWN (BYTE)9
/*======================= CALL INFOÖеÄcall stateºê¶¨Òå 27007 +CLCCÖж¨Òå =================*/
#define Z_MMIACC_CALL_STATE_ACTIVE (BYTE)0
#define Z_MMIACC_CALL_STATE_HELD (BYTE)1
#define Z_MMIACC_CALL_STATE_MO_DIALING (BYTE)2
#define Z_MMIACC_CALL_STATE_MO_ALERTING (BYTE)3
#define Z_MMIACC_CALL_STATE_MT_INCOMING (BYTE)4
#define Z_MMIACC_CALL_STATE_MT_WAITING (BYTE)5
#define Z_MMIACC_CALL_STATE_END (BYTE)6 /* ËæeÐÐ^DSCIÔö¼Ó */
#define Z_MMIACC_CALL_STATE_MT_CONNREQ (BYTE)7
#define Z_MMIACC_CALL_STATE_DISC (BYTE)8
/*======================= CALL INFOÖеÄMPTY flagºê¶¨Òå 27007 +CLCCÖж¨Òå=================*/
#define Z_MMIACC_MPTY_OUT (BYTE)0
#define Z_MMIACC_MPTY_IN (BYTE)1
/*======================= CUG INFOºê¶¨Òå ===============================*/
#define Z_MMIACC_CUG_NO_INFO (BYTE)0
#define Z_MMIACC_CUG_SUPPRESS_OA (BYTE)1
#define Z_MMIACC_CUG_SUPPRESS_PREFER_CUG (BYTE)2
#define Z_MMIACC_CUG_SUPPRESS_OA_PREFER_CUG (BYTE)3
/*======================= MOC CNFºê¶¨Òå ================================*/
#define Z_MMIACC_RESULT_OK (BYTE)0 /*MOC CNF ½á¹ûÂë¡¢ANSMOD CNF¡¢ MODIFY IND*/
#define Z_MMIACC_RESULT_USERBUSY (BYTE)1 /*MOC CNF ½á¹ûÂë*/
#define Z_MMIACC_RESULT_NOCARRIER (BYTE)2 /*MOC CNF ½á¹ûÂë¡¢ANSMOD CNF*/
#define Z_MMIACC_RESULT_CONNECT (BYTE)3 /*MOC CNF ½á¹ûÂë¡¢ANSMOD CNF¡¢ MODIFY IND*/
#define Z_MMIACC_RESULT_NOANSWER (BYTE)4 /*MOC CNF ½á¹ûÂë*/
#define Z_MMIACC_RESULT_ERROR (BYTE)5 /* MOC CNF ½á¹ûÂë */
/*======================= Serv ²ÎÊý ºê¶¨Òå =============================*//* ±ÈËæeÐеÄÖµ´ó1 */
#define Z_MMIACC_CR_SERV_ASYNC (BYTE)1
#define Z_MMIACC_CR_SERV_SYNC (BYTE)2
#define Z_MMIACC_CR_SERV_REL_ASYNC (BYTE)3
#define Z_MMIACC_CR_SERV_REL_SYNC (BYTE)4
/*======================= Priority ºê¶¨Òå =============================*/
#define Z_MMIACC_PRIORITY_LEVEL_4 (BYTE)0
#define Z_MMIACC_PRIORITY_LEVEL_3 (BYTE)1
#define Z_MMIACC_PRIORITY_LEVEL_2 (BYTE)2
#define Z_MMIACC_PRIORITY_LEVEL_1 (BYTE)3
#define Z_MMIACC_PRIORITY_LEVEL_0 (BYTE)4
#define Z_MMIACC_PRIORITY_LEVEL_B (BYTE)5
#define Z_MMIACC_PRIORITY_LEVEL_A (BYTE)6
/*======================= MTC RSP result ºê¶¨Òå ===============================*/
#define Z_MMIACC_MTC_RSP_ACP (BYTE)0 /* Ŀǰmmia½ö´¦Àí½ÓÊÜ, ModToMultMedia_RspÖÐ ½ÓÊÜÇл»*/
#define Z_MMIACC_MTC_RSP_REJ (BYTE)1 /* ModToMultMedia_RspÖÐ ¾Ü¾øÇл»*/
/*======================= MTC INDÖÐbCallTypeºê¶¨Òå 27007 +CRCÖж¨Òå ======================*/
#define Z_MMIACC_TYPE_ASYNC (BYTE)0
#define Z_MMIACC_TYPE_SYNC (BYTE)1
#define Z_MMIACC_TYPE_REL_ASYNC (BYTE)2
#define Z_MMIACC_TYPE_REL_SYNC (BYTE)3
#define Z_MMIACC_TYPE_FAX (BYTE)4
#define Z_MMIACC_TYPE_VOICE (BYTE)5
#define Z_MMIACC_TYPE_VOICE_ASYNC (BYTE)6
#define Z_MMIACC_TYPE_VOICE_SYNC (BYTE)7
#define Z_MMIACC_TYPE_VOICE_REL_ASYNC (BYTE)8
#define Z_MMIACC_TYPE_VOICE_REL_SYNC (BYTE)9
#define Z_MMIACC_TYPE_ALT_VOICE_ASYNC (BYTE)10
#define Z_MMIACC_TYPE_ALT_VOICE_SYNC (BYTE)11
#define Z_MMIACC_TYPE_ALT_VOICE_REL_ASYNC (BYTE)12
#define Z_MMIACC_TYPE_ALT_VOICE_REL_SYNC (BYTE)13
#define Z_MMIACC_TYPE_ALT_ASYNC_VOICE (BYTE)14
#define Z_MMIACC_TYPE_ALT_SYNC_VOICE (BYTE)15
#define Z_MMIACC_TYPE_ALT_REL_ASYNC_VOICE (BYTE)16
#define Z_MMIACC_TYPE_ALT_REL_SYNC_VOICE (BYTE)17
#define Z_MMIACC_TYPE_ALT_VOICE_FAX (BYTE)18
#define Z_MMIACC_TYPE_ALT_FAX_VOICE (BYTE)19
/*===================== MTC INDÖÐ bCwFlag ºê¶¨Òå ====================*/
#define Z_MMIACC_CALL_NORMAL (BYTE)0
#define Z_MMIACC_CALL_WAITING (BYTE)1
/*===================== MTC INDÖÐ bNoCliCause ºê¶¨Òå ====================*/
#define Z_MMIACC_NOCLI_UNAVAIL (BYTE)0 /* Ó³ÉäΪapmmia_notAvail*/
#define Z_MMIACC_NOCLI_REJBYUSER (BYTE)1 /* Ó³ÉäΪapmmia_withheld*/
#define Z_MMIACC_NOCLI_INTERACTWITHOSRV (BYTE)2 /* Ó³ÉäΪapmmia_notAvail*/
#define Z_MMIACC_NOCLI_COINLINE (BYTE)3 /* Ó³ÉäΪapmmia_notAvail*/
/*===================== MTC INDÖÐcall classºê¶¨Òå 27007 +CCWA======================*/
#define Z_MMIACC_CLASS_VOICE (BYTE)1
#define Z_MMIACC_CLASS_DATA (BYTE)2
#define Z_MMIACC_CLASS_FAX (BYTE)4
#define Z_MMIACC_CLASS_SMS (BYTE)8
#define Z_MMIACC_CLASS_DATA_CIRCUIT_SYNC (BYTE)16
#define Z_MMIACC_CLASS_DATA_CIRCUIT_ASYNC (BYTE)32
#define Z_MMIACC_CLASS_DEDICATED_PACK_ACCESS (BYTE)64
#define Z_MMIACC_CLASS_DEDICATED_PAD_ACCESS (BYTE)128
/*======================= DISMOD Typeºê¶¨Òå ============================*/
#define Z_MMIACC_DISMOD_TYPE_H (BYTE)0
#define Z_MMIACC_DISMOD_TYPE_CHUP (BYTE)1
/*==================== Progress indicatorºê¶¨Òå 24008 10.5.4.21==============*/
#define Z_MMIACC_PI_NOT_END_TO_END_PLMN (BYTE)1
#define Z_MMIACC_PI_DEST_IN_NON_PLMN (BYTE)2
#define Z_MMIACC_PI_ORIG_IN_NON_PLMN (BYTE)3
#define Z_MMIACC_PI_RETURN_TO_PLMN (BYTE)4
#define Z_MMIACC_PI_IN_BAND_TONE (BYTE)8
#define Z_MMIACC_PI_END_TO_END_PLMN (BYTE)32
#define Z_MMIACC_PI_QUEUEING (BYTE)64
#define Z_MMIACC_PI_UNSPECIFIC (BYTE)0xef /*All other values*/
/*======================= Alert indicatorºê¶¨Òå Ôݱ£Áô£¬²»Ê¹ÓÃ===============*/
#define Z_MMIACC_DIAL_TONE_ON (BYTE)0
#define Z_MMIACC_RING_BACK_TONE_ON (BYTE)1
#define Z_MMIACC_INTERCEPT_TONE_ON (BYTE)2
#define Z_MMIACC_NW_CONGEST_TONE_ON (BYTE)3
#define Z_MMIACC_BUSY_TONE_ON (BYTE)4
#define Z_MMIACC_CONF_TONE_ON (BYTE)5
#define Z_MMIACC_ANSW_TONE_ON (BYTE)6
#define Z_MMIACC_CW_TONE_ON (BYTE)7
#define Z_MMIACC_OFF_HOOK_TONE_ON (BYTE)8
#define Z_MMIACC_TONE_OFF (BYTE)0x3f
#define Z_MMIACC_ALERT_ON (BYTE)0x4f
/*======================= Notify indicatorºê¶¨Òå ========================*/
#define Z_MMIACC_USER_SUSPENDED (BYTE)0
#define Z_MMIACC_USER_RESUMED (BYTE)1
#define Z_MMIACC_BEARER_CHANGE (BYTE)2
/*======================= Common CnfÖÐcauseµÄºê¶¨Òå =====================*/
#define Z_MMIACC_COMMON_CAUSE_PHONE_FAILURE (DWORD)0
#define Z_MMIACC_COMMON_CAUSE_OPER_NOT_ALLOWED (DWORD)3
#define Z_MMIACC_COMMON_CAUSE_OPER_NOT_SUPPORTED (DWORD)4
#define Z_MMIACC_COMMON_CAUSE_INVALID_INDEX (DWORD)21
#define Z_MMIACC_COMMON_CAUSE_NETWORK_TIMEOUT (DWORD)31
#define Z_MMIACC_COMMON_CAUSE_UNKNOWN (DWORD)100
#define Z_MMIACC_COMMON_CAUSE_DISMOD (DWORD)101
/* ËæeÐÐÀ©Õ¹µÄcause£¬ÔÚNoCarrier,NoAnswer,UserBusyʱÓõ½. NW_BASE~NW_END±íʾ´ÓÍøÂçÊÕµ½µÄcause */
#define Z_MMIACC_NW_BASE (WORD)0x0100
#define Z_MMIACC_NW_END (WORD)0x01FF
/*The macro of the constant */
#define Z_MMIACC_CC_CCM_LEN (BYTE)3
/* ===================ºô½Ð½ø³Ìָʾ£ºT_z_MmiaCc_ProcInfo_IndÖÐbCallInfoȡֵ ===================*/
#define Z_MMIACC_ALERT_NOTIFY (BYTE)0 /* mo¹ý³ÌÖÐÊÕµ½alertÏûÏ¢ */
#define Z_MMIACC_CALLPROCD_NOTIFY (BYTE)1 /* mo¹ý³ÌÖÐÊÕµ½callProceedingÏûÏ¢ */
#define Z_MMIACC_PROGRESS_NOTIFY (BYTE)2 /* mt¹ý³ÌÖÐÊÕµ½ProgressÏûÏ¢ */
#define Z_MMIACC_MODIFYTOVOICE_NOTIFY (BYTE)3 /* modifyµ½ÓïÒô³É¹¦ */
#define Z_MMIACC_MODIFYTODATA_NOTIFY (BYTE)4 /* modifyµ½Êý¾Ý³É¹¦ */
#define Z_MMIACC_RADIOBEAREST_NOTIFY (BYTE)5 /* ÓïÒô»òÊý¾Ýºô½ÐʱÎÞÏß×ÊÔ´ÅäÖÃÍê³Éָʾ */
#define Z_MMIACC_NORADIOBEAR_NOTIFY (BYTE)6 /* ÓïÒô»òÊý¾Ýºô½ÐʱÎÞÏß×ÊÔ´ÅäÖñ»ÊÍ·Å */
#define Z_MMIACC_MTDISCSTART_NOTIFY (BYTE)7 /* ¶Ô¶Ë¹Ò¶ÏÁ÷³Ì¿ªÊ¼ */
#define Z_MMIACC_SENDSETUPMSG_NOTIFY (BYTE)8 /* mo¹ý³ÌÖз¢³öL3 SETUPÏûÏ¢ */
/*======================= SsNotify_IndÖÐbIorUFgȡֵºê¶¨Òå =====================*/
#define Z_MMIACC_CSSI_IND (BYTE)0
#define Z_MMIACC_CSSU_IND (BYTE)1
/*======================= SsNotify_IndÖÐbIorUFgȡֵΪCSSIʱcodeȡֵºê¶¨Òå =====================*/
#define Z_MMIACC_CSSI_CFU_ACITVE (BYTE)0
#define Z_MMIACC_CSSI_CCF_ACITVE (BYTE)1
#define Z_MMIACC_CSSI_CALL_BEFORWARD (BYTE)2
#define Z_MMIACC_CSSI_CALL_ISWAIT (BYTE)3
#define Z_MMIACC_CSSI_CALL_ISCUG (BYTE)4
#define Z_MMIACC_CSSI_CALL_BO (BYTE)5
#define Z_MMIACC_CSSI_CALL_BI (BYTE)6
#define Z_MMIACC_CSSI_CLIR_REJ (BYTE)7
#define Z_MMIACC_CSSI_CALL_BEDEFLECT (BYTE)8
/*======================= SsNotify_IndÖÐbIorUFgȡֵΪCSSUʱcodeȡֵºê¶¨Òå =====================*/
#define Z_MMIACC_CSSU_CALL_BEFOREARD (BYTE)0
#define Z_MMIACC_CSSU_CALL_ISCUG (BYTE)1
#define Z_MMIACC_CSSU_CALL_BEHOLD (BYTE)2
#define Z_MMIACC_CSSU_CALL_BERETRIEVED (BYTE)3
#define Z_MMIACC_CSSU_CALL_INMTP (BYTE)4
#define Z_MMIACC_CSSU_HOLDCALL_RELEASED (BYTE)5
#define Z_MMIACC_CSSU_RSV_CHECKSS_MSG (BYTE)6
#define Z_MMIACC_CSSU_CALL_ISCONNECTING_INECT (BYTE)7
#define Z_MMIACC_CSSU_CALL_CONNECTED_WITHOTHERREMOTER_INECT (BYTE)8
#define Z_MMIACC_CSSU_DEFLECTEDCALL (BYTE)9
#define Z_MMIACC_CSSU_INCALL_FORWARDED (BYTE)10
/* ======================= ModToMultMedia_RspÖнá¹ûµÄȡֵºê¶¨Òå================================*/
#define Z_MMIACC_MODTOMEDIA_ACCEPT (BYTE)0 /* ½ÓÊÜÇл» */
#define Z_MMIACC_MODTOMEDIA_REJECT (BYTE)1 /* ½ÓÊÜÇл» */
/* CNAPºê¶¨Òå */
#define Z_MMIACC_CNAP_NAME_MAX_LEN (BYTE)160
#define Z_MMIACC_CNI_NAMEPRESENTALLOW (BYTE)0
#define Z_MMIACC_CNI_PRESENTRESTRICT (BYTE)1
#define Z_MMIACC_CNI_NAMEUNAVAIL (BYTE)2
#define Z_MMIACC_CNI_NAMEPRESENTRESTRICT (BYTE)3
/*ZCCSTATEºê¶¨Òå*/
#define Z_MAXCALLNM (BYTE)7
#define Z_CC_STATE_NAME_MAX_LEN (BYTE)40
#define Z_MMIASM_ATCMD_ATD (BYTE)0 // for VoLTE
#define Z_MMIASM_ATCMD_REDIAL (BYTE)1 // for VoLTE
#define Z_MMIASS_MAX_PWD_LEN (BYTE)8 /* length of password array */
#define Z_MMIASS_MAX_CALLNUM_LEN (BYTE)19 /* Length of Call Num array */
#define Z_MMIASS_MAX_SUBADR_LEN (BYTE)20 /* Length of Address array */
#define Z_MMIASS_MAX_USSD_LEN (BYTE)160 /* max length of USSD string */
/*SSÉϱ¨µÄATÃüÁî´íÎóָʾֵ£¬¶ÔÓ¦ÓëT_zMmiaSs_Common_CnfÖеIJÎÊýdwErrorCode*/
#define Z_MMIASS_OPTNOTALW_ERR (DWORD)3 /*operation not allowed*/
#define Z_MMIASS_OPTNOTSPT_ERR (DWORD)4 /*operation not supported*/
#define Z_MMIASS_INCRCTPWDERR (DWORD)16 /*incorrect password*/
#define Z_MMIASS_INVALDTEXT_ERR (DWORD)25 /*invalid characters in text string */
#define Z_MMIASS_NONWSERV_ERR (DWORD)30 /*no network service*/
#define Z_MMIASS_NETTIMOUT_ERR (DWORD)31 /*network timeout*/
#define Z_MMIASS_UNKNOWN_ERR (DWORD)100 /*unknown*/
/* CCFC²éѯ״̬¡¢ CLCK\CCWA²éѯ½á¹û×ӽṹ¼¤»î״̬ȡֵ¡¢*/
#define Z_APMMIA_SSSTATUS_NOTACTIVE (BYTE)0
#define Z_APMMIA_SSSTATUS_ACTIVE (BYTE)1
/*CLCK, CCFC, CCWA ÉèÖö¯×÷ÖеÄmodeȡֵºê¶¨Òå*/
#define Z_APMMIA_SSOPTMODE_DEACTIVATION (BYTE)0 /* ¶ÔÓ¦CCFC,CCWAµÄdisable£¬ÒÔ¼°CLCKµÄunlock */
#define Z_APMMIA_SSOPTMODE_ACTIVATION (BYTE)1 /* ¶ÔÓ¦CCFC,CCWAµÄenable£¬ÒÔ¼°CLCKµÄlock */
#define Z_APMMIA_SSOPTMODE_QUERY (BYTE)2 /* CLCK, CCFC, CCWA ÉèÖö¯×÷½Ô¿ÉÄÜʹÓà */
#define Z_APMMIA_SSOPTMODE_REGISTRATION (BYTE)3 /* ½öÓÃÓÚCCFC */
#define Z_APMMIA_SSOPTMODE_ERASURE (BYTE)4 /* ½öÓÃÓÚCCFC */
/*CLCK, CPWDÉèÖö¯×÷ÖÐfacµÄºê¶¨Òå
* ¶ÔÓÚSSÀ´Ëµ£¬Ö»Ê¹ÓÃAO, OI, OX, AI, IR, AB, AG, AC*/
#define Z_MMIASS_AO (BYTE)4
#define Z_MMIASS_OI (BYTE)5
#define Z_MMIASS_OX (BYTE)6
#define Z_MMIASS_AI (BYTE)7
#define Z_MMIASS_IR (BYTE)8
#define Z_MMIASS_AB (BYTE)13
#define Z_MMIASS_AG (BYTE)14
#define Z_MMIASS_AC (BYTE)15
/* CLCK, CCFC, CCWA ÉèÖö¯×÷ÖеÄmodeȡֵºê¶¨Òå*/
#define Z_MMIASS_DEACTIVATION (BYTE)0 /* ¶ÔÓ¦CCFC,CCWAµÄdisable£¬ÒÔ¼°CLCKµÄunlock */
#define Z_MMIASS_ACTIVATION (BYTE)1 /* ¶ÔÓ¦CCFC,CCWAµÄenable£¬ÒÔ¼°CLCKµÄlock */
#define Z_MMIASS_QUERY (BYTE)2 /* CLCK, CCFC, CCWA ÉèÖö¯×÷½Ô¿ÉÄÜʹÓà */
#define Z_MMIASS_REGISTRATION (BYTE)3 /* ½öÓÃÓÚCCFC */
#define Z_MMIASS_ERASURE (BYTE)4 /* ½öÓÃÓÚCCFC */
/*classxºê¶¨ÒåÔÚCLCK¡¢CCFC¡¢CCWAµÄÉèÖö¯×÷ºÍ²éѯ½á¹ûÖÐʹÓÃ*/
#define Z_MMIASS_SSCLASS_VOICE (BYTE)1
#define Z_MMIASS_SSCLASS_DATA (BYTE)2
#define Z_MMIASS_SSCLASS_FAX (BYTE)4
#define Z_MMIASS_SSCLASS_SHORTMSG (BYTE)8
#define Z_MMIASS_SSCLASS_DATACIRCUITSYNC (BYTE)16
#define Z_MMIASS_SSCLASS_DATACIRCUITASYNC (BYTE)32
#define Z_MMIASS_SSCLASS_DEDICATEDPACKETACCESS (BYTE)64
#define Z_MMIASS_SSCLASS_DEDICATEDPADACCESS (BYTE)128
/*classxºê¶¨ÒåÀ©Õ¹£¬ÔÚCLCK¡¢CCFC¡¢CCWAµÄÉèÖö¯×÷ÖÐʹÓÃ*/
#define Z_MMIASS_SSCLASS_ALLTS (BYTE)13 /*All teleservices*/
#define Z_MMIASS_SSCLASS_ALLDATATS (BYTE)12 /*All data teleservices*/
#define Z_MMIASS_SSCLASS_ALLTSNOSMS (BYTE)5 /*All teleservices except SMS*/
#define Z_MMIASS_SSCLASS_ASYNCSRV (BYTE)160 /*All async services*/
#define Z_MMIASS_SSCLASS_SYNCSRV (BYTE)80 /*All sync services*/
#define Z_MMIASS_SSCLASS_15 (BYTE)15
#define Z_MMIASS_SSCLASS_255 (BYTE)255
#define Z_MMIASS_SSCLASS_SEVEN (BYTE)7
/* CLCK¡¢CCFC¡¢CCWA²éѯ½á¹ûÖÐstatusµÄ״̬ºê¶¨Òå */
#define Z_MMIASS_SSSTATUS_NOTACTIVE (BYTE)0
#define Z_MMIASS_SSSTATUS_ACTIVE (BYTE)1
/* CLIP¡¢COLP¡¢COLR¡¢CNAPÍø²à״̬²éѯ½á¹ûÖÐmµÄºê¶¨Òå */
#define Z_MMIASS_LINE_NOTPROVISE (BYTE)0
#define Z_MMIASS_LINE_PROVISE (BYTE)1
#define Z_MMIASS_LINE_UNKNOWN (BYTE)2
/* CLIRÍø²à״̬²éѯ½á¹ûÖÐmµÄºê¶¨Òå */
#define Z_MMIASS_CLIR_NOTPROVISE (BYTE)0
#define Z_MMIASS_CLIR_PERM_PROVISE (BYTE)1
#define Z_MMIASS_CLIR_UNKNOWN (BYTE)2
#define Z_MMIASS_CLIR_TEMP_RESTRICT (BYTE)3
#define Z_MMIASS_CLIR_TEMP_ALLOW (BYTE)4
/* CCFCÉèÖòÎÊýreasonȡֵºê¶¨Òå */
#define Z_MMIASS_UNCOND (BYTE)0
#define Z_MMIASS_MOB_BUSY (BYTE)1
#define Z_MMIASS_NO_REPLY (BYTE)2
#define Z_MMIASS_NOT_REACH (BYTE)3
#define Z_MMIASS_ALL_FORW (BYTE)4
#define Z_MMIASS_ALL_COND_FORW (BYTE)5
/* CUSD½á¹ûÉϱ¨ÖУ¬²ÎÊýmȡֵºê¶¨Òå */
#define Z_MMIASS_NO_FURTHER (BYTE)0
#define Z_MMIASS_FURTHER (BYTE)1
#define Z_MMIASS_TERMINATED (BYTE)2
#define Z_MMIASS_OTHER_RESPONDED (BYTE)3
#define Z_MMIASS_NOT_SUPPORTER (BYTE)4
#define Z_MMIASS_TIME_OUT (BYTE)5
/*Ò³²ÎÊý¶¨Òå(ÐèºÍapMmiaInt.hÖÐCBS²¿·Öºê¶¨Òå±£³ÖÒ»ÖÂ)*/
#define Z_MMIACBS_MAX_TEXT_PAGE_LEN (BYTE)82 /*TEXTģʽÏ£¬µ¥Ò³×î´ó³ÐÔØ×Ö½ÚÊý*/
#define Z_MMIACBS_MAX_PAGE_NUM (BYTE)15 /*¹ã²¥ÏûÏ¢×î´óÒ³Êý*/
#define Z_MMIACBS_ETWS_SECURITYINFO_LEN (BYTE)50 /*ETWS°²È«ÐÅÏ¢³¤¶È*/
/*ÏûϢ·ÓÉָʾ*/
#define Z_MMIACBS_ONLY_STORE (BYTE)0 /*½ö´æ´¢*/
#define Z_MMIACBS_STORE_TRANSFERS (BYTE)1 /*´æ´¢²¢Éϱ¨*/
#define Z_MMIACBS_ONLY_TRANSFERS (BYTE)2 /*½öÉϱ¨*/
/*CSCB modeºê¶¨Òå*/
#define Z_MMIACBS_ACCEPT (BYTE)0
#define Z_MMIACBS_NOTACCEPT (BYTE)1
/*T_zMmiaCbs_Data_IndÖÐbWarningMsgIndºê¶¨Òå*/
#define Z_MMIACBS_NO_WARNING_MSG (BYTE)0 /*·Ç¾¯¸æÏûÏ¢*/
#define Z_MMIACBS_PRI_ETWS_MSG (BYTE)1 /*Ö÷ETWSÏûÏ¢*/
#define Z_MMIACBS_SND_ETWS_MSG (BYTE)2 /*¸¨ETWSÏûÏ¢*/
#define Z_MMIACBS_CMAS_MSG (BYTE)3 /*CMASÏûÏ¢*/
/*T_zMmiaCbs_Data_IndÖÐbPriEtwsSecFlgºê¶¨Òå*/
#define Z_MMIACBS_SECINFO_NOT_PRESENT (BYTE)0 /*°²È«ÐÅϢδÌṩ*/
#define Z_MMIACBS_SECINFO_PRESENT (BYTE)1 /*°²È«ÐÅÏ¢ÒÑÌṩ*/
#define Z_MMIAPDI_PDPADDR_MAX_LEN (BYTE)4 /*IP V4¸ñʽÏÂPDPµØÖ·×î´ó³¤¶È*/
#define Z_MMIAPDI_DNSADDR_MAX_LEN (BYTE)4 /*DNSµØÖ·×î´ó³¤¶È*/
#define Z_MMIAPDI_UDPCONTENT_MAX_LEN (WORD)256 /*UDPÊý¾Ý°üÄÚÈÝ×î´ó³¤¶È*/
#define Z_MMIAPDI_ABORTCLEAN_INVALID (BYTE)0 /*PDIÊÕµ½ÖжÏÏûÏ¢ºó²»ÐèÒªÇå¿Õ±¾µØ±äÁ¿*/
#define Z_MMIAPDI_ABORTCLEAN_VALID (BYTE)1 /*PDIÊÕµ½ÖжÏÏûÏ¢ºóÐèÒªÇå¿Õ±¾µØ±äÁ¿*/
#ifdef BTRUNK_SUPPORT
#define Z_ATITSM_MAX_GROUPINFO_NUM (BYTE)Z_MAX_GROUP_INFO_NUM /* ×î´ó×é¸öÊý101*/
#define Z_ATITSM_MAX_SCANGROUP_NUM (BYTE)Z_MAX_SCANGROUP_NUM /* ×î´óɨÃè×é¸öÊý20*/
#define Z_ATITSM_MAX_SCANGROUP_IND_NUM (BYTE)16 /* ×î´óɨÃè×éÉϱ¨¸öÊý16*/
#define Z_ATITSM_MAX_SHORTDATA_LEN (WORD)560 /* ¶ÌÊý¾ÝµÄ×î´ó³¤¶È*/
#define Z_ATITSM_MAX_BCD_NUM (BYTE)Z_MAX_BCD_NUM /*×î´óÖµ12*/
#define Z_ATITSM_MAX_GROUP_NAME_NUM (BYTE)Z_MAX_GROUP_NAME_NUM /*×î´óÖµ32*/
#ifdef _R2_SUPPORT
#define Z_ATITSM_MAX_SERVLIST_NUM (BYTE)10
#define Z_ATITSM_MAX_IPADDR_NUM (BYTE)12
#endif
#define Z_ATITSM_CALL_NORMALREL (BYTE)0
#define Z_ATITSM_CALL_EXTRAREL (BYTE)1
#define Z_ATITSM_CALL_USERREJ (BYTE)2
#define Z_ATITSM_CALL_HIGHTLEVELREL (BYTE)3
#define Z_ATITSM_CALL_SINGLEUSERQUIT (BYTE)4
#define Z_ATITSM_CALL_UNSNAPPTTKEYAHEAD (BYTE)5
/*0£ºÍêȫɨÃ蹦ÄÜ 1£º²¿·ÖɨÃ蹦ÄÜ 2£º¹Ø±ÕɨÃ蹦ÄÜ:*/
#define Z_ATITSM_FULL_SCAN (BYTE)Z_FULL_SCAN
#define Z_ATITSM_PART_SCAN (BYTE)Z_PART_SCAN
#define Z_ATITSM_CLOSE_SCAN (BYTE)Z_CLOSE_SCAN
/*00HÒ£±Ð01HÒ£ÔÎ02H¸´»î*/
#define Z_ATITSM_KILL (BYTE)0
#define Z_ATITSM_STUN (BYTE)1
#define Z_ATITSM_NORMAL (BYTE)2
/*0£º»°È¨½²×´Ì¬1£º»°È¨Ìý״̬*/
#define Z_ATITSM_SPEAK_RIGHT (BYTE)0
#define Z_ATITSM_LISTEN_RIGHT (BYTE)1
/*0£º·Ç¸½×Å1£º¸½×ųɹ¦*/
#define Z_ATITSM_DEREG (BYTE)0
#define Z_ATITSM_REG (BYTE)1
/*0£ºÈ¥×¢²á1£º×¢²á*/
#define Z_ATITSM_MODE_DEREG (BYTE)0
#define Z_ATITSM_MODE_REG (BYTE)1
/*0£ººô½Ð¿ÕÏÐ̬1£ººô½Ðͨ»°Ì¬*/
#define Z_ATITSM_CALL_IDLE (BYTE)0
#define Z_ATITSM_CALL_BUSY (BYTE)1
/*Cause*/
#define Z_ATITSM_OPRATE_SUCC (BYTE)0x00 /*00 ²Ù×÷³É¹¦*/
#define Z_ATITSM_PTI_NOTMATCH (BYTE)0x01 /*01 PTI²»Æ¥Åä*/
#define Z_ATITSM_INVALID_PTI (BYTE)0x02 /*02 ÎÞЧPTIÊýÖµ*/
#define Z_ATITSM_NETWORK_FAIL (BYTE)0x03 /*03 ÍøÂçʧ°Ü*/
#define Z_ATITSM_CONGESTION (BYTE)0x04 /*04 ÓµÈû*/
#define Z_ATITSM_INSUFFICIENT_RESOURCES (BYTE)0x05 /*05 ×ÊÔ´²»×ã*/
#define Z_ATITSM_AHTH_FAIL (BYTE)0x06 /*06 ¼øÈ¨Ê§°Ü*/
#define Z_ATITSM_UNDEFINED_CAUSE (BYTE)0x07 /*07 䶨ÒåÔ­Òò*/
#define Z_ATITSM_BEARER_ACTIVE_FAIL (BYTE)0x08 /*08 ³ÐÔØ½¨Á¢Ê§°Ü*/
#define Z_ATITSM_TIMER_OUT (BYTE)0x09 /*09 ¶¨Ê±Æ÷³¬Ê±*/
#define Z_ATITSM_OPERATOR_PROHIBIT (BYTE)0x0A /*0A ²Ù×÷Ô±½ûÖ¹¸ÃÒµÎñ*/
#define Z_ATITSM_ILLEGAL_USER (BYTE)0x0B /*0B ·Ç·¨Óû§*/
#define Z_ATITSM_NETWORK_NOTSUPPORT (BYTE)0x0C /*0C ÍøÂç²»Ö§³Ö¸ÃÒµÎñ*/
#define Z_ATITSM_NETWORK_CURRENT_NOTSUPPORT (BYTE)0x0D /*0D ÍøÂç²àµ±Ç°²»Ö§³Ö¸ÃÒµÎñ*/
#define Z_ATITSM_USER_NOT_OPEN (BYTE)0x0E /*0E Óû§Î´¿ªÍ¨¸ÃÒµÎñ*/
#define Z_ATITSM_MOUSER_NOT_RIGHT (BYTE)0x0F /*0F Ö÷½ÐÓû§Ã»ÓÐȨÏÞ*/
#define Z_ATITSM_PTI_IN_USED (BYTE)0x10 /*10 PTIÒѾ­±»Ê¹ÓÃ*/
#define Z_ATITSM_UE_NETWORK_PROCESS_CONFLICT (BYTE)0x11 /*11 Öն˺ÍÍøÂç²àÁ÷³Ì³åÍ»*/
#define Z_ATITSM_MSG_SEMANTIC_ERROR (BYTE)0x12 /*12 ÏûÏ¢ÓïÒâ´íÎó*/
#define Z_ATITSM_INVALID_MANDATORY_IE (BYTE)0x13 /*13 ÎÞЧµÄ±ØÑ¡IE*/
#define Z_ATITSM_IE_NOT_EXIST (BYTE)0x14 /*14 IE²»´æÔÚ*/
#define Z_ATITSM_CONDITIONAL_IE_ERROR (BYTE)0x15 /*15 Ìõ¼þ¿ÉÑ¡IE´íÎó*/
#define Z_ATITSM_MSG_PROTOCOLSTATE_CONFLICT (BYTE)0x16 /*16 ÏûÏ¢ºÍЭÒé״̬³åÍ»*/
#define Z_ATITSM_ROAMING_NOT_ALLOW (BYTE)0x17 /*17 ²»ÔÊÐíÂþÓÎ*/
#define Z_ATITSM_SWITCHOFF_DEREG (BYTE)0x18 /*18 ¹Ø»ú×¢Ïú*/
#define Z_ATITSM_STANDARD_DEREG (BYTE)0x19 /*19 ±ê×¼×¢Ïú*/
#define Z_ATITSM_DEREG_REATTACH (BYTE)0x1A /*1A ×¢ÏúºóÐèÖØÐ·¢Æð×¢²á*/
#define Z_ATITSM_DEL_SUBSCRIBER_DATA_DEREG (BYTE)0x1B /*1B Óû§Ç©Ô¼Êý¾Ý±»É¾³ýÒýÆðµÄ×¢Ïú*/
#define Z_ATITSM_GROUP_NOT_EXIST (BYTE)0x1C /*1C ×é²»´æÔÚ*/
#define Z_ATITSM_ADMINISTRATOR_PROHIBIT_THISGROUP (BYTE)0x1D /*1D ¹ÜÀíÔ±½ûÖ¹¸Ã×é*/
#define Z_ATITSM_MTUSER_NOT_EXIST (BYTE)0x1E /*1E ±»½Ð·½²»´æÔÚ*/
#define Z_ATITSM_ADMINISTRATOR_PROHIBIT_MTUSER (BYTE)0x1F /*1F ±»½Ð·½±»¹ÜÀíÔ±½ûÖ¹*/
#define Z_ATITSM_GROUP_MEMBER_INVALID (BYTE)0x20 /*20 ×é³ÉÔ±ÎÞЧ*/
#define Z_ATITSM_MTUSER_NOT_CALLRIGHT (BYTE)0x21 /*21 ±»½Ð·½ÎÞºô½ÐȨÏÞ*/
#define Z_ATITSM_MTUSER_SWITCHOFF (BYTE)0x22 /*22 ±»½Ð·½¹Ø»ú*/
#define Z_ATITSM_MTUSER_NOT_RSP (BYTE)0x23 /*23 ±»½ÐÓû§ÎÞÏìÓ¦*/
#define Z_ATITSM_NORMAL_REL_CALL (BYTE)0x24 /*24 Õý³£ºô½ÐÊÍ·Å*/
#define Z_ATITSM_PDS_REL_CALL (BYTE)0x25 /*25 µ÷¶Ę̀Êͷźô½Ð*/
#define Z_ATITSM_EXCEPT_REL_CALL (BYTE)0x26 /*26 Òì³£ºô½ÐÊÍ·Å*/
#define Z_ATITSM_USER_IS_BUSYING (BYTE)0x27 /*27 Óû§Õýæ*/
#define Z_ATITSM_USER_ALERTING_NOT_ANSWER (BYTE)0x28 /*28 ±»½ÐÒѾ­ÕñÁ壬Óû§Î´½ÓÌý*/
#define Z_ATITSM_USER_REJ_ANSWER (BYTE)0x29 /*29 ±»½ÐÓû§¾Ü¾ø½ÓÌý*/
#define Z_ATITSM_HIGHER_PRIOR_USER_REL (BYTE)0x2A /*2A ±»¸ßÓÅÏȼ¶Óû§ÊÍ·Å*/
#define Z_ATITSM_NOT_SPEAKER_RIGHT (BYTE)0x2B /*2B ûÓÐ˵»°È¨ÏÞ*/
#define Z_ATITSM_QUEUE_FULL (BYTE)0x2C /*2C ¶ÓÁÐÂú*/
#define Z_ATITSM_WAIT_INLINE_TIMEROUT (BYTE)0x2D /*2D ÅŶӳ¬Ê±*/
#define Z_ATITSM_KICK_OUT_QUEUE (BYTE)0x2E /*2E ±»Ìß³ö¶ÓÁÐ*/
#define Z_ATITSM_UE_FLOOR_REL (BYTE)0x2F /*2F ÖÕ¶Ë·¢Æð»°È¨ÊÍ·Å*/
#define Z_ATITSM_FLOOR_IS_FORESTALLED (BYTE)0x30 /*30 »°È¨±»ÇÀÕ¼*/
#define Z_ATITSM_SPEAKER_TIMER_IMMEDIATE_TIMEOUT (BYTE)0x31 /*31 ½²»°¶¨Ê±Æ÷¼´½«³¬Ê±*/
#define Z_ATITSM_ADDGROUP_EXIST_IN_UE (BYTE)0x32 /*32 ÐèÒªÐÂÔöµÄȺ×éÔÚÖÕ¶ËÒÑ´æÔÚ*/
#define Z_ATITSM_DELGROUP_NOTEXIST_IN_UE (BYTE)0x33 /*33 ÐèҪɾ³ýµÄȺ×éÔÚÖն˲»´æÔÚ*/
#define Z_ATITSM_MODIFYGROUP_NOTEXIST_IN_UE (BYTE)0x34 /*34 ÐèÒªÐÞ¶©µÄȺ×éÔÚÖն˲»´æÔÚ*/
#define Z_ATITSM_OUT_OF_MAX_SAVEDGROUPS (BYTE)0x35 /*35 ³¬¹ýÖÕ¶Ë¿ÉÒÔ´æ´¢µÄ×î´óȺ×éÊý */
#define Z_ATITSM_UE_ARREARS (BYTE)0x36 /*36 Ç··Ñ*/
#define Z_ATITSM_CALL_NOT_EXIST (BYTE)0x37 /*37 ºô½Ð²»´æÔÚ*/
#define Z_ATITSM_USER_NOTIN_SRV_AREA (BYTE)0x38 /*38 ·¢ÆðÇëÇóµÄÓû§²»ÔÚÒµÎñ·¶Î§Ö®ÄÚ*/
#define Z_ATITSM_NETWORK_RELEASE_CALL (BYTE)0x39 /*39 ¼¯ÈººËÐÄÍøÇ¿ÖÆ·¢ÆðµÄºô½ÐÊÍ·Å*/
#define Z_ATITSM_UNIONBROAD_GROUP_ISACTIVING (BYTE)0xA0 /*A0 ËùÊôµÄͨ²¨×éÕýÔÚ¼¤»î*/
//#define Z_ATITSM_USER_NOTIN_CALLING_AREA (BYTE)0xA1 /*A1 Óû§²»ÔÚºô½ÐÇøÓòÄÚ*/
//#define Z_ATITSM_NOT_SRV_AREA_REJECT_NETSERVICE (BYTE)0xA2 /*A2 Óû§²»ÔÚÒµÎñÇøÓòÄÚ*/
#define Z_ATITSM_NOTHAVE_BEFOREHAND_AUTHORITY (BYTE)0xA3 /*A3 ûÓÐÔ¤Õ¼ÓÅÏÈȨÏÞ*/
#define Z_ATITSM_UE_AHEAD_REL (BYTE)0xA4 /*A4 Óû§ÌáǰÊÍ·Å*/
#define Z_ATITSM_CALL_FORWARD_FAIL (BYTE)0xA5 /*A5 ºô½Ð×ªÒÆÊ§°Ü*/
#define Z_ATITSM_CALLFORWARD_ABORT (BYTE)0xD0 /*D0 ºô½Ðǰת±»ÖжÏ*/
#define Z_ATITSM_CALLFORWARD_SETCMDNOTEND (BYTE)0xD1 /*D1 ǰתÉèÖÃÃüÁîδ½áÊø£¬²»Ö´Ðвéѯ*/
#define Z_ATITSM_CALLFORWARD_NETWORK_RSPFAIL (BYTE)0xD2 /*D2 Íø²à»Ø¸´Ê§°Ü*/
#define Z_ATITSM_UE_IS_STUNNED (BYTE)0xD3 /*D3 Öն˱»Ò£ÔÎ*/
#define Z_ATITSM_UE_IS_KILLED (BYTE)0xD4 /*D4 Öն˱»Ò£±Ð*/
#define Z_ATITSM_RRC_REL (BYTE)0xD5 /*D5 RRCÁ¬½ÓÊÍ·Å*/
#define Z_ATITSM_LTE_NOT_ATTACH (BYTE)0xD6 /*D6 LTEδע²á*/
#define Z_ATITSM_UE_TRIGGER_DEREG (BYTE)0xD7 /*D7 UE´¥·¢LTEÈ¥×¢²á*/
#define Z_ATITSM_NETWORK_TRIGGER_DEREG (BYTE)0xD8 /*D8 ÍøÂç´¥·¢LTEÈ¥×¢²á*/
#define Z_ATITSM_NOT_SUPPORT_PTT (BYTE)0xD9 /*D9 ²»Ö§³Ö¼¯ÈºÒµÎñ*/
#define Z_ATITSM_UNSPECIFIED_CAUSE_DEREG_STATE (BYTE)0xDA /*DA 䶨ÒåÔ­Òò£¨½øÈëδע²á̬£©*/
#define Z_ATITSM_CALL_IS_PROCEEDING (BYTE)0xDB /*DB ÒÑÓкô½ÐÔÚ·¢Æð*/
#define Z_ATITSM_NETWORT_NOT_SUPPORT_TERMINAL_TO_TERMINAL_KEY (BYTE)0xDC /*DC ÍøÂç²»Ö§³Ö¶Ëµ½¶Ë¼ÓÃÜ*/
#define Z_ATITSM_NETWORT_NOT_SUPPORT_HALFDUPLEX_SIGLECALL (BYTE)0xDD /*DD ÍøÂç²»Ö§³Ö°ëË«¹¤µ¥ºô*/
#define Z_ATITSM_USER_ABORT (BYTE)0xDE /*DE Óû§ÖжÏ*/
#define Z_ATITSM_CALL_REL_FAIL (BYTE)0xDF /*DF ºô½ÐÊÍ·Åʧ°Ü*/
#define Z_ATITSM_USER_NAME_LEN (BYTE)32
#define Z_ATITSM_MAX_TRUNK_IP_ADDR_NUM (BYTE)16
#define Z_ATITSM_PTTBEAR_NUM (BYTE)4
#endif
#define MMIA_AS_LTE_MAX_SINR_NUM (BYTE)4
#define MMIA_AS_LTE_MAX_RSSI_NUM (BYTE)2
#define Z_ZEPCG_PARAM_NUMBER (BYTE)25
#define Z_ZGPCG_PARAM_NUMBER (BYTE)25
#define Z_ZUPCG_PARAM_NUMBER (BYTE)25
#define Z_ZUPCG_VALFG_NUMBER (BYTE)8
#define Z_MAX_TMGI_NUM_IN_MBSFN_AREA (BYTE)16
#define Z_MAX_MBSFN_AREA_NUM_IN_CELL (BYTE)8
#define Z_MAX_SESSION_NUM__IN_CELL ((WORD)(435))/* 15pmch * 29session */
#define Z_MAX_SAI_NUM_PER_FREQ (BYTE)64
#define Z_MAX_SAI_NUM_PER_TMGI (WORD)256
#define Z_MAX_LTE_FREQ_NUM (BYTE)9
#define Z_MAX_MBMS_TMGI_LIST_NUM (BYTE)32
/*eMBMS¼¤»î״̬*/
#define TMGI_ACT_STATUS_SUCC (BYTE)0 /*¼¤»î³É¹¦*/
#define TMGI_ACT_STATUS_DUPLC_ACT (BYTE)1 /*ÖØ¸´¼¤»î*/
#define TMGI_ACT_STATUS_CHNL_UNAVAILABLE (BYTE)2 /*TMGIÆ¥ÅäÉÏ£¬sessionIdûÓÐÆ¥ÅäÉÏ*/
#define TMGI_ACT_STATUS_UNICAST_UNSTABLE (BYTE)3 /*LTE RRC´¦ÓÚÔÝ̬*/
#define TMGI_ACT_STATUS_EMBMS_UNSUPPORT (BYTE)4 /*SIB13²»´æÔÚ´Ó¶ø²»Ö§³ÖMBMS*/
#define TMGI_ACT_STATUS_TMGI_OOC (BYTE)5 /*TMGIûÓÐÆ¥ÅäÉÏ*/
#define TMGI_ACT_STATUS_OOS (BYTE)6 /*µ¥²¥OOS£¬LTE´¦ÓÚOOS»òÈ¥»î״̬*/
#define TMGI_ACT_STATUS_MAX_ACT_SERVICE (BYTE)7 /*³¬¹ý×î´ó¼¤»îÊý*/
/*eMBMSÈ¥¼¤»î״̬*/
#define TMGI_DEACT_STATUS_SUCC (BYTE)0
#define TMGI_DEACT_STATUS_DUPLC_ACT (BYTE)1
#define ATI_AS_STACK_1 (BYTE)88 /*ÓÃÓÚASÖ÷¶¯Éϱ¨Ê±Ä¿µÄË÷ÒýµÄÌîд£¬µ±Ç°ASÊÇÕ»1*/
#define ATI_AS_STACK_2 (BYTE)178 /*ÓÃÓÚASÖ÷¶¯Éϱ¨Ê±Ä¿µÄË÷ÒýµÄÌîд£¬µ±Ç°ASÊÇÕ»2*/
#define ATI_AS_IVALID_SRCINDEX (BYTE)255 /*ÓÃÓÚASÖ÷¶¯Éϱ¨Ê±Ô´Ë÷ÒýµÄÌîд£¬Ä¿Ç°Ã»ÓÐʹÓã¬Òò´ËÌîдÎÞЧֵ*/
#define Z_APMMIA_EM_IND_DISABLE (BYTE)0 /* ¹¤³ÌÄ£Ê½Ð¡ÇøÐÅÏ¢&Çл»ÐÅÏ¢, ¹Ø±ÕÖ÷¶¯Éϱ¨ */
#define Z_APMMIA_EM_IND_ENABLE (BYTE)1 /* ¹¤³ÌÄ£Ê½Ð¡ÇøÐÅÏ¢&Çл»ÐÅÏ¢, ´ò¿ªÖ÷¶¯Éϱ¨ */
#define EV_ZATI2_CpbrExeReq_Ev AP_MMIA_CPBR_EXE_REQ_EV
#define EV_ZATI2_SCpbrSetReq_Ev AP_MMIA_SCPBR_SET_REQ_EV
#define EV_ZATI2_CpbrExeCnf_Ev AP_MMIA_CPBR_EXE_CNF_EV
#define EV_ZATI2_CpbrSetEndCnf_Ev AP_MMIA_CPBR_SET_END_CNF_EV
#define EV_ZATI2_SmsCmglReq_Ev AP_MMIA_SMS_CMGL_REQ_EV
#define Z_MAX_LBS_CELL_NUM (BYTE)3
/*¶¨ÒåCSÓïÒôÄÜÁ¦Éϱ¨½á¹ûÖµ*/
#define Z_CSVOICE_NOT_SPT (BYTE)0
#define Z_CSVOICE_SPT_ONLYEMC (BYTE)1
#define Z_CSVOICE_SPT (BYTE)2
#define MSD_MAX_LENGTH (BYTE)140
#ifdef _USE_LPP_ECID
/*ClientExtId Addr×î´ó³¤¶È*/
#define Z_MAX_CLENTADDR_LEN (BYTE)20
#define Z_MAX_CLENTNAME_LEN (BYTE)160
/* Type of shape */
#define Z_ELLIP_POINT (BYTE)0
#define Z_ELLIP_POINT_UNCERT_CIRCLE (BYTE)1
#define Z_ELLIP_POINT_UNCERT_ELLIPSE (BYTE)3
#define Z_POLYGON (BYTE)5
#define Z_ELLIP_POINT_ALT (BYTE)8
#define Z_ELLIP_POINT_ALT_UNCERTELLIPSE (BYTE)9
#define Z_ELLIP_POINT_ARC (BYTE)10
/* Type of Velocity */
#define Z_HORIZON_VEL (BYTE)0
#define Z_HORIZON_VERTIC_VEL (BYTE)1
#define Z_HORIZON_VEL_UNCERT (BYTE)2
#define Z_HORIZON_VERTIC_VEL_UNCERT (BYTE)3
#endif
typedef enum
{
EV_ZATI2_BEGIN = 0x9000,
EV_ZATI2_TASK_INIT_SIG,
EV_ZATI2_RECV_COMMAND_IND,
EV_ZATI2_MUX_CLOSE_IND, /* ÊÕµ½¶Ô·½¹Ø±ÕMUXͨµÀÇëÇó£¬ÐèÒª¹Ø±Õ±¾·½MUXͨµÀ */
EV_ZATI2_INIT_CARD_BAK_READY, /* ÓÉATI2¸æËß±¾ÈÎÎñ£¬±¸·ÝSIM¿¨Êý¾ÝÍê³É */
EV_ZATI2_INIT_NV_DATA_IND, /* ÓÉATI2¸æËß±¾ÈÎÎñ£¬³õʼ»¯NV¿¨Êý¾Ý */
EV_ZATI2_SM_ZGIPDNS_IND, /* + ZGIPDNS: Éϱ¨Ö¸Ê¾ÏûÏ¢ */
EV_ZATI2_ZGDATATEST_SET_CNF,
EV_ZATI2_ZGDATATEST_SET_REQ,
EV_ZATI2_GET_PDP_DNS_IP_ADDR_IND, /* »ñÈ¡PDP¼¤»îºóµÄDNS/IPµØÖ· */
EV_ZATI2_NV_SIM_RESEND_AVAIL_IND, /* ÖØÐ·¢Í¨¸æ£¬ÓйØSIM¿¨¿Õ¼ä¿ÉÓà */
EV_ZATI2_TEST_SEND_CS_DATA,
EV_ZATI2_SmsCmgdTestReq_Ev,
EV_ZATI2_CMGD_TEST_CNF,
EV_ZATI2_ZWEN_SET_REQ,
EV_ZATI2_ZWEN_CNF,
EV_ZATI2_DELEXT1_CNF,
EV_ZATI2_DELEXT5_CNF,
EV_ZATI2_ZPODW_SET_REQ,
EV_ZATI2_BOARDNUM_SET_REQ,
EV_ZATI2_BOARDNUM_QUERY_REQ,
EV_ZATI2_PRODTEST_REQ,
EV_ZATI2_DTMF_REQ,
EV_ZATI2_ZFLAG_SET_REQ,
EV_ZATI2_ZFLAG_QUERY_REQ,
EV_ZATI2_STMLIST_IND,
EV_ZATI2_ZMODESWITCH_SET_REQ,
EV_ZAT2_AUTOSTART_IND,
EV_ZATI2_ZSET_SET_REQ,
EV_ZATI2_LTE_ZCONSTAT_IND, /* +ZCONSTAT: Éϱ¨Ö¸Ê¾ÏûÏ¢ FOR NEWCM ZPR 11-02-26*/
EV_ZATI2_CPBR_CNF,
EV_ZATI2_ZMSRI_IND, /* 617001591411 ¡¾ÖÇÄÜ»úÐèÇó¡¿- ÖÇÄÜ»úÐèÇóV3°æ±¾Í¬²½ÊµÏÖ*/
EV_ZATI2_ZMSRI_IND_EXPIRY_EV, /* 617001591411 ¡¾ÖÇÄÜ»úÐèÇó¡¿- ÖÇÄÜ»úÐèÇóV3°æ±¾Í¬²½ÊµÏÖ*/
EV_ZATI2_COPN_CNF,
EV_ZATI2_ZEMCELLINFO_REQ, /*Óɺ¯Êý½Ó¿Ú´¥·¢µÄ»ñÈ¡7520¹¤³ÌģʽÇëÇó*/
EV_ZATI2_ZDTMF_IND,
EV_ZATI2_END
}T_ZAti_EvDef;
typedef struct{
BYTE bSpare0:3;
BYTE bSrvCateg :5;
BYTE bNumLen;
BYTE abNum[Z_ATIUMM_MAX_EMERNUM_DIGIT_NUM];
}T_zAtiUmm_EmerNum;
/*24008_10.5.3.13 , Emergency_Number_List*/
typedef struct{
BYTE bEmerNumLen;
T_zAtiUmm_EmerNum atEmerNum[Z_ATIUMM_MAX_EMERNUM_NUM];
}T_zAtiUmm_EcNumList;
typedef struct{
BYTE bSpare0:1;
BYTE bCodeSchm :3;
BYTE bAddCI :1;
BYTE bNumSpare :3;
BYTE bTxtStrLen;
BYTE abTxtStr[Z_ATIUMM_MAX_TXTSTR_NUM];
}T_zAtiUmm_NetName;
typedef struct{
BYTE bYear;
BYTE bMonth;
BYTE bDay;
BYTE bHour;
BYTE bMinute;
BYTE bSecond;
BYTE bTmZone;
}T_zAtiUmm_TZAndTime;
typedef struct{
BYTE bLsaIdLen;
BYTE abLsaId[Z_ATIUMM_MAX_LSAID_NUM];
}T_zAtiUmm_LsaId;
/*==============================================================================
Ô­ÓMMIA_UMM_SearchPlmnReq_EV( MMIA->UMM )
˵Ã÷: ÒªÇóUMM¿ªÊ¼Ñ¡Íø£¬²¢Ö¸Ã÷Ñ¡ÍøÄ£Ê½¡¢Ö¸¶¨µÄPLMNµÈ
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* The source index */
BYTE bDesIndex; /* The destination index */
BITS bReselFg:1; /* 0:·ÇÓû§ÖØÑ¡ 1:Óû§ÖØÑ¡ */
BITS bAutoFg:1; /* 0:×Ô¶¯Ä£Ê½ 1:ÊÖ¶¯Ä£Ê½ */
BITS bFailToAutoFg:1; /* 0:ʧ°Üºó±£³ÖÊÖ¶¯ 1:ʧ°Üºóת×Ô¶¯Ñ¡ÍøÄ£Ê½ */
BITS bOperFg:1; /*0:δָ¶¨ÔËÓªÉÌ1:Ö¸¶¨ÔËÓªÉ̵±bOperFgÓÐЧtPlmnActÖеÄPLmnIDºöÂÔ*/
BITS :4;
BYTE bNameFg; /*0±íʾ³¤Ãû,1±íʾ¶ÌÃû,bOperFgΪ1ʱÓÐЧ*/
BYTE abOperate[Z_MAX_LONGNAME_LEN]; /*ÖйúÒÆ¶¯-CMCC; ÖйúÁªÍ¨-CUCC;ÖйúµçÐÅ-CTCC*/
T_z_PlmnAct tPlmnAct; /* Ö¸¶¨PLMNÐÅÏ¢ */
}T_zMmiaUmm_SearchPlmn_Req;
/*==============================================================================
Ô­ÓMMIA_UMM_PlmnInfoInd_EV( UMM->MMIA )
˵Ã÷: UMMÉϱ¨¸øMMIAµÄפÁôµÄPLMNµÄÐÅÏ¢ºÍ״̬
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* The source index */
BYTE bDesIndex; /* The destination index */
BYTE bCsState; /* CSÓò×¢²á״̬£¬¾ßÌå״̬¼ûºê¶¨Òå */
BYTE bPsState; /* PSÓò×¢²á״̬£¬¾ßÌå״̬¼ûºê¶¨Òå */
BYTE bCsReason; /* CSÓò×¢²áʧ°ÜÔ­Òò£¬¼ûºê¶¨Òå */
BYTE bPsReason; /* PSÓò×¢²áʧ°ÜÔ­Òò£¬¼ûºê¶¨Òå */
BYTE bPsSrv; /* Ð¡ÇøÊÇ·ñÖ§³ÖpsÓòÒµÎñ£¬À´×ÔϵͳÏûÏ¢: zps_invalid:²»Ö§³Ö£¬zps_valid: Ö§³Ö */
BYTE bCsSrv; /* Ð¡ÇøÊÇ·ñÖ§³ÖcsÓòÒµÎñ£¬À´×ÔϵͳÏûÏ¢ : zps_invalid:²»Ö§³Ö£¬zps_valid: Ö§³Ö*/
T_z_PlmnAct tPlmnAct;
T_z_LAC tLac; /* λÖÃÇø±àÂë */
T_z_CellId tCellId; /* Ð¡ÇøID??? */
T_zAtiUmm_EcNumList tEcNumList; /* ÆäÖÐbNumÎªÍøÂçЯ´øµÄ½ô¼±ºô½ÐºÅÂë¸öÊý£¬¶¨Òåͬ24008.
ÔÚ¸öÊý²»Îª0ʱÐèÒª¸²¸ÇMEÔ­À´´æ´¢µÄºÅÂ룻¸öÊýΪ0ʱ¸ù¾ÝMCCȡֵȷ¶¨ÊÇ·ñɾ³ý*/
BYTE bRac;
BYTE bEpsState;
BYTE bEpsReason;
BYTE bImsOverPsInd; /*the IMS voice over PS session indicator*/
BYTE bEmergencybearerInd; /*the emergency bearer services indicator*/
WORD wTac;
BYTE bPadding;
}T_zMmiaUmm_PlmnInfo_Ind;
/*==============================================================================
Ô­ÓMMIA_UMM_PlmnListReq_EV( MMIA->UMM )
˵Ã÷: ÇëÇóUMMËÑË÷Ö¸¶¨Ä³ÖÆÊ½»òijЩÉϵÄPLMNÁбí
==============================================================================*/
typedef struct {
BYTE bSrcIndex; // The source index
BYTE bDesIndex; // The destination index
BYTE bAct; // ÖÆÊ½ÐÅÏ¢
BYTE bNeedBandInfo; // 0: ÆÕͨµÄPLMNÁбíÇëÇó;
// 1: ÒªÇóÉϱ¨Æµ¶ÎÐÅÏ¢µÄÇëÇó.
BYTE bScanFlag;
BYTE abPadding[3];
}T_zMmiaUmm_PlmnList_Req;
/*==============================================================================
Ô­ÓMMIA_UMM_PlmnListCnf_EV( UMM->MMIA )
˵Ã÷: UMMÉϱ¨¸øMMIA¿ÉÓÃÁбíµÄÐÅÏ¢£¬²¢±êÃ÷״̬
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* The source index */
BYTE bDesIndex; /* The destination index */
BYTE bNumPlmn;
BYTE bPadding;
T_z_PlmnAct atPlmnList[Z_MaxPossiblePlmnNum]; /*ËùÓÐËÑѰµ½µÄPLMNÁбí*/
WORD awPlmnRsrp[Z_MaxPossiblePlmnNum]; /* ÐźÅÇ¿¶È*/
WORD awPlmnQmin[Z_MaxPossiblePlmnNum]; /*פÁôÃÅÏÞQrxlevmin*/
BYTE abStateList[Z_MaxPossiblePlmnNum]; /*ÿPLMNÏàÓ¦µÄ״̬£º0:δ֪ 1:¿ÉÓà 2:µ±Ç° 3:½ûÓÃ*/
BYTE abPadding1[2];
DWORD dwCause; /* »ñÈ¡Áбíʧ°ÜÔ­Òò */
}T_zMmiaUmm_PlmnList_Cnf;
/*==============================================================================
Ô­ÓMMIA_UMM_SCAN_CNf_EV( UMM->MMIA )
˵Ã÷: UMMÉϱ¨¸øMMIAɨƵ½á¹û
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* The source index */
BYTE bDesIndex; /* The destination index */
BYTE bScanPlmnNum;
BYTE bPadding;
T_z_ScanPlmnInfo atScanPlmnInfoList[Z_MaxPossiblePlmnNum];
DWORD dwCause; /* ʧ°ÜÔ­Òò */
}T_zMmiaUmm_Scan_Cnf;
/*==============================================================================
Ô­ÓMMIA_UMM_PLMNLIST_BANDINFO_CNF_EV(UMM->MMIA)
˵Ã÷: »Ø¸´PLMNÁбí¿ÉÓÃÍøÂç¼°ÆäƵ¶ÎÐÅÏ¢µÄÈ·ÈÏÏûÏ¢
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bGsmAPlmnNum; /*GSMÖÆÊ½Ï¿ÉÓÃPLMNÁбí¸öÊý*/
BYTE bTdAPlmnNum; /*UTRANÖÆÊ½Ï¿ÉÓÃPLMNÁбí¸öÊý*/
BYTE bWAPlmnNum;
BYTE bLteAPlmnNum; /*LTEÖÆÊ½Ï¿ÉÓÃPLMNÁбí¸öÊý*/
T_z_AvailPlmn *ptGAPlmnList; /*GSMÖÆÊ½Ï¿ÉÓÃPLMNÁбí*/
T_z_AvailPlmn *ptTAPlmnList; /*TDÖÆÊ½Ï¿ÉÓÃPLMNÁбí*/
T_z_AvailPlmn *ptWAPlmnList; /*WÖÆÊ½Ï¿ÉÓÃPLMNÁбí*/
T_z_AvailPlmn *ptEAPlmnList; /*LTEÖÆÊ½Ï¿ÉÓÃPLMNÁбí*/
}T_zMmiaUmm_PlmnList_BandInfo_Cnf;
/*==============================================================================
Ô­ÓMmiaUmm_ActiveReq_EV( MMIA->UMM )
˵Ã÷: ÇëÇóUMM¼¤»î»òÈ¥¼¤»îij¸öÓò
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* The source index */
BYTE bDesIndex; /* The destination index */
BITS bActiveType:1; /* 0:attach; 1:detach */
BITS bActiveValue:2; /* 0:cs; 1:ps; 2:cs/ps */
BITS :5;
BYTE bPadding;
}T_zMmiaUmm_Active_Req;
/*==============================================================================
Ô­ÓMMIA_UMM_ActiveCnf_EV( UMM->MMIA )
˵Ã÷: UMM¶Ô¼¤»î»òÈ¥¼¤»î²Ù×÷µÄÈ·ÈÏ
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* The source index */
BYTE bDesIndex; /* The destination index */
BYTE bResult; /* ¶¯×÷½á¹û£¬È¡ÖµmSuccRlt_M, mFailRlt_M */
BYTE bPadding1;
WORD wCause; /* GPRS Attachʧ°ÜÔ­Òò£¬¾ßÌåȡֵ¼ûÏàÓ¦µÄºê¶¨Òå */
BYTE abPadding2[2];
}T_zMmiaUmm_Active_Cnf;
/*==============================================================================
Ô­ÓMMIA_UMM_MmInfoInd_EV( UMM->MMIA )
˵Ã÷: UMMÉϱ¨¸øMMIAÍøÂçµÄÐÅÏ¢¡£MMIAµÄ´¦Àíͨ¹ýºêÀ´¿ØÖÆ
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* The source index */
BYTE bDesIndex; /* The destination index */
BITS bFNameFg:1;
BITS bSNameFg:1;
BITS bLTZoneFg:1;
BITS bUTimeFg:1;
BITS bLasIdFg:1;
BITS bSTimeFg:1;
BITS :2;
BYTE bLocalTZone; /* µ±µØÊ±Çø£¬¾ßÌ嶨Òå¼û24008 10.5.3.8*/
T_zAtiUmm_NetName tFullName;/* ÔËÓªÉÌÈ«³Æ */
T_zAtiUmm_NetName tShortName;/* ÔËÓªÉÌËõÃû */
T_zAtiUmm_TZAndTime tUTime; /* ͨÓÃʱ¼äºÍÊ±Çø£¬¾ßÌ嶨Òå¼û24008 10.5.3.9*/
T_zAtiUmm_LsaId tLsaId; /* LSA ID,¾ßÌ嶨Òå¼û24008 10.5.3.11*/
BYTE bSavTime; /* ÏÄÊ±ÖÆµ÷ÖÆÊ±¼ä£¬¾ßÌ嶨Òå¼û24008 10.5.3.12.¸Ã²ÎÊý²»´æÔÚʱµÈͬÓÚȡֵ0*/
T_z_PlmnId tCurPlmnId; /*µ±Ç°ÍøÂçID*/
}T_zMmiaUmm_MmInfo_Ind;
/*==============================================================================
Ô­ÓMMIA_UMM_CAUSE_IND_EV( UMM-->ATI )
˵Ã÷: NASÏòATIÖ÷¶¯Éϱ¨Cause
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
BYTE bModType;/*0-MM*/
BYTE bAct; /*3-GSM,5-W,15-TD,17-LTE*/
BYTE bDomain; /*0-CS,1-PS*/
BYTE bCause;
}T_zMmiaUmm_Cause_Ind;
/*==============================================================================
Ô­ÓMMIA_UMM_RFControlReq_EV( MMIA->UMM )
˵Ã÷: MMIA·¢ËÍ¿ª¹ØÉ䯵µÄÇëÇóµ½UMM
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* The source index */
BYTE bDesIndex; /* The destination index */
BYTE bState; /* 0:off,1:on*/
BYTE bPadding;
}T_zMmiaUmm_RFControl_Req;
/*==============================================================================
Ô­ÓMMIA_UMM_RFControlCnf_EV( UMM->MMIA )
˵Ã÷: UMMÏòMMIAÈ·ÈÏÉ䯵¿ªÆô»ò¹Ø±Õ
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* The source index */
BYTE bDesIndex; /* The destination index */
BYTE bResult;/* ¶¯×÷½á¹û£¬È¡ÖµmSuccRlt_M, mFailRlt_M */
BYTE bPadding;
}T_zMmiaUmm_RFControl_Cnf;
/*==============================================================================
Ô­ÓMMIA_UMM_AbortReq_EV( MMIA->UMM )
˵Ã÷: MMIAÇëÇóUMMÖжϵ±Ç°µÄ²Ù×÷
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* The source index */
BYTE bDesIndex; /* The destination index */
WORD wCause;
}T_zMmiaUmm_Abort_Req;
/**************************************************************************
ÏûÏ¢£ºMMIA_UMM_EM_LockCellReq_Ev
¹¦ÄÜ£º¹¤³ÌģʽÏÂÇëÇóËø¶¨Ð¡Çø×¤Áô£¨½öÊÊÓÃÓÚTDÖÆÊ½ÏµÄÊÖ¶¯ËÑÍøÇÒÓзþÎñÐ¡Çø£©
**************************************************************************/
typedef struct{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bAction; /*1: Ëø¶¨Ð¡Çø, 0: ½âËøÐ¡Çø*/
BYTE bPadding1;
WORD wUarfcn; /*Ëø¶¨Ð¡ÇøÊ±ÓÐЧ*/
WORD wCellParaId; /*Ëø¶¨Ð¡ÇøÊ±ÓÐЧ*/
}T_zMmiaUmm_EM_LockCell_Req;
/**************************************************************************
ÏûÏ¢£ºMMIA_UMM_EM_LockCellCnf_Ev
¹¦ÄÜ£º¹¤³ÌģʽÏÂËøÐ¡ÇøÖ¤Êµ£¨½öÊÊÓÃÓÚTDÖÆÊ½ÏµÄÊÖ¶¯ËÑÍøÇÒÓзþÎñÐ¡Çø£©
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bResult;
BYTE bPadding;
DWORD dwReason;
}T_zMmiaUmm_EM_LockCell_Cnf;
/*==============================================================================
Ô­ÓMMIA_UMM_SysconfigReq_EV( MMIA->UMM )
MMIA_UMM_SYSCONFIG_QUERY_CNF_EV(UMM->MMIA)
˵Ã÷: ÒªÇóUMM¿ªÊ¼ÆôÓÃеÄϵͳÅäÖá£
UMM»Ø¸´MMIAµ±Ç°µÄϵͳÅäÖÃÐÅÏ¢£»
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* The source index */
BYTE bDesIndex; /* The destination index */
BYTE abPadding[2];
BYTE bMode; /* ϵͳģʽ²Î¿¼£¬²Î¼ûºê¶¨Òå*/
BYTE bacqorder; /* ÍøÂç½ÓÈë´ÎÐò£¬²Î¼ûºê¶¨Òå*/
BYTE broam; /* ÊÇ·ñÖ§³ÖÂþÓΣ¬²Î¼ûºê¶¨Òå*/
BYTE bSrvdomain; /* ÓòÉèÖ㬲μûºê¶¨Òå*/
}T_zMmiaUmm_SysconfigReq_Req, T_zMmiaUmm_SysconfigQry_Cnf;
/*==============================================================================
Ô­ÓMMIA_UMM_CommonCnf_Ev( UMM->MMIA )
˵Ã÷: UMM¶ÔÆôÓÃÐÂÅäÖòÙ×÷µÄÈ·ÈÏ£¨ºóÐø²Ù×÷¿ÉÒÔÀ©Õ¹£©
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* The source index */
BYTE bDesIndex; /* The destination index */
BYTE bResult; /* ¶¯×÷½á¹û£¬È¡ÖµmSuccRlt_M, mFailRlt_M */
BYTE bPadding1;
DWORD dwCause; /* ÉèÖÃʧ°ÜÔ­Òò: £¨¾­Â½»¶È·ÈÏ£¬Õë¶ÔsysconfigÖ»Ìîд´ËÔ­Òò:²Ù×÷²»ÔÊÐí£©*/
}T_zMmiaUmm_Common_Cnf;
/*==============================================================================
MMIA_UMM_CgattQueryReq_EV( MMIA->UMM )
MMIA_UMM_VOICE_MODE_QUERY_REQ_EV(MMIA->UMM)
MMIA_UMM_SYSCONFIG_QUERY_REQ_EV(MMIA->UMM)
˵Ã÷:²éѯPS¸½×Å״̬
²éѯVoice Mode µ±Ç°Öµ
²éѯsysconfigÉèÖõÄÖµ
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
}T_zMmiaUmm_CgattQuery_Req, T_zMmiaUmm_VoiceModeQry_Req,T_zMmiaUmm_SysconfigQry_Req,T_zMmiaUmm_CauseQuery_Req, T_zMmiaUmm_CsVoiceQry_Req;
/*==============================================================================
MMIA_UMM_CgattQueryCnf_Ev( UMM->MMIA )
˵Ã÷: PS¸½×Å״̬²éѯ½á¹û
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bState; /*
Z_MmiaUmm_CGATTSET_DETACH
Z_MmiaUmm_CGATTSET_ATTACH*/
BYTE bPadding;
}T_zMmiaUmm_CgattQuery_Cnf;
/*==============================================================================
MMIA_UMM_CSVOICEQRY_CNF_EV( UMM->MMIA )
˵Ã÷: CSÓïÒôÄÜÁ¦²éѯ½á¹û
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCsVoiceSupFlg;
BYTE bPadding;
}T_zMmiaUmm_CsVoiceQry_Cnf;
/*==============================================================================
MMIA_UMM_ZattQueryReq_EV( MMIA->UMM )
˵Ã÷: ²éѯCS¸½×Å״̬
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
}T_zMmiaUmm_ZattQuery_Req;
/*==============================================================================
MMIA_UMM_ZattQueryCnf_Ev( UMM->MMIA )
˵Ã÷: CS¸½×Å״̬²éѯ½á¹û
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bState; /*
Z_MmiaUmm_ZATTSET_DETACH
Z_MmiaUmm_ZATTSET_ATTACH*/
BYTE bPadding;
}T_zMmiaUmm_ZattQuery_Cnf;
/*==============================================================================
Ô­ÓMMIA_UMM_SearchPlmnCnf_Ev( UMM->MMIA )
˵Ã÷: UMM¶ÔËÑÍøÇëÇóµÄÈ·ÈÏ
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bResult;
DWORD dwCause;
}T_zMmiaUmm_SearchPlmn_Cnf;
/**************************************************************************
ÏûÏ¢£ºMMIA_UMM_CsgSel_Req_Ev
¹¦ÄÜ£ºCSGÑ¡ÔñÇëÇóÏûÏ¢
ATÃüÁî: +ZCSG=<mode>[,<rat>,<CSG_ID>]
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCsgSelMode; /*CSGÑ¡Ôñģʽ£¬Óйرգ¬×Ô¶¯ºÍÊÖ¶¯3ÖÖ*/
BYTE bPadding;
T_z_CsgId tCsgId; /*Ñ¡ÔñµÄCSGÐÅÏ¢£¬¹Ø±ÕCSGʱ£¬¿É²»Ìî*/
T_z_PlmnAct tPlmnAct; /*¶ÔӦѡÔñµÄCsgËù¹éÊôµÄÍøÂçºÍÑ¡ÔñµÄÖÆÊ½*/
}T_zMmiaUmm_CsgSel_Req;
/**************************************************************************
ÏûÏ¢£ºMMIA_UMM_CsgSel_Cnf_Ev
¹¦ÄÜ£ºCSGÑ¡ÔñÈ·ÈÏÏûÏ¢
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bResult; /*CSGÑ¡ÔñµÄ½á¹û*/
BYTE bPadding;
DWORD bErrCode; /*´íÎóÔ­Òò*/
}T_zMmiaUmm_CsgSel_Cnf;
/**************************************************************************
MMIA_UMM_CurCsgQry_Req_Ev
¹¦ÄÜ£º²éѯµ±Ç°CSGµÄÑ¡Ôñģʽ£¬Ñ¡ÔñµÄPLMNID,RAT,HNB
ATÃüÁî: +ZCSG?
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bPadding[2];
}T_zMmiaUmm_CurCsgQry_Req;
/**************************************************************************
MMIA_UMM_CSG_Cnf_Ev
¹¦ÄÜ£ºCSG²éѯ½á¹û
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCsgSelMode; /* Ñ¡Ôñģʽ,·ÖΪ¹Ø±Õ£¬×Ô¶¯ºÍÊÖ¶¯3ÖÖ */
BYTE bPadding;
T_z_CsgInfo tCsgInfo; /* CSGÐÅÏ¢ */
}T_zMmiaUmm_CurCsgQry_Cnf;
/**************************************************************************
MMIA_UMM_CsgList_Req_Ev
¹¦ÄÜ£ºÁоÙCSG list
ATÃüÁî: +ZCSG=?
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bPadding[2];
}T_zMmiaUmm_CsgList_Req;
/**************************************************************************
MMIA_UMM_CsgList_Cnf_Ev
¹¦ÄÜ£ºCSGÁбí
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bNum; /* CSG¸öÊý */
BYTE bPadding;
T_z_CsgInfo atCsgInfoList[Z_MmiaUmm_MaxCsgNum]; /* CSGÁбí */
BYTE abState[Z_MmiaUmm_MaxCsgNum]; /* ÿ¸öCSG InfoÊÇ·ñÔÚAllowed CSG listÖÐ */
}T_zMmiaUmm_CsgList_Cnf;
/**************************************************************************
ÏûÏ¢£ºMMIA_UMM_EpsModeSetReq_Ev
¹¦ÄÜ£ºMMIA֪ͨUMMÉèÖÃCEMOD²ÎÊý
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bMode; /*+CEMODEÉèÖÃÖµ
* Z_MmiaUmm_CEMODE_PSMODE
* Z_MmiaUmm_CEMODE_MODE1
* Z_MmiaUmm_CEMODE_MODE2
*/
BYTE bPadding;
}T_zMmiaUmm_EpsModeSet_Req;
/**************************************************************************
ÏûÏ¢£ºMMIA_UMM_EpsModeSetCnf_Ev
¹¦ÄÜ£ºUMM֪ͨMMIAÉèÖÃCEMOD²ÎÊýµÄ½á¹û
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bRlt; /*ZPS_SUCC,ZPS_FAIL*/
BYTE bPadding;
DWORD dwCause;
}T_zMmiaUmm_EpsModeSet_Cnf;
/**************************************************************************
ÏûÏ¢£ºMMIA_UMM_EpsModeQryReq_Ev
¹¦ÄÜ£ºMMIAÏòUMMÇëÇóNVÖÐÉèÖõÄCEMOD²ÎÊý
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bPadding[2];
}T_zMmiaUmm_EpsModeQry_Req;
/**************************************************************************
ÏûÏ¢£ºMMIA_UMM_EpsModeQryCnf_Ev
¹¦ÄÜ£ºUMMÏòMMIA»Ø¸´NVÖÐÉèÖõÄCEMOD²ÎÊý
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bMode; /*+CEMODE?ÖеÄÉèÖÃÖµ
* Z_MmiaUmm_CEMODE_PSMODE
* Z_MmiaUmm_CEMODE_MODE1
* Z_MmiaUmm_CEMODE_MODE2
*/
BYTE bPadding;
}T_zMmiaUmm_EpsModeQry_Cnf;
/**************************************************************************
ÏûÏ¢£ºMMIA_UMM_SetLteAct_Req_Ev
¹¦ÄÜ£ºÉèÖÃLTE½ÓÈë¼¼Êõ
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bLteAct; /*
LTEÖ§³ÖµÄ½ÓÈë¼¼Êõ,
Z_MmiaUmm_LTE_TDD_Only
Z_MmiaUmm_LTE_FDD_Only
Z_MmiaUmm_LTE_TDD_Pref
Z_MmiaUmm_LTE_FDD_Pref */
BYTE bPadding;
}T_zMmiaUmm_SetLteAct_Req;
/**************************************************************************
ÏûÏ¢£ºMMIA_UMM_CsSrvInd_Ev
¹¦ÄÜ£ºUMMÏòMMIAÉϱ¨µ±Ç°ÓÐCS±»½Ð£¬ÇëÇóÊÇ·ñÐèÒª½ÓÌý
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bSsCodeFg;
BYTE bSsCode;
T_z_CallNum tCLI;
}T_zMmiaUmm_MtCsSrv_Ind;
/**************************************************************************
ÏûÏ¢£ºMMIA_UMM_CsSrvCnf_Ev
¹¦ÄÜ£ºMMIA»Ø¸´UMMÊÇ·ñÐèÒª½ÓÈë±»½Ð
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bRst; /*Z_VALID - ½ÓÊÜMTÒµÎñ;
Z_INVALID - ¾Ü¾øMT ÒµÎñ*/
BYTE bPadding;
}T_zMmiaUmm_MtCsSrv_Cnf;
/**************************************************************************
ÏûÏ¢£ºMMIA_UMM_ImsRegisterState_Ev
¹¦ÄÜ£ºMMIA֪ͨUMM IMS ×¢²á״̬
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bIMSRegState; /*Z_MmiaUmm_IMS_REGISTERED;
Z_MmiaUmm_IMS_DEREGISTERED*/
BYTE bPadding;
}T_zMmiaUmm_ImsRegisterState_Req;
/**************************************************************************
ÏûÏ¢£ºMMIA_UMM_VOICE_MODE_SET_REQ_EV
MMIA_UMM_VOICE_MODE_QUERY_CNF_EV
¹¦ÄÜ£ºMMIA֪ͨUMM Voice ModeµÄÉèÖÃÖµ
UMM·µ»Øµ±Ç°Voice ModeµÄʵ¼ÊÖµ
˵Ã÷ :: +CVMODÓÉUMM´æ´¢£¬Óû§ÅäÖÃÖµMMIA´«¸øUMM
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDstIndex;
BYTE bVoiceMode; /*
* Z_MMIAUMM_VOICE_MODE_CS_ONLY
* Z_MMIAUMM_VOICE_MODE_VOIP_ONLY
* Z_MMIAUMM_VOICE_MODE_CS_PREF
* Z_MMIAUMM_VOICE_MODE_VOIP_PREF
*/
BYTE bPadding;
}T_zMmiaUmm_VoiceModeSet_Req, T_zMmiaUmm_VoiceModeQry_Cnf;
/**************************************************************************
ÏûÏ¢£ºMMIA_UMM_SMSOVERIPNET_SETREQ_EV
¹¦ÄÜ£ºÉèÖÃSMSÊÇ·ñÖ§³ÖIPnetwork´«ÊäµÄÐÅÏ¢
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bSmsOverIpNetSupp; /*
* Z_VALID: ±íʾSMSÖ§³ÖIPnetwork´«Êä
* Z_INVALID: ±íʾSMS²»Ö§³ÖIPnetwork´«Êä
*/
BYTE bPadding;
}T_zPS_MmiaUmm_SmsOverIpNet_Set_Req,
T_zMmiaUmm_SmsOverIpNet_Set_Req;
/**************************************************************************
ÏûÏ¢£ºMMIA_UMM_NOTIFY_PS_STATE_EV
¹¦ÄÜ£º¶àģ˫´ý֪ͨµ±Ç°´ý»ú²àPS״̬ÐÅÏ¢
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bPsState; /*
* Z_MMIAUMM_PS_STATE_NULL ÎÞЧֵ
* Z_MMIAUMM_PS_STATE_AVAIL
* Z_MMIAUMM_PS_STATE_NOT_AVAIL
*/
BYTE bStackId; /*
* 0: ЭÒéÕ»1
* 1: ЭÒéÕ»2
*/
}T_zMmiaUmm_NotifyPsState;
typedef struct {
BYTE bLteNum; // LTEÁÚÇøµÄ¸öÊý
BYTE bTdNum; // TDÁÚÇøµÄ¸öÊý
WORD wEarfcn[Z_MAX_STORED_EFRQE_NUM]; //LTEÁÚÇø
WORD wUarfcn[Z_MAX_STORED_FRQE_NUM]; //TDÁÚÇø
}T_zMmiaUmm_DualPsTLNCell;
/*==============================================================================
Ô­ÓMMIA_UMM_SUBMODE_IND_EV
˵Ã÷£ºÖ÷¶¯Éϱ¨µ±Ç°HSPAÄÜÁ¦
==============================================================================*/
typedef struct {
BYTE bAct; /*µ±Ç°ÖÆÊ½£¬Ö±½ÓÈ¡psCom.h£¬Z_TD_ACTµÈ*/
BYTE bSubMode; /*µ±Ç°Ð¡ÇøÄÜÁ¦£¬Ö±½ÓÈ¡psCom.h£¬Z_SUBMODE_GSMµÈ*/
BYTE bPadding[2];
}T_zMmiaUmm_SubMode_Ind;
/**************************************************************************
ÏûÏ¢£ºMMIA_UMM_SRVCC_IND_EV
¹¦ÄÜ£ºUMMÏòATIÉϱ¨SRVCCµÄ½á¹û
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bEvent;/*Z_MMIAUMM_SRVCC_START
Z_MMIAUMM_SRVCC_SUCC
Z_MMIAUMM_SRVCC_FAIL*/
BYTE bPadding;
}T_zMmiaUmm_Srvcc_Ind;
/***********************************************************
Ô­Óï: MMIA_UMM_PS_CONTEXT_REQ_EV
¹¦ÄÜ: ATI»ñȡijһ¸ö´ý»ú²àµÄPSÓòMM²ãÉÏÏÂÎÄÐÅÏ¢
***********************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
}T_zMmiaUmm_PsContext_Req;
/***********************************************************
Ô­Óï: MMIA_UMM_PS_CONTEXT_CNF_EV
¹¦ÄÜ:UMM·µ»Øµ±Ç°PSÓòÉÏÏÂÎÄÐÅÏ¢
***********************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bPsRegState;/*Z_VALIDÒÑ×¢²á£¬Z_INVALIDδע²á*/
BYTE bPadding;
}T_zMmiaUmm_PsContext_Cnf;
/***********************************************************
Ô­Óï:MMIA_UMM_PS_CONTEXT_IND_EV
¹¦ÄÜ:UMM֪ͨÁíÒ»¸ö´ý»ú²àMM²ãÉÏÏÂÎÄÐÅÏ¢
***********************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bPsRegState;/*Z_VALIDÒÑ×¢²á£¬Z_INVALIDδע²á*/
BYTE bPadding;
}T_zMmiaUmm_PsContext_Ind;
/*=================================================================
Ô­ÓMMIA_UMM_CAUSE_QUERY_CNF_EV(CC->MMIA)
˵Ã÷: PSÓòʧ°ÜÔ­Òò²éѯ
=================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bPsCauseFg;
BYTE bCsCauseFg;
DWORD dwPsCause;
DWORD dwCsCause; /*×î½üÒ»´Î¸½×Å»òÈ¥¸½×Åʧ°ÜÔ­Òò »ò¸üÐÂʧ°ÜÌØÊâÔ­Òòʧ°Ü*/
}T_zMmiaUmm_CauseQuery_Cnf;
typedef struct {
BYTE bNum;
BYTE bPadding;
T_z_PlmnId abOperatePlmn[Z_MAX_OPERATE_PLMNNUM];
}T_zMmiaUmm_OperPlmn;
/*MMIA_UMM_ECALLSPT_QUERY_REQ_EV, MMIA_UMM_ECALLONLY_QUERY_REQ_EV*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
}T_zMmiaUmm_eCallSpt_QueryReq, T_zMmiaUmm_eCallOnly_QueryReq;
/*MMIA_UMM_ECALLSPT_QUERY_CNF_EV*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE beCallOverIms;
BYTE bUiccSpteCall;
}T_zMmiaUmm_eCallSpt_QueryCnf;
/*MMIA_UMM_ECALLONLY_QUERY_CNF_EV*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE beCallOnly; /*Z_VALID, Z_INVALID*/
BYTE bPadding;
}T_zMmiaUmm_eCallOnly_QueryCnf;
/*MMIA_UMM_T10DEREG_IND_EV*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
}T_zMmiaUmm_T10Dereg_Ind;
/*MMIA_UMM_IMS_CALL_REQ_EV*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bImsCall; /*0-ºô½Ðend,1-ºô½Ðstart*/
BYTE bPadding;
}T_zMmiaUmm_ImsCall_Req;
/*PDPµØÖ·*/
typedef struct
{
BYTE bPdpType; /* PDPÀàÐÍ£¬È¡ÖµÈçÏÂ
* Z_MMIASM_PPP
* Z_MMIASM_IPv4
* Z_MMIASM_IPv6
* Z_MMIASM_IPV4V6
*/
BYTE abPadding[3];
BYTE abIPv4Addr[Z_MMIASM_IPV4_ADDR_MAX_LEN];
BYTE abIPv6Addr[Z_MMIASM_IPV6_ADDR_MAX_LEN];
}T_zMmiaSm_PdpAddr;
typedef struct
{
BYTE bCid;
BYTE abPadding[3];
T_zMmiaSm_PdpAddr tPdpAddr;
}T_zMmiaSm_CidPdpAddr;
/* PCOÏà¹ØÐÅÏ¢ */
typedef struct
{
WORD wId; /*ProtocolId or ContainerId*/
BYTE bLen;
BYTE bPadding;
BYTE abBuf[Z_MMIASM_PCO_ITEM_VAL_MAX_LEN];
/*ProtocolId Contents or ContainerId contents*/
}T_zMmiaSm_Container;
typedef struct
{
BYTE bProtNum;
BYTE bAddParaNum;
BYTE abPadding[2];
T_zMmiaSm_Container atProtList[Z_MMIASM_PCO_PROT_ITEM_MAX_NUM];
T_zMmiaSm_Container atAddParaList[Z_MMIASM_PCO_PARA_ITEM_MAX_NUM];
}T_zMmiaSm_PcoInfo;
typedef struct
{
BYTE bCid;
BYTE abPadding[3];
T_zMmiaSm_PcoInfo *ptPco;
}T_zMmiaSm_CidPcoInfo;
/* ¼¤»î²Ù×÷½á¹û */
typedef struct
{
BYTE bCid;
BYTE bHandleResult; /* Z_SUCC/Z_FAIL */
BYTE bCause; /*
* Z_MMIASM_PDP_ACT_CAUSE_IPV4_ONLY_ALLOWED
* Z_MMIASM_PDP_ACT_CAUSE_IPV6_ONLY_ALLOWED
* Z_MMIASM_PDP_ACT_CAUSE_SINGLE_ADDR_ONLY_ALLOWED
*/
BYTE bPadding;
DWORD dwReason;
T_zMmiaSm_PdpAddr tPdpAddr;
}T_zMmiaSm_PdpActRes,T_zMmiaSm_IpPdpAct_Cnf;
/****************************************************************************
Ô­Óï: MMIA_SM_PDP_STATUS_QUERY_REQ_EV, MMIA_SM_PDP_CAUSE_QUERY_REQ_EV
MMIA_SM_ABORT_REQ_EV, MMIA_SM_CONNECT_IND_EV, MMIA_SM_NO_CARRIER_CNF_EV
****************************************************************************/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
}T_zMmiaSm_QueryPdpStatus_Req,T_zMmiaSm_QueryPdpCause_Req,
T_zMmiaSm_Abort_Req,T_zMmiaEsm_QueryPdpCause_Req,
T_zMmiaSm_Connect_Ind,T_zMmiaSm_NoCarrier_Cnf,T_zMmiaSm_CpsbQuery_Req;
/****************************************************************************
Ô­Óï: MMIA_SM_CLOSE_CHNL_IND_EV, MMIA_SM_GET_PCO_IND_EV
****************************************************************************/
typedef struct
{
BYTE bCidNum;
BYTE abPadding[3];
BYTE abCid[Z_MMIASM_MAX_CID_NUM];
}T_zMmiaSm_CloseCh_Ind,T_zMmiaSm_GetPco_Ind;
/****************************************************************************
Ô­Óï: MMIA_SM_NEG_QOS_QUERY_REQ_EV, MMIA_SM_NEG_EQOS_QUERY_REQ_EV,
MMIA_SM_PDP_ADDR_QUERY_REQ_EV, MMIA_SM_PDP_MODIFY_REQ_EV,
****************************************************************************/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCidNum;
BYTE bPadding;
BYTE abCid[Z_MMIASM_MAX_CID_NUM];
}T_zMmiaSm_QueryNegQos_Req,T_zMmiaSm_QueryNegEQos_Req,
T_zMmiaSm_QueryPdpAddr_Req,T_zMmiaSm_PdpMod_Req;
/*==============================================================================
Ô­Óï: MMIA_SM_PDP_ACTIVATE_REQ_EV(MMIA->SM)
˵Ã÷: MO PDPÉÏÏÂÎ碌î
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCidNum;
BYTE bAtType; /*
* ±êʶATÃüÁî
* +CGACT: Z_MMIASM_ATCMD_CGACT
* +ZGACT: Z_MMIASM_ATCMD_ZGACT
*/
BYTE abCid[Z_MMIASM_MAX_CID_NUM];
} T_zMmiaSm_PdpAct_Req;
/*==============================================================================
Ô­Óï: MMIA_SM_PDP_DEACTIVATE_REQ_EV(MMIA->SM)
˵Ã÷: MO PDPÉÏÏÂÎÄÈ¥¼¤»îÇëÇó
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCidNum;
BYTE bAtType;/*
* ±êʶATÃüÁî
* +CGACT: Z_MMIASM_ATCMD_CGACT
* +ZGACT: Z_MMIASM_ATCMD_ZGACT
*/
BYTE bIsDisconnect;
BYTE abPadding[3];
BYTE abCid[Z_MMIASM_MAX_CID_NUM];
}T_zMmiaSm_PdpDeact_Req;
/*==============================================================================
Ô­Óï: MMIA_SM_NEG_QOS_QUERY_REQ_EV(MMIA->SM)
˵Ã÷: ЭÉ̵Ä2G QoS²éѯ
==============================================================================*/
/* ¼ûT_zMmiaSm_QueryNegQos_Req */
/*==============================================================================
Ô­Óï: MMIA_SM_NEG_QOS_QUERY_CNF_EV(SM->MMIA)
˵Ã÷: ЭÉ̵Ä2GQoS²éѯ·µ»Ø
==============================================================================*/
typedef struct
{
BYTE bPrecedence;
BYTE bDelay;
BYTE bReliability;
BYTE bPeak;
BYTE bMean;
BYTE abPadding[3];
}T_zMmiaSm_Qos;
typedef struct
{
BYTE bCid;
BYTE abPadding[3];
T_zMmiaSm_Qos tQoS;
}T_zMmiaSm_CidQos;
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCidNum;
BYTE bPadding;
T_zMmiaSm_CidQos atNegQos[Z_MMIASM_MAX_CID_NUM];
}T_zMmiaSm_QueryNegQos_Cnf;
/*==============================================================================
Ô­Óï: MMIA_SM_NEG_EQOS_QUERY_REQ_EV(MMIA->SM)
˵Ã÷: ЭÉ̵Ä3G QoS²éѯ
==============================================================================*/
/* ¼ûT_zMmiaSm_QueryNegEQos_Req */
/*==============================================================================
Ô­Óï: MMIA_SM_NEG_EQOS_QUERY_CNF_EV(SM->MMIA)
˵Ã÷: ЭÉ̵Ä3GQoS²éѯ·µ»Ø
==============================================================================*/
typedef struct
{
BYTE bTraffClass;
BYTE bDlvOrder;
BYTE bDlvErrSdu;
BYTE bTraffPri;
BYTE abSduErrRatio[2]; /* abSduErrRatio[0]:m, abSduErrRatio[1]:e.
Èç5*10-3±íʾΪ: abSduErrRatio[0]£½5,abSduErrRatio[1]£½3 */
BYTE abResBer[2]; /* abResidualBer[0]:m, abResidualBer[1]:e.
Èç5*10-3±íʾΪ: abResidualBer[0]£½5,abResidualBer[1]£½3 */
DWORD dwMaxRateUl; /* µ¥Î»Îªkbps */
DWORD dwMaxRateDl; /* µ¥Î»Îªkbps */
DWORD dwGuarRateUl; /* µ¥Î»Îªkbps */
DWORD dwGuarRateDl; /* µ¥Î»Îªkbps */
WORD wMaxSduSize;
WORD wTransDelay; /* µ¥Î»Îªms */
}T_zMmiaSm_EQos;
typedef struct
{
BYTE bCid;
BYTE abPadding[3];
T_zMmiaSm_EQos tEQos;
}T_zMmiaSm_CidEQos;
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCidNum;
BYTE bPadding;
T_zMmiaSm_CidEQos atNegEQos[Z_MMIASM_MAX_CID_NUM];
}T_zMmiaSm_QueryNegEQos_Cnf;
/*==============================================================================
Ô­Óï: MMIA_SM_ACTIVATED_CID_QUERY_REQ_EV(MMIA->SM)
˵Ã÷: ²éѯÒѾ­¼¤»îµÄPDPÉÏÏÂÎĶÔÓ¦µÄcid
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCmdType; /* ´¥·¢²éѯµÄATÃüÁîÀàÐÍ
* MMIA/SM²¢²»¹ØÐÄ,͸´«¼´¿É
* ÓÉATI2·¢ËÍʱÌîд,½ÓÊÕʱ´¦Àí
* Z_MMIASM_CMD_CGCMOD
* Z_MMIASM_CMD_ZQNEG
* Z_MMIASM_CMD_CGEQNEG
* Z_MMIASM_CMD_CGCONTRDP
* Z_MMIASM_CMD_CGSCONTRDP
* Z_MMIASM_CMD_CGTFTRDP
* Z_MMIASM_CMD_CGEQOSRDP
*/
BYTE bPadding;
}T_zMmiaSm_QueryActCid_Req;
/*==============================================================================
Ô­Óï: MMIA_SM_ACTCID_QUERY_CNF_EV(SM->MMIA)
˵Ã÷: ·µ»ØÒѾ­¼¤»îµÄPDPÉÏÏÂÎĶÔÓ¦µÄcid
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCmdType; /* ²Î¼ûT_zMmiaSm_ActiveCid_ReqÖÐbCmdType */
BYTE bCidNum;
BYTE abCid[Z_MMIASM_MAX_CID_NUM];
}T_zMmiaSm_QueryActCid_Cnf;
/*==============================================================================
Ô­Óï: MMIA_SM_PDP_STATUS_QUERY_REQ_EV(MMIA->SM)
˵Ã÷: ²éѯËùÓÐÒѶ¨ÒåµÄPDPÉÏÏÂÎĵÄ״̬
==============================================================================*/
/* ¼ûT_zMmiaSm_QueryPdpStatus_Req */
/*==============================================================================
Ô­Óï: MMIA_SM_PDPSTATUS_QUERY_CNF_EV(SM->MMIA)
˵Ã÷: ·µ»ØËùÓÐÒѶ¨ÒåµÄPDPÉÏÏÂÎĵÄ״̬
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bActCidNum; /* ÒѼ¤»îcidµÄÊýÄ¿ */
BYTE bInactCidNum; /* δ¼¤»îcidµÄÊýÄ¿ */
BYTE abActCid[Z_MMIASM_MAX_CID_NUM];
/* ÒѼ¤»îcidÁбí */
BYTE abInactCid[Z_MMIASM_MAX_CID_NUM];
/* δ¼¤»îcidÁбí */
}T_zMmiaSm_QueryPdpStatus_Cnf;
/*==============================================================================
Ô­Óï: MMIA_SM_PDP_ADDR_QUERY_REQ_EV(MMIA->SM)
˵Ã÷: ²éѯPDPµØÖ·(¾²Ì¬µØÖ·»ò¶¯Ì¬µØÖ·)
==============================================================================*/
/* ¼ûT_zMmiaSm_QueryPdpAddr_Req */
/*==============================================================================
Ô­Óï: MMIA_SM_PDPADDR_QUERY_CNF_EV(SM->MMIA)
˵Ã÷: ·µ»Ø²éѯPDPµØÖ·(¾²Ì¬µØÖ·»ò¶¯Ì¬µØÖ·)
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCidNum;
BYTE bPadding;
T_zMmiaSm_CidPdpAddr atPdpAddr[Z_MMIASM_MAX_CID_NUM];
}T_zMmiaSm_QueryPdpAddr_Cnf;
/*==============================================================================
Ô­Óï: MMIA_SM_PDP_CAUSE_QUERY_REQ_EV(MMIA->SM)
˵Ã÷: ²éѯ×î½üÒ»´Î¼¤»îʧ°ÜÔ­ÒòºÍÈ¥¼¤»îÔ­Òò
==============================================================================*/
/* ¼ûT_zMmiaSm_QueryPdpCause_Req */
/*==============================================================================
Ô­Óï: MMIA_SM_PDPCAUSE_QUERY_CNF_EV(SM->MMIA)
˵Ã÷: ·µ»Ø×î½üÒ»´Î¼¤»îʧ°ÜÔ­ÒòºÍÈ¥¼¤»îÔ­Òò
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCauseFg;//0-dwCause²»´æÔÚ,1-dwCause´æÔÚ
BYTE bBkOffTimeFg;//0-dwBkOffTime²»´æÔÚ,1-dwBkOffTime´æÔÚ
DWORD dwCause; /*×î½üÒ»´ÎPDP¼¤»îʧ°ÜÔ­Òò»òÈ¥»îÔ­Òò*/
DWORD dwBkOffTime;//s
}T_zMmiaSm_QueryPdpCause_Cnf,T_zMmiaEsm_QueryPdpCause_Cnf;
/*==============================================================================
Ô­Óï: MMIA_SM_PDP_ACTIVATE_CNF_EV(SM->MMIA)
˵Ã÷: MO PDPÉÏÏÂÎļ¤»î¡¢¶þ´Î¼¤»îµÄ²Ù×÷½á¹û
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bResult; /* Ö´ÐÐ×ܽá¹û£¬È¡ÖµZ_SUCC/Z_FAIL */
BYTE bCidNum;
BYTE bAtType;/*±êʶATÃüÁî
+CGACT: Z_MMIASM_ATCMD_CGACT
+ZGACT: Z_MMIASM_ATCMD_ZGACT
*/
BYTE abadding[3];
T_zMmiaSm_PdpActRes atResult[Z_MMIASM_MAX_CID_NUM];
}T_zMmiaSm_PdpAct_Cnf;
/*==============================================================================
Ô­Óï: MMIA_SM_PDP_DEACTIVATE_CNF_EV(SM->MMIA)
˵Ã÷: MO PDPÉÏÏÂÎÄÈ¥¼¤»î½á¹û
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bResult; /* Ö´ÐÐ×ܽá¹û£¬È¡ÖµZ_SUCC/Z_FAIL */
BYTE bCidNum;
BYTE bAtType;/*±êʶATÃüÁî
+CGACT: Z_MMIASM_ATCMD_CGACT
+ZGACT: Z_MMIASM_ATCMD_ZGACT
*/
BYTE bIsDisconnect;
BYTE abadding[2];
T_zMmiaSm_PdpActRes atResult[Z_MMIASM_MAX_CID_NUM];
}T_zMmiaSm_PdpDeact_Cnf;
typedef struct
{
BYTE bCid;
BYTE bHandleResult;/* Z_SUCC/Z_FAIL */
BYTE abPadding[2];
DWORD dwReason;
}T_zMmiaSm_MtActRes;
/*==============================================================================
Ô­Óï: MMIA_SM_MT_ACT_ANS_CNF_EV(SM->ATI)
˵Ã÷: +CGANSÉèÖÃÇëÇóÏìÓ¦ÏûÏ¢
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bResult; /* Ö´Ðнá¹û£¬È¡ÖµZ_SUCC/Z_FAIL */
BYTE bCidNum;
BYTE bAtFg; /*Z_VALID,Z_INVALIDָʾÊÇ·ñÓÉATÃüÁî´¥·¢*/
BYTE abPadding[3];
T_zMmiaSm_MtActRes atResult[Z_MMIASM_MAX_CID_NUM];
/* Z_MMIASM_MT_ACT_REJÇé¿öºöÂÔ¸ÃcidÁбí */
}T_zMmiaSm_MtActAns_Cnf;
/*==============================================================================
Ô­Óï: MMIA_SM_PDP_MODIFY_REQ_EV(MMIA->SM)
˵Ã÷: MO PDPÉÏÏÂÎÄÐÞ¸ÄÇëÇó
==============================================================================*/
/* ¼ûT_zMmiaSm_PdpMod_Req */
/*==============================================================================
Ô­Óï: MMIA_SM_PDP_MODIFY_CNF_EV(SM->MMIA)
˵Ã÷: MO PDPÉÏÏÂÎÄÐ޸IJÙ×÷½á¹û
==============================================================================*/
typedef struct
{
BYTE bCid;
BYTE bHandleResult; /* Z_SUCC/Z_FAIL */
BYTE abPadding[2];
DWORD dwReason;
}T_zMmiaSm_PdpModRes;
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bResult; /* Ö´ÐÐ×ܽá¹û£¬È¡ÖµZ_SUCC/Z_FAIL */
BYTE bCidNum;
T_zMmiaSm_PdpModRes atResult[Z_MMIASM_MAX_CID_NUM];
}T_zMmiaSm_PdpMod_Cnf;
/*==============================================================================
Ô­Óï: MMIA_SM_ABORT_REQ_EV(MMIA->SM)
˵Ã÷: È¡Ïûµ±Ç°ÕýÔÚ½øÐеÄPDPÉÏÏÂÎ碌î²Ù×÷£¬µ¥ÏòÏûÏ¢£¬ÎÞ·µ»Ø
==============================================================================*/
/* ¼ûT_zMmiaSm_Abort_Req */
/*==============================================================================
Ô­Óï: MMIA_SM_PDP_ACTIVATE_IND_EV(SM->MMIA)
˵Ã÷: MT PDPÉÏÏÂÎ碌îÇëÇóµÄÉϱ¨Ö¸Ê¾
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding1[2];
T_zMmiaSm_PdpAddr tPdpAddr;
BYTE abApn[Z_MMIASM_APN_MAX_LEN];
BYTE abPadding2[3];
}T_zMmiaSm_PdpAct_Ind;
/*==============================================================================
Ô­Óï: MMIA_SM_CID_DEACT_IND_EV(SM->MMIA)
˵Ã÷: PDPÉÏÏÂÎÄÈ¥¼¤»îÉϱ¨Ö¸Ê¾,ΪÏúÁ¿Í³¼ÆÀ©
==============================================================================*/
typedef struct
{
BYTE bCid;
BYTE bAtType;/*
* ±êʶATÃüÁî
* +CGACT: Z_MMIASM_ATCMD_CGACT
* +ZGACT: Z_MMIASM_ATCMD_ZGACT
*/
BYTE abPadding[2];
}T_zMmiaSm_CidDeact_Ind;
/* Ò»´ÎPDPÉÏÏÂÎļ¤»î¡¢È¥¼¤»îÖ÷¶¯Éϱ¨*/
typedef struct
{
BYTE bType; /*
* ±êʶÄÄÒ»¸ö+CGEVÖ÷¶¯Éϱ¨£¬È¡Öµ·¶Î§:
* Z_MMIASM_CGEV_ME_PRI_PDN_ACT
* Z_MMIASM_CGEV_NW_PRI_PDN_DEACT
* Z_MMIASM_CGEV_ME_PRI_PDN_DEACT
* Z_MMIASM_CGEV_NW_PRI_PDN_ACT
*/
BYTE bCid; /* ±êʶһ´ÎPDPÉÏÏÂÎÄ */
BYTE abPadding[2];
} T_zMmiaSm_Cgev_PriPdn;
/* ÐÞ¸ÄPDPÉÏÏÂÎÄÖ÷¶¯Éϱ¨*/
typedef struct
{
BYTE bType; /*
* ±êʶÄÄÒ»¸ö+CGEVÖ÷¶¯Éϱ¨£¬È¡Öµ·¶Î§:
* Z_MMIASM_CGEV_NW_MODIFY
* Z_MMIASM_CGEV_ME_MODIFY
*/
BYTE bCid; /* ±êʶһ´ÎPDPÉÏÏÂÎÄ*/
BYTE bChngReason; /*
* ±êʶÐ޸ĵĶÔÏóÊÇʲô£¬È¡Öµ·¶Î§:
* Z_MMIASM_CGEV_CHNG_TFT
* Z_MMIASM_CGEV_CHNG_QOS
* Z_MMIASM_CGEV_CHNG_TFT_AND_QOS
*/
BYTE bEventType; /*
* ±êʶ¸Ã+CGEVÖ÷¶¯Éϱ¨½ö½öÊÇÉϱ¨Ò»¸öÐÅÏ¢£¬»¹ÊÇÐèÒªMEÏòÍø²àÓÐÒ»¸ö»ØÓ¦£¬È¡Öµ·¶Î§:
* Z_MMIASM_CGEV_EVENT_TYPE_INFO
* Z_MMIASM_CGEV_EVENT_TYPE_ACKREQ
*/
} T_zMmiaSm_Cgev_ModifyPdn;
/* ¶þ´ÎPDPÉÏÏÂÎļ¤»î¡¢È¥¼¤»îÖ÷¶¯Éϱ¨*/
typedef struct
{
BYTE bType; /*
* ±êʶÄÄÒ»¸ö+CGEVÖ÷¶¯Éϱ¨£¬È¡Öµ·¶Î§:
* Z_MMIASM_CGEV_NW_SEC_PDN_ACT
* Z_MMIASM_CGEV_ME_SEC_PDN_ACT
* Z_MMIASM_CGEV_NW_SEC_PDN_DEACT
* Z_MMIASM_CGEV_ME_SEC_PDN_DEACT
*/
BYTE bPriCid; /* ±êʶһ´ÎPDPÉÏÏÂÎÄ*/
BYTE bCid; /* ±êʶ¶þ´ÎPDPÉÏÏÂÎÄ*/
BYTE bEventType; /*
* ±êʶ¸Ã+CGEVÖ÷¶¯Éϱ¨½ö½öÊÇÉϱ¨Ò»¸öÐÅÏ¢£¬»¹ÊÇÐèÒªMEÏòÍø²àÓÐÒ»¸ö»ØÓ¦£¬È¡Öµ·¶Î§:
* Z_MMIASM_CGEV_EVENT_TYPE_INFO
* Z_MMIASM_CGEV_EVENT_TYPE_ACKREQ
*/
} T_zMmiaSm_Cgev_SecPdn;
/* R5°æ±¾µÄ+CGEVËĸöÖ÷¶¯Éϱ¨*/
typedef struct
{
BYTE bType; /*
* ±êʶÄÄÒ»¸ö+CGEVÖ÷¶¯Éϱ¨£¬È¡Öµ·¶Î§:
* Z_MMIASM_CGEV_R5_VER_NW_DEACT
* Z_MMIASM_CGEV_R5_VER_ME_DEACT
* Z_MMIASM_CGEV_R5_VER_MT_ACT_REJ
* Z_MMIASM_CGEV_R5_VER_NW_REACT
*/
BYTE abPadding[3];
T_zMmiaSm_CidPdpAddr tPdpAddr; /* cid¡¢pdpÀàÐͺÍpdpµØÖ·*/
} T_zMmiaSm_Cgev_R5Ver;
/*==============================================================================
Ô­Óï: MMIA_SM_CGEV_IND_EV(SM->MMIA)
˵Ã÷: PDPÏà¹ØÊ¼þÉϱ¨
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCgevType; /* ʼþÀàÐÍ£¬ºÍCGEVÏà¶Ô
* Z_MMIASM_CGEV_TYPE_PRI_PDN_IND
* Z_MMIASM_CGEV_TYPE_MODIFY_IND
* Z_MMIASM_CGEV_TYPE_SEC_PDN_IND
* Z_MMIASM_CGEV_TYPE_R5_VER_IND
*/
BYTE bPadding;
union
{
T_zMmiaSm_Cgev_PriPdn tPriPdnInd; /* Ò»´ÎPDPÉÏÏÂÎļ¤»î¡¢È¥¼¤»îÖ÷¶¯Éϱ¨*/
T_zMmiaSm_Cgev_ModifyPdn tModifyInd; /* ÐÞ¸ÄPDPÉÏÏÂÎÄÖ÷¶¯Éϱ¨*/
T_zMmiaSm_Cgev_SecPdn tSecPdnInd; /* ¶þ´ÎPDPÉÏÏÂÎļ¤»î¡¢È¥¼¤»îÖ÷¶¯Éϱ¨*/
T_zMmiaSm_Cgev_R5Ver tR5VerInd; /* R5°æ±¾µÄ+CGEVËĸöÖ÷¶¯Éϱ¨*/
}u;
}T_zMmiaSm_Cgev_Ind;
/*==============================================================================
Ô­Óï: MMIA_SM_DATA_STATE_REQ_EV(MMIA->SM)
˵Ã÷: ½øÈëÊý¾Ý̬ÇëÇó
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bOnlyIpFg; /* ȡֵÈçÏÂ:
* Z_MMIASM_ONLY_IP --Ö»Õë¶ÔIPÀàÐÍ(DÃüÁî)
* Z_MMIASM_IP_PPP --IPºÍPPPÀàÐÍ(+CGDATA)
*/
BYTE bCidNum;
BYTE abCid[Z_MMIASM_MAX_CID_NUM];
/*cidÁбí*/
}T_zMmiaSm_DataState_Req;
/*==============================================================================
Ô­Óï: MMIA_SM_MT_ACT_ANS_REQ_EV(MMIA->SM)
˵Ã÷: ½ÓÊÜ»ò¾Ü¾øMT PDPÉÏÏÂÎ碌îÇëÇó
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bType; /* ²Ù×÷ÀàÐÍ£¬È¡Öµ½ÓÊÜ»ò¾Ü¾ø£¬
* Z_MMIASM_MT_ACT_REJ
* Z_MMIASM_MT_ACT_ACC
*/
BYTE bCidNum;
BYTE bS0Val; /* ¸ÃÖµ²»Îª0£¬Ôò±êʶS0ÓÐЧ */
BYTE bAtFg; /*Z_VALID,Z_INVALIDָʾÊÇ·ñÓÉATÃüÁî´¥·¢*/
BYTE abPadding[2];
BYTE abCid[Z_MMIASM_MAX_CID_NUM];
/* Z_MMIASM_MT_ACT_REJÇé¿öºöÂÔ¸ÃcidÁбí */
}T_zMmiaSm_MtActAns_Req;
/*==============================================================================
Ô­Óï: MMIA_SM_IP_PDP_ACT_REQ_EV(MMIA->SM)
˵Ã÷: ATI2ͨ¹ýMMIAÔÚPPPЭÉ̽׶Σ¬¸ù¾ÝNCP ReqÖеÄPDPµØÖ·ÐÅÏ¢£¬ÒªÇóSMÈ·¶¨Ñ¡¶¨µÄcid
ÊÇ·ñºÏÊʲ¢Íê³ÉPDP¼¤»î
==============================================================================*/
typedef struct
{
BYTE bCid;
BYTE abPadding[3];
T_zMmiaSm_PdpAddr tPdpAddr; /* NCP ReqÖÐÌáÈ¡µÄIPµØÖ· */
T_zMmiaSm_PcoInfo tPco; /* ATI2ÌṩµÄÓÃÓÚPDP¼¤»îµÄPCOÐÅÏ¢ */
}T_zMmiaSm_IpPdpAct_Req;
/*==============================================================================
Ô­Óï: MMIA_SM_CLOSE_CHNL_IND_EV(SM->MMIA)
˵Ã÷: SMͨ¹ýMMIA֪ͨATI2ÊÍ·Åcid¶ÔÓ¦µÄÏà¹ØÊý¾ÝͨµÀ
==============================================================================*/
/* ¼ûT_zMmiaSm_CloseCh_Ind */
/*==============================================================================
Ô­Óï: MMIA_SM_IDLE_CHNL_QUERY_IND_EV(SM->MMIA)
˵Ã÷: SMÄ£¿éͨ¹ýMMIAÏòATI2ѯÎÊÊÇ·ñÓпÕÏеÄͨµÀ¿ÉÉϱ¨RING/+CRING(±¾ÏûϢΪ¿ÕÏûÏ¢)
==============================================================================*/
/* ÎÞ */
/*==============================================================================
Ô­Óï: MMIA_SM_IDLE_CHNL_QUERY_RSP_EV(MMIA->SM)
˵Ã÷: ATI2ͨ¹ýMMIAÏòSM·µ»Ø²éѯ½á¹û
==============================================================================*/
typedef struct
{
BYTE bResult; /* ÊÇ·ñÓпÕÏÐͨµÀ½á¹û·µ»Ø
* Z_MMIASM_CH_IDLE--ÓпÕÏÐͨµÀ
* Z_MMIASM_CH_BUSY--ÎÞ¿ÕÏÐͨµÀ
*/
BYTE abPadding[3];
}T_zMmiaSm_QueryIdleCh_Rsp;
/*==============================================================================
Ô­Óï: MMIA_SM_GET_PCO_IND_EV(SM->MMIA)
¹¦ÄÜ: SMÄ£¿éͨ¹ýMMIAÏòATI2ÇëÇó»ñÈ¡PCO
¶ÔÓ¦ATÃüÁî: ÎÞ
==============================================================================*/
/* ¼ûT_zMmiaSm_GetPco_Ind */
/*==============================================================================
Ô­Óï: MMIA_SM_GET_PCO_RSP_EV(MMIA->SM)
¹¦ÄÜ: ATI2ͨ¹ýMMIAÏòSM·µ»ØPCO
¶ÔÓ¦ATÃüÁî: ÎÞ
==============================================================================*/
typedef struct
{
BYTE bCidNum;
BYTE abPadding[3];
T_zMmiaSm_CidPcoInfo atCidPco[Z_MMIASM_MAX_CID_NUM];
}T_zMmiaSm_GetPco_Rsp;
/*==============================================================================
Ô­Óï: MMIA_SM_COMMON_CNF_EV(SM->MMIA)
˵Ã÷: SMÄ£¿éͨ¹ýMMIA֪ͨATI2Éϱ¨½á¹ûÂë
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bResult; /* ȡֵZ_SUCC/Z_FAIL */
BYTE bPadding;
DWORD dwReason; /* ¾ßÌåʧ°ÜÔ­Òò */
}T_zMmiaSm_Common_Cnf;
/*==============================================================================
Ô­Óï: MMIA_SM_DISCONNECT_REQ_EV(MMIA->ATI)
˵Ã÷: ATI2ͨ¹ýMMIA֪ͨSM£¬Ò»Â·²¦ºÅÁ¬½Ó¶Ï¿ª
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bChnl;
BYTE bPadding;
}T_zMmiaSm_Disconnect_Req;
/* µ±Ç°¼¤»îPDPÉÏÏÂÎĵijÐÔØ */
typedef struct
{
BYTE bCid; /* ±êʶһ¸ö¼¤»îµÄPDPÉÏÏÂÎÄ */
BYTE bCurrBearer; /*
* µ±Ç°³ÐÔØÀàÐÍ:
* Z_MMIASM_PDP_CURR_BEARER_NO_BEARER
* Z_MMIASM_PDP_CURR_BEARER_GPRS
* Z_MMIASM_PDP_CURR_BEARER_EGPRS
* Z_MMIASM_PDP_CURR_BEARER_NON_HSUPA_UP_NON_HSDPA_DOWN
* Z_MMIASM_PDP_CURR_BEARER_HSUPA_UP_NON_HSDPA_DOWN
* Z_MMIASM_PDP_CURR_BEARER_NON_HSUPA_UP_HSDPA_DOWN
* Z_MMIASM_PDP_CURR_BEARER_HSUPA_UP_HSDPA_DOWN
* Z_MMIASM_PDP_CURR_BEARER_EPS
*/
BYTE abPadding[2];
}T_zMmiaSm_CpsbPara;
/*==============================================================================
Ô­Óï: (SM->MMIA)
˵Ã÷: »Ø¸´µ±Ç°¼¤»îPDPÉÏÏÂÎĵijÐÔØ¼°¶ÔÓ¦cidÄÚÈÝ
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDstIndex;
BYTE bCidNum; /* ±êʶµ±Ç°¼¤»îµÄPDPÊýÄ¿*/
BYTE bPadding;
T_zMmiaSm_CpsbPara atPsBearer[Z_MMIASM_MAX_CID_NUM]; /* ¼¤»îµÄPDPÉÏÏÂÎÄÁбí*/
} T_zMmiaSm_CpsbQuery_Cnf;
/*==============================================================================
Ô­Óï: (SM->MMIA)
˵Ã÷: Ö÷¶¯Éϱ¨³ÐÔØ·¢Éú¸Ä±äµÄPDP¼´µ±Ç°³ÐÔØÀàÐÍ
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDstIndex;
BYTE bCid; /* ±êʶһ¸ö¼¤»îµÄPDPÉÏÏÂÎÄ */
BYTE bCurrBearer; /*
* µ±Ç°³ÐÔØÀàÐÍ:
* Z_MMIASM_PDP_CURR_BEARER_NO_BEARER
* Z_MMIASM_PDP_CURR_BEARER_GPRS
* Z_MMIASM_PDP_CURR_BEARER_EGPRS
* Z_MMIASM_PDP_CURR_BEARER_NON_HSUPA_UP_NON_HSDPA_DOWN
* Z_MMIASM_PDP_CURR_BEARER_HSUPA_UP_NON_HSDPA_DOWN
* Z_MMIASM_PDP_CURR_BEARER_NON_HSUPA_UP_HSDPA_DOWN
* Z_MMIASM_PDP_CURR_BEARER_HSUPA_UP_HSDPA_DOWN
* Z_MMIASM_PDP_CURR_BEARER_EPS
*/
}T_zMmiaSm_Cpsb_Ind;
/*==============================================================================
Ô­Óï: Z_MmiaSm_CgcontrdpReq_Ev(MMIA->SM)
˵Ã÷: ¶ÁÈ¡Íø²à·ÖÅäµÄÒ»´ÎPDPÉÏÏÂÎÄÏà¹Ø²ÎÊý
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCidFlg; /*
* ±êʶbCidÓÐЧÐÔ:
* Z_VALID
* Z_INVALID
*/
BYTE bCid; /* ±êʶPDPÉÏÏÂÎÄ*/
} T_zMmiaSm_Cgcontrdp_Req;
/* »Ø¸´Íø²à·ÖÅäµÄÒ»´ÎPDPÉÏÏÂÎĵÄÍø¹ØµØÖ·¡¢DNS·þÎñÆ÷µØÖ·¼°CSCF·þÎñÆ÷µØÖ·*/
typedef struct
{
BITS bSrcAddrAndMaskFlg:1; /* ±êʶbSrcAddrAndSubMaskÓÐЧÐÔ*/
BITS bGwAddrFlg:1; /* ±êʶbGwAddrÓÐЧÐÔ*/
BITS bDnsPriAddrFlg:1; /* ±êʶbDnsPriAddrÓÐЧÐÔ*/
BITS bDnsSecAddrFlg:1; /* ±êʶbDnsSecAddrÓÐЧÐÔ*/
BITS bPCscfPriAddrFlg:1; /* ±êʶbPCscfPriAddrÓÐЧÐÔ*/
BITS bPCscfSecAddrFlg:1; /* ±êʶbPCscfSecAddrÓÐЧÐÔ*/
BITS bPCscfSecAddr2Flg:1; /* ±êʶbPCscfSecAddr2ÓÐЧÐÔ*/
BITS bPCscfSecAddr3Flg:1; /* ±êʶbPCscfSecAddr3ÓÐЧÐÔ*/
BYTE bImcnSignInd;
BYTE abPadding[2];
BYTE abSrcAddrAndMask[Z_MMIASM_MAX_PDPADDR_MASK_LEN]; /* IPµØÖ·ºÍ×ÓÍøÑÚÂë*/
BYTE abGwAddr[Z_MMIASM_ADDR_MAX_LEN]; /* Íø¹ØµØÖ·*/
BYTE abDnsPriAddr[Z_MMIASM_ADDR_MAX_LEN]; /* Ö÷DNS·þÎñÆ÷IPµØÖ·*/
BYTE abDnsSecAddr[Z_MMIASM_ADDR_MAX_LEN]; /* ±¸DNS·þÎñÆ÷IPµØÖ·*/
BYTE abPCscfPriAddr[Z_MMIASM_ADDR_MAX_LEN]; /* Ö÷P-CSCF·þÎñÆ÷IPµØÖ·*/
BYTE abPCscfSecAddr[Z_MMIASM_ADDR_MAX_LEN]; /* ±¸P-CSCF·þÎñÆ÷IPµØÖ·*/
BYTE abPCscfSecAddr2[Z_MMIASM_ADDR_MAX_LEN]; /* ±¸P-CSCF·þÎñÆ÷IPµØÖ·2*/
BYTE abPCscfSecAddr3[Z_MMIASM_ADDR_MAX_LEN]; /* ±¸P-CSCF·þÎñÆ÷IPµØÖ·3*/
} T_zMmiaSm_Cgcontrdp_AddrInfo;
/* »Ø¸´Íø²à·ÖÅäµÄÒ»´ÎPDPÉÏÏÂÎÄÏà¹Ø²ÎÊý*/
typedef struct
{
BYTE bCid; /* ±êʶPDPÉÏÏÂÎÄ*/
BYTE bBearerId; /* ±êʶһ¸ö³ÐÔØ*/
BYTE bPdpType; /*
* ±êʶPDNµØÖ·ÀàÐÍ£¬È¡Öµ·¶Î§:
* Z_MMIAESM_IPV4
* Z_MMIAESM_IPV6
* Z_MMIAESM_IPV4V6
*/
BYTE bPadding;
BYTE abApn[Z_MMIASM_APN_MAX_LEN]; /* ·ÃÎʽڵãÃû*/
T_zMmiaSm_Cgcontrdp_AddrInfo atNwEstIPv4Info; /*
* Íø²à·ÖÅäµÄIPv4µØÖ·ÀàÐ͵ÄÍø¹ØµØÖ·¡¢
* DNS·þÎñÆ÷µØÖ·¼°CSCF·þÎñÆ÷µØÖ·
* µ±bPdpTypeµÈÓÚZ_MMIASM_IPV4»ò
* Z_MMIASM_IPV4V6ʱÓÐЧ
*/
T_zMmiaSm_Cgcontrdp_AddrInfo atNwEstIPv6Info; /*
* Íø²à·ÖÅäµÄIPv6µØÖ·ÀàÐ͵ÄÍø¹ØµØÖ·¡¢
* DNS·þÎñÆ÷µØÖ·¼°CSCF·þÎñÆ÷µØÖ·
* µ±bPdpTypeµÈÓÚZ_MMIASM_IPV6»ò
* Z_MMIASM_IPV4V6ʱÓÐЧ
*/
} T_zMmiaSm_Cgcontrdp_Para;
/*==============================================================================
Ô­Óï: Z_MmiaSm_CgcontrdpCnf_Ev(SM->MMIA)
˵Ã÷: »Ø¸´Íø²à·ÖÅäµÄÒ»´ÎPDPÉÏÏÂÎÄÏà¹Ø²ÎÊý
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCidNum; /* »ñÈ¡µÄPDPÉÏÏÂÎĵĸöÊý*/
BYTE bResult; /* ȡֵZ_SUCC/Z_FAIL */
T_zMmiaSm_Cgcontrdp_Para atNwEstInfo[Z_MMIASM_MAX_CID_NUM]; /* Ò»´ÎPDPÉÏÏÂÎÄÏà¹Ø²ÎÊý*/
} T_zMmiaSm_Cgcontrdp_Cnf;
/*==============================================================================
Ô­Óï: Z_MmiaSm_CgscontrdpReq_Ev(MMIA->SM)
˵Ã÷: ¶ÁÈ¡Íø²à·ÖÅäµÄ¶þ´ÎPDPÉÏÏÂÎÄÏà¹Ø²ÎÊý
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCidFlg; /* ±êʶbCidÓÐЧÐÔ */
BYTE bCid; /* ±êʶPDPÉÏÏÂÎÄ */
} T_zMmiaSm_Cgscontrdp_Req;
/* ¶ÁÈ¡Íø²à·ÖÅäµÄ¶þ´ÎPDPÉÏÏÂÎÄÏà¹Ø²ÎÊý*/
typedef struct
{
BYTE bCid;
BYTE bPriCid;
BYTE bBearerId;
BYTE bImcnSignInd;
} T_zMmiaSm_Cgscontrdp_Para;
/*==============================================================================
Ô­Óï: Z_MmiaSm_CgscontrdpCnf_Ev(SM->MMIA)
˵Ã÷: »Ø¸´Íø²à·ÖÅäµÄ¶þ´ÎPDPÉÏÏÂÎÄÏà¹Ø²ÎÊý
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCidNum; /* »ñÈ¡µÄPDPÉÏÏÂÎĵĸöÊý */
BYTE bResult; /* ȡֵZ_SUCC/Z_FAIL */
T_zMmiaSm_Cgscontrdp_Para tSecPdpPara[Z_MMIASM_MAX_CID_NUM]; /* ¶þ´ÎPDPÉÏÏÂÎÄÏà¹Ø²ÎÊý*/
} T_zMmiaSm_Cgscontrdp_Cnf;
/*==============================================================================
Ô­Óï: Z_MmiaSm_CgtftrdpReq_Ev(MMIA->SM)
˵Ã÷: ¶ÁÈ¡Íø²à·ÖÅäµÄTFTÏà¹Ø²ÎÊý
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCidFlg; /* ±êʶbCidÓÐЧÐÔ */
BYTE bCid; /* ±êʶPDPÉÏÏÂÎÄ */
} T_zMmiaSm_Cgtftrdp_Req;
/* TFT²ÎÊý*/
typedef struct {
BYTE bCid; /* ±êʶPDPÉÏÏÂÎÄ*/
BYTE bNwFilterId; /* Íø²à·ÖÅäµÄfilter ID£¬È¡Öµ·¶Î§: 1~16 */
BYTE abPadding[2];
T_zDev_AtMem_FilterType tFilterData; /* ÆäËû¹ýÂËÆ÷ÐÅÏ¢*/
} T_zMmiaSm_CidFilter;
/* ¶ÁÈ¡Íø²à·ÖÅäµÄTFTÏà¹Ø²ÎÊý*/
typedef struct
{
BYTE bFilterNum; /* ·ÖÀàÆ÷µÄ¸öÊý*/
BYTE abPadding[3];
T_zMmiaSm_CidFilter tNwAssignFilter[Z_MMIASM_MAX_FILTER_ID]; /* Íø²à·ÖÅäµÄfilterÆäËûÐÅÏ¢*/
} T_zMmiaSm_Cgtftrdp_Para;
/*==============================================================================
Ô­Óï: Z_MmiaSm_CgtftrdpCnf_Ev(SM->MMIA)
˵Ã÷: »Ø¸´Íø²à·ÖÅäµÄTFTÏà¹Ø²ÎÊý
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCidNum; /* »ñÈ¡µÄPDPÉÏÏÂÎĵĸöÊý*/
BYTE bResult; /* ȡֵZ_SUCC/Z_FAIL */
T_zMmiaSm_Cgtftrdp_Para atNwAssignInfo[Z_MMIASM_MAX_CID_NUM]; /* Íø²à·ÖÅäµÄTFTÏà¹Ø²ÎÊý*/
} T_zMmiaSm_Cgtftrdp_Cnf;
/****************************************************************************
Ô­Óï: MMIA_SM_NOTIFICATION_IND_EV
˵Ã÷: ESM֪ͨATI MMIA_SM_NOTIFICATION_IND_EVÏûÏ¢±íʾSRVCCʧ°Ü£¬ÐèÇóIMSЭÒé»Ö¸´ÒµÎñ¡£
****************************************************************************/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCid;
BYTE bNotificationInd;
} T_zMmiaSm_Notification_Ind;
/****************************************************************************
Ô­Óï: MMIA_SM_CONTEXT_REQ_EV
˵Ã÷: ATI֪ͨSM/ESM½øÐÐÒµÎñ°áǨ
****************************************************************************/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
} T_zMmiaSm_Context_Req;
/****************************************************************************
Ô­Óï: MMIA_SM_CONTEXT_CNF_EV/MMIA_SM_CONTEXT_IND_EV
˵Ã÷: SM/ESM»Ø¸´ATIµÄÒµÎñ°áǨµÄÈ·ÈÏÏûÏ¢
ATI¸øÁíÒ»´ýSM/ESM·¢ËͰáǨָʾ
****************************************************************************/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bContextInd;
/* Z_MMIASM_CONTEXT_NULL
Z_MMIASM_CONTEXT_ESM_VALID
Z_MMIASM_CONTEXT_SM_VALID*/
BYTE bPadding;
PBYTE pSmEsmData;
} T_zMmiaSm_Context_Cnf,T_zMmiaSm_Context_Ind;
typedef struct
{
BYTE bNumLen;
BYTE abMsisdnNum[Z_MMIASM_MSISDN_LEN];
}T_zMmiaSm_Msisdn_Ind;
typedef struct
{
BYTE bCid; /*ÉÏÏÂÎı¾ÉíµÄcid*/
BYTE bPfNum; /*Packet FilterµÄÊýÄ¿*/
BYTE abPadding[2];
T_zDev_AtMem_FilterType atFilter[Z_MMIAESM_MAX_PF_NUM];
}T_zMmiaEsm_TftInfo;
typedef struct
{
BYTE bCidNum; /*Êý×éÓÐЧ³¤¶È*/
BYTE bPrimCid; /*PDNÁ¬½ÓËù¶ÔӦĬÈϳÐÔØÉÏÏÂÎĵÄcid*/
BYTE abPadding[2];
BYTE abCid[Z_MMIAESM_MAX_CID_NUM]; /*¸ÃPDNÁ¬½ÓÉÏרÓÃÉÏÏÂÎĵÄcid*/
}T_zMmiaEsm_PdnConCidInfo;
/*==============================================================================
Ô­ÓMMIA_ESM_EPS_BEARER_ACT_REQ_EV(ESM->MMIA)
˵Ã÷: ESMÏòMMIAÉϱ¨EPS Bearer Context¼¤»î³É¹¦£¬¶ÔÓ¦ÓÚÏàÓ¦µÄ+CGEVµÄÖ÷¶¯Ê½ÃüÁ
¶ÔÓ¦2ÌõÖ÷¶¯Éϱ¨atÃüÁî:
bBearerFlg == Z_MMIAESM_CGEV_PDN_CON
+CGEV: EPS PDN ACT <p_cid>
bBearerFlg == Z_MMIAESM_CGEV_DED_BEARER
+CGEV: EPS DED ACT <p_cid>, <cid>
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE bBearerFlg; /*±êʶ¼¤»îÉϱ¨µÄÊÇ·ñΪĬÈϳÐÔØ£¬
* ȡֵΪZ_MMIAESM_CGEV_PDN_CON¶ÔÓ¦ÓÚÊÇĬÈϳÐÔØ
* ȡֵΪZ_MMIAESM_CGEV_DED_BEARER¶ÔÓ¦ÓÚרÓóÐÔØ*/
BYTE bCid; /*cid of the EPS Bearer
µ±bBearerFlg == Z_MMIAESM_CGEV_DED_BEARERʱÓÐЧ*/
BYTE bPrimCid; /*cid of PDN Connection*/
BYTE abPadding[3];
}T_zMmiaEsm_EpsBearerAct_Ind;
/*==============================================================================
Ô­ÓMMIA_ESM_EPS_BEARER_DEACT_REQ_EV(ESM->MMIA)
˵Ã÷: ESMÏòMMIAÉϱ¨EPS Bearer ContextµÄÈ¥¼¤»îʼþ£¬¶ÔÓ¦ÓÚÏàÓ¦µÄ+CGEVµÄÖ÷¶¯Ê½ÃüÁ
¶ÔÓ¦2ÌõÖ÷¶¯Éϱ¨atÃüÁî:
bBearerFlg == Z_MMIAESM_CGEV_PDN_CON
+CGEV: EPS PDN DEACT <p_cid>
bBearerFlg == Z_MMIAESM_CGEV_DED_BEARER
+CGEV: EPS DED DEACT <p_cid>, <cid>
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE bBearerFlg; /*±êʶ¼¤»îÉϱ¨µÄÊÇ·ñΪĬÈϳÐÔØ£¬
* ȡֵΪZ_MMIAESM_CGEV_PDN_CON¶ÔÓ¦ÓÚÊÇĬÈϳÐÔØ
* ȡֵΪZ_MMIAESM_CGEV_DED_BEARER¶ÔÓ¦ÓÚרÓóÐÔØ*/
BYTE bCid; /*cid of the EPS Bearer
µ±bBearerFlg == Z_MMIAESM_CGEV_DED_BEARERʱÓÐЧ*/
BYTE bPrimCid; /*cid of PDN Connection*/
BYTE abPadding[3];
}T_zMmiaEsm_EpsBearerDeAct_Ind;
/*==============================================================================
Ô­ÓMMIA_ESM_EPS_BEARER_MOD_REQ_EV(ESM->MMIA)
˵Ã÷: ESMÏòMMIAÉϱ¨EPS Bearer ContextµÄ¸üÐÂʼþ£¬¶ÔÓ¦ÓÚÏàÓ¦µÄ+CGEVµÄÖ÷¶¯Ê½ÃüÁ
¶ÔÓ¦Ö÷¶¯Éϱ¨atÃüÁî:
+CGEV: EPS MODIFY <cid>, <change_reason>
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE bCid; /*MoDµÄEPS³ÐÔØµÄCid*/
BYTE bChangeReason; /*·¢Éú¸üеÄÔ­Òò£¬ÆäȡֵΪ:
* Z_MMIAESM_MOD_REASON_TFT_ONLYµÈ*/
}T_zMmiaEsm_EpsBearerMod_Ind;
/*==============================================================================
Ô­ÓMMIA_ESM_EPS_BEARER_MOD_REQ_EV(MMIA->ESM)
˵Ã÷: Ï·¢ÒµÎñÇëÇó£¬Ê¹ESM·¢ÆðBearer Resource ModificationÁ÷³Ì£¬¶ÔÓ¦ÓÚ+CGEBRMODÃüÁ
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
/*¿ÉÑ¡²ÎÊý±ê¼Ç*/
BITS bSpare:6;
BITS bQciFlg:1; /*ATÊÇ·ñЯ´øQCI*/
BITS bUlDlGbrFlg:1; /*ATÊÇ·ñЯ´øGBR²ÎÊý*/
/*±ØÑ¡²ÎÊý*/
BYTE bPrimCid; /*primary cid*/
BYTE bTfadId; /*TFAD ID*/
/*¿ÉÑ¡²ÎÊý*/
BYTE bQci; /*QCI of EPS QoS*/
DWORD dwUlGbr; /*Uplink GBR in EPS QoS*/
DWORD dwDlGbr; /*Downlink GBR in EPS QoS*/
}T_zMmiaEsm_EpsBearerMod_Req;
/*==============================================================================
Ô­ÓMMIA_ESM_EPS_BEARER_MOD_CNF_EV(ESM->MMIA)
˵Ã÷: +CGEBRMODÃüÁîÖ´Ðгɹ¦£»
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE bCid; /*cid of the EPS Bearer*/
BYTE bPadding;
}T_zMmiaEsm_EpsBearerMod_Cnf;
/*==============================================================================
Ô­ÓMMIA_ESM_EPS_BEARER_MOD_REJ_EV(ESM->MMIA)
˵Ã÷: +CGEBRMODÃüÁîÖ´ÐÐʧ°Ü£»
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE abPadding[2];
DWORD dwErrCode; /*²Ù×÷´íÎóÂë*/
}T_zMmiaEsm_EpsBearerMod_Rej;
/*==============================================================================
Ô­ÓMMIA_ESM_CGATFT_REQ_EV(MMIA->ESM)
˵Ã÷: ¶ÔÓ¦ÓÚ+CGATFTÃüÁ¶Áȡָ¶¨ÉÏÏÂÎĵĵ±Ç°TFTÉèÖã»
¶ÔÓ¦Ö÷¶¯Éϱ¨atÃüÁî:
+CGATFT=<cid1>[,<cid2>[,¡­]]
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE bCidNum; /*ÃüÁîËùÖ¸¶¨µÄcidÊýÄ¿*/
BYTE bPadding;
BYTE abCidArray[Z_MMIAESM_MAX_CID_NUM];
}T_zMmiaEsm_CgatftReq;
/*==============================================================================
Ô­ÓMMIA_ESM_CGATFT_CNF_EV(ESM->MMIA)
˵Ã÷: ¶Ô+CGATFTÃüÁîµÄ·µ»Ø£¬Êä³öÖ¸¶¨ÉÏÏÂÎÄËù¶ÔÓ¦µÄTFT
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE bCidNum; /*cidµÄÊýÄ¿*/
BYTE abPadding[1];
T_zMmiaEsm_TftInfo atTftInfo[Z_MMIAESM_MAX_CID_NUM]; /*·µ»ØµÄÉÏÏÂÎÄËù¶ÔÓ¦TFTÐÅÏ¢*/
}T_zMmiaEsm_CgatftCnf;
/*==============================================================================
Ô­ÓMMIA_ESM_EBR_MOD_QUERY_REQ_EV(MMIA->ESM)
˵Ã÷: ¶ÔÓ¦ÓÚ+CGEBRMODµÄ²éѯÓï·¨£¬²éѯµ±Ç°´æÔÚµÄPDNÁ¬½ÓÒÔ¼°¸ÃPDNÁ¬½ÓÉϼ¤»îÉÏÏÂÎĵÄcid£»
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE abPadding[2];
}T_zMmiaEsm_EbrModQuery_Req;
/*==============================================================================
Ô­ÓMMIA_ESM_EBR_MOD_QUERY_CNF_EV(ESM->MMIA)
˵Ã÷: +CGEBRMODµÄ²éѯÓï·¨µÄ·µ»Ø£¬·µ»Øµ±Ç°´æÔÚµÄPDNÁ¬½ÓÒÔ¼°¸ÃPDNÁ¬½ÓÉϼ¤»îÉÏÏÂÎĵÄcid£»
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE bPdnConNum; /*atPdnConCidInfoÊý×éµÄÓÐЧ³¤¶È*/
BYTE bPadding;
T_zMmiaEsm_PdnConCidInfo atPdnConCidInfo[Z_MMIAESM_MAX_CID_NUM];
}T_zMmiaEsm_EbrModQuery_Cnf;
/*only for R7&R5 ->end*/
typedef struct
{
BYTE bCid;
/*¿ÉÑ¡²ÎÊý±ê¼Ç*/
BITS bSpare:4;
BITS bQciFlg:1; /*ÊÇ·ñ·µ»ØQCI*/
BITS bUlDlGbrFlg:1; /*ÊÇ·ñ·µ»ØGBR²ÎÊý*/
BITS bUlDlMbrFlg:1; /*ÊÇ·ñ·µ»ØMBR²ÎÊý*/
BITS bUlDlAmbrFlg:1; /*ÊÇ·ñ·µ»ØAMBR²ÎÊý*/
/*¿ÉÑ¡²ÎÊý*/
BYTE bQci; /*QCI of EPS QoS*/
BYTE bPadding;
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Ϊµ¥Î»*/
DWORD dwUlAmbr; /*AMBR for Uplink, ÒÔkbpsΪµ¥Î»*/
DWORD dwDlAmbr; /*AMBR for Downlink,ÒÔkbpsΪµ¥Î»*/
}T_zMmiaEsm_EpsQosInfo;
/*==============================================================================
Ô­ÓMMIA_ESM_MT_EPS_BEARER_ACT_REQ_EV(ESM->MMIA)
˵Ã÷: Éϱ¨MTרÓü¤»îÇëÇóÇëÇó£»
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE abPadding2[2];
BYTE abApn[Z_MMIAESM_APN_MAX_LEN]; /*APN*/
T_zMmiaSm_PdpAddr tPdpAddr;
}T_zMmiaEsm_MtEpsBearerAct_Ind;
/*==============================================================================
Ô­ÓMMIA_ESM_MT_EPS_BEARER_ACT_CNF_EV(MMIA->ESM)
˵Ã÷: ¶ÔMTרÓü¤»îÇëÇóµÄÓ¦´ðÏûÏ¢£»
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE bOperaCode; /*Ö¸Ã÷ÊǽÓÊÜ»ò¾Ü¾øMTÇëÇó*/
BYTE bCidNum; /*ATÃüÁîÖÐCidÊýÄ¿*/
BYTE abCid[Z_MMIAESM_MAX_CID_NUM]; /*cidÊý×é*/
}T_zMmiaEsm_MtEpsBearerAct_Req;
/*==============================================================================
Ô­ÓMMIA_ESM_EPS_QOS_QUERY_REQ_EV(MMIA->ESM)
˵Ã÷: ¶ÔÓ¦ÓÚ+CGEQOSRDPÃüÁ²éѯָ¶¨EPS³ÐÔØÉÏÏÂÎÄËù¶ÔÓ¦µÄEPS QoSÉèÖã»
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE bCidFlg; /*
* Z_MMIAESM_CMD_WITHOUTCID ±êʶûÓÐCID
* Z_MMIAESM_CMD_WITHCID ±êʶÓÐCID
*/
BYTE bCid;
}T_zMmiaEsm_EpsQosQuery_Req;
/*==============================================================================
Ô­ÓMMIA_ESM_EPS_QOS_QUERY_CNF_EV(ESM->MMIA)
˵Ã÷: +CGEQOSRDPÃüÁîµÄ·µ»Ø£¬·µ»ØÖ¸¶¨EPS³ÐÔØÉÏÏÂÎÄËù¶ÔÓ¦µÄEPS QoSÉèÖã»
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE bCidNum; /*Êý×éÓÐЧ³¤¶È*/
BYTE bResult; /* ȡֵZ_SUCC/Z_FAIL */
T_zMmiaEsm_EpsQosInfo atEpsQosInfo[Z_MMIAESM_MAX_CID_NUM];
}T_zMmiaEsm_EpsQosQuery_Cnf;
/*==============================================================================
Ô­ÓMMIA_ESM_EPS_ADDR_QUERY_CNF_EV(ESM->MMIA)
˵Ã÷: ·µ»Ø²éѯPDPµØÖ·(¾²Ì¬µØÖ·»ò¶¯Ì¬µØÖ·)
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCidNum;
BYTE bPadding;
T_zMmiaSm_CidPdpAddr atPdpAddr[Z_MMIAESM_MAX_CID_NUM];
}T_zMmiaEsm_QueryPdpAddr_Cnf;
#ifdef BTRUNK_SUPPORT
/*============================================================
Ô­Óï:PTT_MMIA_ESM_TAUTYPE_REQ_EV(ATI->ESM)
˵Ã÷:ÉèÖÃTAU(UE)ÊÇÖ÷ÓûòÕß±¸ÓÃ
=============================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bTauTypeSet;/*Ö÷Óû¹ÊDZ¸Óã¬113±íʾÖ÷Óã¬114±íʾ±¸ÓÃ*/
BYTE bPadding;
}T_zAtiEsm_TauTypeSet_Req;
/*============================================================
Ô­Óï:PTT_MMIA_ESM_TAUTYPE_CNF_EV(ESM->ATI)
˵Ã÷:ÉèÖÃTAU(UE)ÊÇÖ÷ÓûòÕß±¸ÓÃÇëÇóµÄÏìÓ¦
=============================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bResult;/* ȡֵZ_SUCC/Z_FAIL */
BYTE bPadding;
}T_zAtiEsm_TauTypeSet_Cnf;
#endif
typedef enum
{
Z_STM_TASK1_IDX,
Z_STM_TASK2_IDX
}T_zStm_TaskIdx;
/*µç»°±¾´æ´¢Æ÷ID¶¨Òå*/
typedef BYTE T_zStmPb_StorageId;
/* ºÅÂëÏà¹ØµÄÎı¾ */
typedef struct {
BYTE abTextVal[Z_APMMIA_MAX_CALLNAME_LEN];
BYTE abPadding[3];
}T_zApMmia_PhoneText;
/* PB´æ´¢µÄEmail */
typedef struct {
BYTE abEmail[Z_APMMIA_MAX_EMAIL_LEN]; /* ´æ´¢Email*/
BYTE abPadding[2];
}T_zApMmia_Email;
/* PB´æ´¢µÄGroup */
typedef struct {
BYTE abAlphaId[Z_APMMIA_MAX_GAS_LEN]; /* ´æ´¢Group*/
BYTE abPadding[2];
}T_zApMmia_Grp;
/* PB´æ´¢µÄSecond Name */
typedef struct {
BYTE abSne[Z_APMMIA_MAX_SNE_LEN]; /* ´æ´¢Second Name*/
BYTE abPadding[2];
}T_zApMmia_Sne;
/* µç»°±¾´æ´¢Æ÷ */
typedef struct {
BYTE bStorage; /*µç»°±¾´æ´¢Æ÷:
Z_APMMIA_PHONEBOOK_DC
Z_APMMIA_PHONEBOOK_EN
Z_APMMIA_PHONEBOOK_FD
Z_APMMIA_PHONEBOOK_LD
Z_APMMIA_PHONEBOOK_MC
Z_APMMIA_PHONEBOOK_ME
Z_APMMIA_PHONEBOOK_MT
Z_APMMIA_PHONEBOOK_ON
Z_APMMIA_PHONEBOOK_RC
Z_APMMIA_PHONEBOOK_SM
Z_APMMIA_PHONEBOOK_TA
Z_APMMIA_PHONEBOOK_AP
*/
BYTE bPin2Flag; /* 0 ÎÞpin2 1 ÓÐpin2 */
BYTE abPadding[2];
BYTE abPin2[Z_APMMIA_PIN_LEN]; /* pin2µÄÖµ , ÓÉATIÌî³äĩβµÄ0xff*/
}T_zApMmia_PbStorage;
/**************************************************************************
Ô­ÓZ_APMMIA_PbStorageStatusCnf_Ev
¹¦ÄÜ£º²éѯ´æ´¢Æ÷µÄÌØÐÔ¼°×´Ì¬
ATÃüÁ+CPBS?,+CPBR*?,+CPBF*?,+CPBW*?
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bResult;
BYTE bQueryFlag; /* ½«ÇëÇóµÄbQueryFlag´ø»Ø */
T_zApMmia_PbStorage tStorage;
WORD wTotal; /* ×ÜÌõÊý */
WORD wUsed; /* ʹÓõÄÌõÊý */
WORD wNlength; /* ºÅÂë×î´ó³¤¶È */
WORD wTlength; /* text×î´ó³¤¶È */
WORD wGlength; /* GroupµÄ×î´ó³¤¶È*/
WORD wSlength; /* µÚ¶þÈËÃûµÄ×î´ó³¤¶È*/
WORD wElength; /* EmailµÄ×î´ó³¤¶È*/
BYTE abPadding[2];
DWORD dwReason;
}T_zApMmia_PbStorageStatus_Cnf;
/****************************************************************************
Ô­Óï:Z_APMMIA_PbCommonCnf_Ev(PB->MMIA)
¹¦ÄÜ:PBÄ£¿éµÄͨÓÃÖ´Ðнá¹ûÂë
¶ÔÓ¦ATÃüÁî:ijЩATÃüÁîÖ´ÐеĽá¹û£¬ok/error /cer£º+error
****************************************************************************/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bResult; /* ATÃüÁî½á¹û Z_APMMIA_OPERATION_SUCCESS/Z_APMMIA_OPERATION_FAILURE*/
BYTE bEvtFg; /* ±êʶ¶ÔÓ¦µÄÇëÇóÏûÏ¢£¬ºóÐø¿ÉÊÓÇé¿öÌí¼ÓÆäËüÏûÏ¢
Z_APMMIA_PBCOMMCNF_MEMCAPA 1 ±íʾÏûÏ¢ Z_APMMIA_PbMemCapaReq_Ev µÄ»Ø¸´ */
DWORD dwCause; /* bResult = Z_APMMIA_OPERATION_FAILUREÓÐЧ*/
}T_zApMmia_PbCommon_Cnf;
/**************************************************************************
Ô­ÓZ_APMMIA_PbSFindIndexReq_Ev(MMIA->PB)
¹¦ÄÜ£ºÇëÇóÁоٵ绰±¾¼Ç¼(Ö¸¶¨´æ´¢Æ÷)£¬³¤µç»°±¾
ATÃüÁ^SCPBR
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bIndex2Fg; /* ָʾwIndex2ÓÐЧÐÔ£¬È¡Öµ
* Z_APMMIA_INVALID
* Z_APMMIA_VALID
*/
BYTE bCmdFlg; /*
* ȡֵ·¶Î§:
* Z_APMMIA_CHINA_MOBILE_CMD
* Z_APMMIA_ZTE_OWN_CMD
*/
WORD wIndex1;
WORD wIndex2;
}T_zApMmia_PbSFindIndex_Req;
/**************************************************************************
Ô­ÓZ_APMMIA_PbSFindIndexEndCnf_Ev
¹¦ÄÜ£ºÁоٵ绰±¾¼Ç¼£¬½áÊøÏûÏ¢
ATÃüÁ^SCPBR
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bResult; /* 0 ʧ°Ü 1 ³É¹¦ */
BYTE bCmdFlg; /*
* ȡֵ·¶Î§:
* Z_APMMIA_CHINA_MOBILE_CMD
* Z_APMMIA_ZTE_OWN_CMD
*/
DWORD dwReason; /* ʧ°ÜÔ­Òò */
}T_zApMmia_PbSFindIndexEnd_Cnf;
/**************************************************************************
Ô­ÓZ_APMMIA_PbSEditCnf_Ev(PB->MMIA)
¹¦ÄÜ£ºÔö¼Ó»òɾ³ý¼Ç¼µÄ½á¹û
ATÃüÁ^SCPBW
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bResult; /* 0ʧ°Ü£¬1³É¹¦ */
BYTE bCmdFlg; /*
* ȡֵ·¶Î§:
* Z_APMMIA_CHINA_MOBILE_CMD
* Z_APMMIA_ZTE_OWN_CMD
*/
DWORD dwReason;
}T_zApMmia_PbSEdit_Cnf;
/**************************************************************************
Ô­ÓZ_APMMIA_PbSCpbrTestReq_Ev(MMIA->PB),
Z_APMMIA_PbSCpbwTestReq_Ev(MMIA->PB)
¹¦ÄÜ£ºÇëÇó²âÊÔSCPBRºÍSCPBWÃüÁî²ÎÊý¿Éѡֵ
¶ÔÓ¦ATÃüÁ^SCPBR=?,^SCPBW=?
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCmdFlg; /*
* ȡֵ·¶Î§:
* Z_APMMIA_CHINA_MOBILE_CMD
* Z_APMMIA_ZTE_OWN_CMD
*/
BYTE bPadding;
} T_zApMmia_PbSCpbrTest_Req, T_zApMmia_PbSCpbwTest_Req;
/**************************************************************************
Ô­ÓZ_APMMIA_PbSCpbrTestCnf_Ev(PB->MMIA),
Z_APMMIA_PbSCpbwTestCnf_Ev(PB->MMIA)
¹¦ÄÜ£º·µ»ØCPBRºÍCPBWÃüÁî²ÎÊý¿Éѡֵ
¶ÔÓ¦ATÃüÁ^SCPBR=?, ^SCPBW=?
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCmdFlg; /*
* ȡֵ·¶Î§:
* Z_APMMIA_CHINA_MOBILE_CMD
* Z_APMMIA_ZTE_OWN_CMD
*/
BYTE bEmailLenthFg; /* ָʾwEmailLenthÓÐЧÐÔ */
WORD wMaxIndex;
WORD wNumLenth; /* ÕûÐÍÖµ£¬±íʾµç»°ºÅÂëµÄ×î´ó³¤¶È */
WORD wTxtLenth; /* ÕûÐÍÖµ£¬±íʾÐÕÃûµÄ×î´ó³¤¶È */
WORD wEmailLenth; /* ÕûÐÍÖµ£¬±íʾEMAILµÄ×î´ó³¤¶È */
BYTE bSneLengthFg; /* ±êʶwSneLengthÓÐЧÐÔ*/
BYTE bPadding;
WORD wSneLength; /* ÕûÐÍÖµ£¬±êʶSNE×î´ó³¤¶È*/
}T_zApMmia_PbSCpbrTest_Cnf, T_zApMmia_PbSCpbwTest_Cnf;
/**************************************************************************
Ô­ÓZ_ApMmia_PbCpbwQueryCnf_Ev(PB->MMIA),
¹¦ÄÜ£º²éѯwritten_index
¶ÔÓ¦ATÃüÁ+CPBW?
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDstIndex;
BYTE bWrittenIndexFlg; /*
* ±êʶbWrittenIndexÓÐЧÐÔ
* Z_APMMIA_VALID±êʶÓÐЧ
* Z_APMMIA_INVALID±êʶÎÞЧ
*/
BYTE bPadding;
WORD wWrittenIndex; /* integer type value indicating the last location number <index> of the written phonebook entry*/
BYTE abPadding[2];
}T_zApMmia_PbCpbwQuery_Cnf;
/**************************************************************************
Ô­Ó Z_ApMmia_PbCpbwQueryReq_Ev(MMIA->PB)
¹¦ÄÜ£º ²éѯwritten_index
¶ÔÓ¦ATÃüÁ +CPBW?
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
} T_zApMmia_PbCpbwQuery_Req, T_zApMmia_PbCnum_Req;
/****************************************************************************
Ô­Óï:Z_APMMIA_PbCnum_Cnf (PB->MMIA)
¹¦ÄÜ:²éѯÓû§MSISDNs µÄ½á¹û
¶ÔÓ¦ATÃüÁî:+CNUM
****************************************************************************/
typedef struct {
BYTE bUseFg; /* ָʾbSpeed bService bItcÓÐЧÐÔ
* (¿¼Âǵ½ºÅÂëÓëbSpeed bService bItcΪSIM¿¨Öв»Í¬Îļþ£¬
* ÈôÎÞºÅÂ룬ÔòÖ±½Ó±¨´í£¬ÈôÖ»ÓкÅÂë¶øÎÞbSpeed bService bItc£¬ÔòbUseFg=0±êʶ¸ÃÈýÏîÎÞЧ£¬
* ÈôÓкÅÂëÇÒ¸ÃÈýÏîÓÐЧ£¬ÔòbUseFg=1) */
BYTE bSpeed;
BYTE bService;
BYTE bHiddenFg; /* ָʾhiddenÊÇ·ñÓÐЧ£¬Z_APMMIA_INVALID/Z_APMMIA_VALID */
BYTE bHidden; /* 0 not hidden 1 hidden */
BYTE bItc;
BYTE abPadding[2];
T_z_CallNum tNum;
T_zApMmia_PhoneText tText;
}T_zApMmia_Cnum;
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bResult; /* ATÃüÁî½á¹û Z_APMMIA_OPERATION_SUCCESS/Z_APMMIA_OPERATION_FAILURE*/
BYTE bCnumCount; /* ÓÐЧCnum¸öÊý */
DWORD dwCause; /* bResult = Z_APMMIA_OPERATION_FAILUREÓÐЧ*/
T_zApMmia_Cnum atCnum[Z_APMMIA_CNUM_MAXCOUNT];
} T_zApMmia_PbCnum_Cnf;
/****************************************************************************
Ô­Óï:Z_APMMIA_PbClckSetReq_Ev(MMIA->PB)
¹¦ÄÜ: ´¦ÀíFD¹¦ÄÜ
¶ÔÓ¦ATÃüÁî:+CLCK
****************************************************************************/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bFac; /* ²Î¼ûºê¶¨Òå Z_APMMIA_FACVALUE_FD */
BYTE bMode; /* ²Î¼ûºê¶¨Òå Z_APMMIA_SSOPTMODE_DEACTIVATION etc.*/
BYTE bClassFg;
BYTE bClass; /* ²Î¼ûºê¶¨Òå Z_APMMIA_CLASS_VOICE etc.*/
BYTE bChId;
BYTE bPasswdLen; /* SSÒµÎñµÄÃÜÂ볤¶È½öÏÞ4£¬
¿¨Ïà¹ØÒµÎñµÄÃÜÂ볤¶È¿É²»¶¨³¤£¬×î´óΪ8*/
BYTE abPassword[Z_APMMIA_MAX_PASSWD_LEN]; /* ÃÜÂë*/
} T_zApMmia_PbClckSet_Req;
/* CLCK¡¢CCWA²éѯ½á¹û×ӽṹ */
typedef struct
{
BYTE bStatus; /* ²Î¼ûºê¶¨Òå Z_APMMIA_SSSTATUS_NOTACTIVE etc.*/
BYTE bClassFg; /* bClass´æÔÚ±ê¼Çλ*/
BYTE bClass; /* ²Î¼ûºê¶¨Ò壬²»°üº¬À©Õ¹ºê¶¨Òå */
BYTE bPadding;
} T_zApMmia_ClassStatus;
/****************************************************************************
Ô­Óï:Z_APMMIA_PbClckStatusCnf_Ev(PB->MMIA)
¹¦ÄÜ:»Ø¸´²éѯµÄclassÒÔ¼°ÊÇ·ñ¼¤»î£¬¿¨Ïà¹Ø»Ø¸´ÖнöÓÐbActiveStatus
¶ÔÓ¦ATÃüÁî:+CLCK: <status>[,<class1>[<CR><LF>+CLCK: <status>,<class2>[...]] ,mode=2µÄÇé¿ö
****************************************************************************/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bClassNum; /* classÓÐЧ¸öÊý*/
BYTE bPadding;
T_zApMmia_ClassStatus atClass[8]; /* ²éѯ½á¹ûÊý×é */
} T_zApMmia_PbClckStatus_Cnf;
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bIndex2Fg; /* ָʾwIndex2ÓÐЧÐÔ£¬È¡Öµ
* Z_APMMIA_INVALID
* Z_APMMIA_VALID
*/
BYTE bPadding;
WORD wIndex1; /*×îС´Ó1¿ªÊ¼, (ËæeÐÐ×îС´Ó0¿ªÊ¼)*/
WORD wIndex2; /*×îС´Ó1¿ªÊ¼, (ËæeÐÐ×îС´Ó0¿ªÊ¼)*/
}T_zApMmia_CpbrSet_Req;
/**************************************************************************
Ô­ÓZ_APMMIA_CpbsSetReq_Ev(CommonCnf»Ø¸´),Z_APMMIA_PbStoSetReq_Ev(Z_APMMIA_PbCommonCnf_Ev)
¹¦ÄÜ£ºÉèÖõ±Ç°µÄµç»°±¾
¶ÔÓ¦ATÃüÁ+CPBS
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
T_zApMmia_PbStorage tPbStorage;
}T_zApMmia_CpbsSet_Req,T_zApMmia_PbStoSet_Req;
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BITS bHiddenFg:1; /*ָʾbHiddenÓÐЧÐÔ*/
BITS bIndexFg:1; /*ָʾindexÓÐЧÐÔ*/
BITS bNumFg:1; /* ָʾtBcdNumÓÐЧÐÔ */
BITS bTextFg:1; /* ָʾtTextÓÐЧÐÔ */
BITS bSneFg:1; /* ָʾtSneÓÐЧÐÔ */
BITS bEmailFg:1; /* ָʾtEmailÓÐЧÐÔ */
BITS bAnrFg:1; /* ָʾtAnrÓÐЧÐÔ */
BITS bGrpFg:1; /* ָʾtGrpÓÐЧÐÔ */
BYTE bHidden; /*0 not hidden£¬1 hidden, ȱʡֵΪ0£¬ÓÉATIÌîд*/
WORD wIndex; /* ×îС´Ó1¿ªÊ¼ */
BYTE abPadding[2];
T_z_CallNum tNum;
T_zApMmia_PhoneText tText;
T_zApMmia_Sne tSne; /* ¸Ãµç»°¼Ç¼¶ÔÓ¦µÄµÚ¶þ¸öÈËÃû*/
T_zApMmia_Email tEmail; /* µç×ÓÓÊÏ䵨ַ*/
T_z_CallNum tAnr; /* ¸½¼ÓµÄºÅÂë*/
T_zApMmia_Grp tGrp; /* ±íÃ÷¸Ãµç»°¼Ç¼ÏîÊôÓÚÄǸöGroup*/
}T_zApMmia_CpbwSet_Req,T_zApMmia_PbEdit_Req,T_zApMmia_CpbrSet_Cnf,T_zApMmia_PbFindIndex_Cnf;
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bResult; /* ½á¹û0£¬Ê§°Ü£¬1³É¹¦ */
BYTE bPadding;
DWORD dwReason;
}T_zApMmia_CpbrSetEnd_Cnf;
typedef struct ListForStm
{
T_ZOss_Node node;
UINT32 iEvId;
UINT8 *pDataPtr;
UINT16 iDataLen;
}
T_ZAti_ListForStm;
/****************************************************************************
½á¹¹Ìå: T_ZAti_StmList_Ind
¹¦ÄÜ: ½«¶ÌÐÅÁбíºÍЭÒéջָʾ±êÖ¾´ø¸øATI
bResult:
ATÃüÁî: AT+CMGL
¶ÔÓ¦ÏûÏ¢: EV_ZATI2_STMLIST_IND
***************************************************************************/
typedef struct
{
UINT8 iSrcIndex;
UINT8 iDestIndex;
UINT8 iStackId; /* ЭÒéջָʾ±êÖ¾£¬0£ºÐ­ÒéÕ»1£¬ 1£ºÐ­ÒéÕ»2 */
UINT8 bPadding;
T_ZOss_List * pStmMsgList; /* Ö¸Õëg_zStm_MsgListµÄµØÖ·*/
}T_ZAti_StmList_Ind;
typedef struct
{
T_zStmPb_StorageId readStorage;
T_zApMmia_CpbrSet_Req cpbrSetReq;
UINT32 cnfMsgId;
T_zApMmia_CpbrSet_Cnf cpbrSetCnf;
T_zApMmia_CpbrSetEnd_Cnf CpbrSetEndCnf;
}T_zStm_Cpbr_Cnf;
typedef struct
{
T_zStmPb_StorageId readStorage;
UINT16 iStartRec;
T_zApMmia_CpbrSet_Req cpbrSetReq;
}T_zStm_Cpbr_Req;
/****************************************************************************
Ô­Óï:EV_ZATI2_ZWEN_SET_REQ
¹¦ÄÜ:Óû§Ôö¼ÓPB½ô¼±ºÅÂëÁбí
¶ÔÓ¦ATÃüÁî:+ZWEN=<NUM>,<category>
***************************************************************************/
typedef struct
{
UINT8 iSrcIndex;
UINT8 iDestIndex;
BYTE bSrvCategFg; /* ±íʾbSrvCategÊÇ·ñÓÐЧ£¬
ZPS_APMMIA_INVALID ÎÞЧ£¬ZPS_APMMIA_VALID ÓÐЧ
*/
BYTE bSrvCateg;
BYTE bNumLen;
BYTE bPadding;
BYTE abNum[ZATI2_ECC_MAXNUM];
} T_ZAti_EmerNum_Req;
/****************************************************************************
½á¹¹Ìå: T_ZAti_EmerNum_Cnf
¹¦ÄÜ: ±£´æ½ô¼±ºÅÂëµÄÏìÓ¦½á¹û
bResult: Ö´Ðнá¹û£¬TRUEΪ³É¹¦£¬FALSEΪʧ°Ü
×¢Ò⣬µ±ÒѾ­Æô¶¯ÁËPPP£¬²»ÄÜÖÃΪ²»Æô¶¯PPP¡£
ATÃüÁî: AT+ZWEN
¶ÔÓ¦ÏûÏ¢: EV_ZATI2_ZWEN_CNF
***************************************************************************/
typedef struct
{
UINT8 iSrcIndex;
UINT8 iDestIndex;
BOOL bResult; /* Ö´Ðнá¹û£¬TRUEΪ³É¹¦£¬FALSEΪʧ°Ü */
}T_ZAti_EmerNum_Cnf;
typedef struct
{
UINT8 iSrcIndex;
UINT8 iDestIndex;
UINT8 bResult; /* Áоٽá¹û */
UINT16 dwReason; /* ÁоÙʧ°ÜÔ­Òò */
UINT16 bIndexNum;
UINT16 arrIndex[ZATI2_CPMSMEM_USIM_MAX_NUM];
}
T_ZAti_ValidIndexCnf;
/****************************************************************************
Ô­Óï: Z_APMMIA_SmsCpmsReq_Ev(ATI->MMIA),Z_APMMIA_PbPrefMsgStoReq_Ev (MMIA->PB)
¹¦ÄÜ:ÏûÏ¢Ê×Ñ¡´æ´¢Æ÷ÉèÖã»
¶ÔÓ¦ATÃüÁ+CPMS¡£
***************************************************************************/
typedef struct
{
BYTE bSrcIndex;
BYTE bDestIndex;
BYTE bCommandInd; /*
* ¶ÔÓ¦µÄÃüÁîָʾ
* Z_APMMIA_SMSCMDTYPE_SET : ÉèÖÃÃüÁî
* Z_APMMIA_SMSCMDTYPE_QUERY: ¶ÁÃüÁî,Ö»·µ»Øµ±Ç°bMsgService£¬bMsgSupportIndµÄÖµ¡£
*/
BYTE bMem1; /* Ê×Ñ¡¶Á,Áо٣¬É¾³ý´æ´¢Æ÷. ´æ´¢Æ÷Ãû³Æ¡£±¾·½°¸¿ÉÓÃÊýÖµ´úÌæ±íʾ¡£
* Z_APMMIA_CPMSMEM_BM
* Z_APMMIA_CPMSMEM_ME
* Z_APMMIA_CPMSMEM_MT
* Z_APMMIA_CPMSMEM_USIM
* Z_APMMIA_CPMSMEM_TA
*Z_APMMIA_CPMSMEM_SR
*/
BYTE bMem2OperFg; /* ָʾmem2µÄÓÐЧÐÔ£¬È¡Öµ
* Z_APMMIA_PARAM_INVALID
* Z_APMMIA_PARAM_VALID
*/
BYTE bMem2; /* Ê×Ñ¡·¢ËÍ£¬Ð´´æ´¢Æ÷. */
BYTE bMem3OperFg; /* ָʾmem3µÄÓÐЧÐÔ£¬È¡Öµ
* Z_APMMIA_PARAM_INVALID
* Z_APMMIA_PARAM_VALID
*/
BYTE bMem3; /* Ê×Ñ¡MTÏûÏ¢±£´æ´æ´¢Æ÷.*/
}T_zApMmia_SmsCpms_Req,T_zApMmia_PbPrefMsgSto_Req;
/**************************************************************************
Ô­ÓZ_APMMIA_ListSmCnf_Ev
¹¦ÄÜ£ºÁоÙÏûÏ¢µÄ»Ø¸´
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bStatChgFlg;
BYTE bResult; /* Áоٽá¹û */
DWORD dwReason; /* ÁоÙʧ°ÜÔ­Òò */
WORD wCurNum;
WORD wTotalNum;
WORD wIndex;
BYTE bMsgStatus;
BYTE bMem1;
DWORD dwLen; /*Ϊ²âÊÔ¹¤¾ß¸ü¸Ä*/
PBYTE pbMsg; /* Ö¸ÏòmsgµÄÖ¸Õë */
}T_zApMmia_ListSm_Cnf, T_zApMmia_ListSmRlt;
/* TP-FOÊý¾ÝµÄ½á¹¹ÀàÐÍ */
typedef struct
{
BITS bMsgTypeId:2; /*
* ÏûÏ¢ÀàÐͱêʶMTIÕ¼2룬bit1ºÍbit0.
* 0 0 SMS DELIVER (SC' MS)
* 0 0 SMS DELIVER REPORT (MS' SC)
* 1 0 SMS STATUS REPORT (SC ' MS)
* 1 0 SMS COMMAND (MS ' SC)
* 0 1 SMS SUBMIT (MS' SC)
* 0 1 SMS SUBMIT REPORT (SC ' MS)
* 1 1 ±£Áô,MSÊÕµ½º¬ÓдËÖµµÄSMʱ,ÊÓÆäΪSMS DELIVER²¢Ô­Ñù´æ´¢Ö®.
*/
BITS bMsgFeature:1; /*
* ÏûÏ¢ÌØÕ÷룬¼´¶àÏûÏ¢·¢ËÍMMS/¾Ü¾ø¸´ÖÆRPָʾ£¬Õ¼1λbit2.
* MMS:Õë¶ÔSMS-DELIVER»òSMS-STATUS-REPORT
* 0 :SCÖÐÓжàÌõµÈ´ýÒª·¢Íù¸ÃMSµÄSM»ò״̬±¨¸æ¡£
* 1 :SCÖÐûÓжàÌõµÈ´ýÒª·¢Íù¸ÃMSµÄSM»ò״̬±¨¸æ¡£
* RD£ºÕë¶ÔSMS-SUBMIT.
* 0:ָʾSCÔÊÐí½ÓÄÉÒ»¸öSMS-SUBMIT¸´ÖƵÄSM.(TP-MR,TP-DA,TP-OA½ÔÏàͬ)
* 1: ָʾSC¾Ü¾ø½ÓÄÉÒ»¸ö¸´ÖƵÄSMS-SUBMIT.
*/
BITS bTpvpFormat:2; /*
* ÓÐЧÆÚ¸ñʽVPF,Õ¼2룬bit4ºÍbit3.
* Õë¶ÔSMS-SUBMIT.
* 0 0 TP-VPÓòδÌṩ
* 1 0 TP-VPÓòÌṩ - Ïà¹Ø¸ñʽ : TP-VPÕ¼Ò»¸ö×Ö½Ú,Ϊһ¸ö×Ö½ÚµÄÕûÊýÖµ,
* ±íʾÓÐЧÆÚµÄ³¤¶È,´ÓSC½ÓÊÕµ½SMS-SUBMITÄÇÒ»¿ÌËãÆð.±íʾµÄʱ¼äÖµÈçÏÂ:
* TP-VP Öµ Validity period Öµ
* 0 to 143 (TP-VP+1)x5minutes (i.e.5 minutes intervals up to 12 hours)
* 144 to 167 12hours+((TP-VP-143) x 30 minutes)
* 168 to 196 (TP-VP-166)x1day
* 197 to 255 (TP-VP-192)x1week
* 0 1 TP-VPÓòÌṩ - ÔöÇ¿¸ñʽ :ÓÉ7o×é³É,ËùÓÐ×Ö½Ú±ØÐëÈ«²¿³öÏÖ,¾¡¹Üδ±Ø
* È«Óõ½.Ê××Ö½ÚÖ¸Ã÷Á˺óÃæ6¸ö×Ö½ÚµÄʹÓ÷½·¨,Èκα£Áô»ò²»ÓõÄλÐëÖÃΪ0.
* 1 1 TP VPÓòÌṩ - ¾ø¶Ô¸ñʽ : TP-VPΪ7o,°ë×Ö½Ú±íʾ,±íʾÓÐЧÓòÖÐÖ¹µÄ¾ø¶Ô
* ʱ¼ä,ͬµÈÓÚSCTS±íʾ·¨.
*/
BITS bStatRptFeature:1; /* ״̬±¨¸æÌØÕ÷룬¼´ÏûÏ¢ÌØÕ÷£¬×´Ì¬±¨¸æÖ¸Ê¾SRI/״̬±¨¸æÇëÇóSRR/״̬±¨¸æ×ʸñÕßSRQ,
* Õ¼1룬bit5.
* SRI£ºÕë¶ÔSMS-DELIVER.
* 0:ÎÞ״̬±¨¸æ·µ»Ø¡£¡£
* 1:Ò»¸ö״̬±¨¸æÓ¦£¨´ÓSC£©·µ»Ø¸øÔ´SME.(ÒòΪԴSMEÔÚSMS-SUBMITÖÐÇëÇó¡£
* ÁË״̬±¨¸æ)
* SRR£ºÕë¶ÔSMS-SUBMIT.
* 0:ÎÞ״̬±¨¸æÇëÇó¡£
* 1:Ò»¸ö״̬±¨¸æ±»ÇëÇ󷵻ء£
* SRQ£ºÕë¶ÔSMS-STATUS-REPORT
* 0:ÊÇSMS-SUBMITµÄ¶ÔӦ״̬±¨¸æ¡£
* 1:ÊÇSMS-COMMANDµÄ¶ÔӦ״̬±¨¸æ¡£
*/
BITS bTpudHeadInd:1; /* Óû§Êý¾ÝÍ·²¿Ö¸Ê¾UDHI£¬Õ¼1룬bit6.
* 0:TP-UDÓò½ö°üº¬¶ÌÏûÏ¢.
* 1: TP-UDÓò°üº¬Óû§Êý¾ÝÍ·²¿ºÍ¶ÌÏûÏ¢Ìå.
*/
BITS bReplyPathInd:1; /* »Ø¸´Â·¾¶Ö¸Ê¾RP,Õ¼1룬bit7.
* 0:δÉèÖûظ´Â·¾¶¡£
* 1:»Ø¸´Â·¾¶²ÎÊýÔÚSMS-SUBMIT/ SMS-DELIVER.ÒÑÉèÖÃ.
*/
BYTE abPadding[3];
}T_zApMmia_TpFo;
/* µØÖ·ÀàÐ͵͍ÒåÀàÐÍ */
typedef struct
{
BITS bNumPlanId:4; /* Numbering Plan Identificationλ¶Î */
BITS bNumberType:3; /* Type of Numberλ¶Î */
BITS bTopBit:1; /* ×î¸ßλ¹Ì¶¨Îª1. */
BYTE abPadding[3];
}T_zApMmia_AddrType;
/* µØÖ·ÀàÐÍ */
typedef struct
{
BYTE bAddrLength; /*
* ¿ÉΪ°ë×Ö½Ú±íʾµÄµØÖ·Öµ³¤¶È£¬È¡Öµ£¨0¡«20£©
* µ±bAddrLengthÈ¡0ʱ£¬bAddrValue²»Ìṩ£¬tAddrType
* ¿ÉÌṩ
*/
BYTE abPadding[3];
T_zApMmia_AddrType tAddressType; /* µØÖ·ÀàÐÍ£¬×é³É¸ñʽ£º1+TON(3λ)+NPI(µÍ4λ)*/
BYTE abAddrValue[Z_APMMIA_MAX_ADDRVALUE_LEN];
/*
* µØÖ·ÖµÓò£¬°ë×Ö½Ú±íʾ»ò×ÖĸÊý×Ö±íʾ
*£¨½öÓ¦ÓÃÓÚSM-TL²ã£©.
* Èô´ËÓò³¤¶ÈÎªÆæÊý£¬Ôò×î¸ß×Ö½Ú²¹¡°FF¡±´Õ³ÉżÊý¸ö
*/
BYTE abPadding2[2];
}T_zApMmia_TpAddress; /* Çø·ÖSM-TLµØÖ·ºÍµ×²ãRP²ãµØÖ·*/
typedef struct{
BYTE bYear;
BYTE bMonth;
BYTE bDay;
BYTE bHour;
BYTE bMinute;
BYTE bSecond;
BYTE bTmZone;
BYTE bPadding;
}T_zApMmia_TZAndTime;
/****************************************************************************
Ô­Óï:Z_APMMIA_SmsTdeliListCnf_Ev(MMIA->ATI)
¹¦ÄÜ:´Ó´æ´¢Æ÷ÁоÙÏûÏ¢µÄSMS-DELIVERÏûÏ¢µÄÏìÓ¦£»
¶ÔÓ¦ATÃüÁî:Îı¾Ä£Ê½µÄ+CMGLµÄSMS-DELIVER×îÖÕ½á¹ûÂë¡£
***************************************************************************/
typedef struct
{
BYTE bSrcIndex;
BYTE bDestIndex;
BYTE bMsgHeadInd; /*
* Îı¾Ä£Ê½ÏµÄÏûϢͷ²¿²ÎÊýÏÔʾָʾ¡£¼´+CSDHÃüÁîµÄÉèÖá£
* Z_APMMIA_CSDH_NOSHOW: +CSDHδÉèÖã¬Ôò²»ÏÔʾ<tooa>, <length>²ÎÊýÖµ£¬·Ö±ð¶ÔÓ¦tTpOriginalAddrÀàÐÍ¡¢
* bTextLength¡£
* ÒÔÏÂͬ¡£
* Z_APMMIA_CSDH_SHOW: +CSDHÒÑÉèÖÃΪ1¡£
*/
BYTE bMsgStatVal; /* ÏûϢ״̬,PDUģʽÏÂΪÊýÖµ£¬Îı¾Ä£Ê½ÏÂΪ´®±íʾ¡£*/
WORD wTotalNum; /* ×ܵÄÏûÏ¢ÌõÊý */
WORD wCurNum; /* µ±Ç°µÄÏûÏ¢ÌõÊý */
WORD wIndex; /* ´æ´¢Î»ÖÃÐòºÅ.*/
BYTE bCharNum; /* ¶ÔÓ¦TPUDL£¬×î´óֵΪZ_APMMIA_MAX_SMSTEXTCHAR_LEN */
BYTE bNameFg;
BYTE bStatChgFlg; /* Z_APMMIA_STATCHANGE_ENABLE
* Z_APMMIA_STATCHANGE_DISABLE
*/
BYTE bDcs; /*µ±Ç°ÏûϢʹÓõÄDCS*/
BYTE abPadding[2];
T_zApMmia_TpFo tTpFirstOctet;
T_zApMmia_TpAddress tTpOriginalAddr; /* Ä¿µÄµØÖ·/Ô´µØÖ·¡£*/
T_zApMmia_PhoneText tName; /* <da>¶ÔÓ¦µÄÈËÃû,ÓÉbNameFg¾ö¶¨ÊÇ·ñ´æÔÚ */
T_zApMmia_TZAndTime tTpSCTS;/* ʱ¼ä´Á. µ±ÎªSMS-SUBMITʱÎ޴˲ÎÊý¡£ */
DWORD dwTextLength; /* Îı¾Êý¾Ý×Ö·û³¤¶È.Ϊ²âÊÔ¹¤¾ß¸ü¸Ä*/
PBYTE pTextBuffer; /* Îı¾Êý¾Ý»º³åÇøÖ¸Õë.*/
}T_zApMmia_SmsTdeliList_Cnf, T_zApMmia_SmsTdeliListRlt;
/****************************************************************************
Ô­Óï:Z_APMMIA_SmsPcmglCnf_Ev (MMIA->ATI)
¹¦ÄÜ:ÁоÙÏûÏ¢µÄÏìÓ¦£»
¶ÔÓ¦ATÃüÁî:+CMGLÃüÁîµÄ×îÖÕ½á¹ûÂë¡£
***************************************************************************/
typedef struct
{
BYTE bSrcIndex;
BYTE bDestIndex;
WORD wTotalNum; /* ÁоÙÏûÏ¢×ܵÄÌõÊý */
WORD WCurNum; /* µ±Ç°ÏûÏ¢ÌõÊý */
WORD wIndex; /* ´æ´¢Î»ÖÃÐòºÅ.*/
BYTE bMsgStatVal; /* ÏûϢ״̬,PDUģʽÏÂΪÊýÖµ£¬Îı¾Ä£Ê½ÏÂΪ´®±íʾ¡£*/
BYTE bTpduLength; /* PDUÊý¾ÝÖÐTPDUµÄ×Ö½Ú³¤¶È,×î´óȡֵ164B*/
BYTE bNameFg;
BYTE bStatChgFlg; /* Z_APMMIA_STATCHANGE_ENABLE
* Z_APMMIA_STATCHANGE_DISABLE
*/
BYTE bMem; /* ΪCQNJ00194566ÐÞ¸Ä*/
BYTE abPadding[3];
T_zApMmia_PhoneText tName; /* <oa>/<da>¶ÔÓ¦µÄÈËÃû */
BYTE abPduBuf[Z_APMMIA_MAX_SMSPDU_LEN];
/* ÓÉtTpSCAddrÓò+TPDUÓò×é³ÉµÄPDUÊý¾Ý»º³åÇøµÄÖ¸Õë¡£*/
}T_zApMmia_SmsPcmgl_Cnf, T_zApMmia_SmsPcmglRlt;
/****************************************************************************
Ô­Óï:Z_APMMIA_SmsTsubListCnf_Ev(MMIA->ATI)
¹¦ÄÜ:´Ó´æ´¢Æ÷ÁоÙÏûÏ¢µÄSMS-SUBMITÏûÏ¢µÄÏìÓ¦£»
¶ÔÓ¦ATÃüÁî:Îı¾Ä£Ê½µÄ+CMGLµÄSMS-SUBMIT×îÖÕ½á¹ûÂë¡£
***************************************************************************/
typedef struct
{
BYTE bSrcIndex;
BYTE bDestIndex;
BYTE bMsgHeadInd; /*
* Îı¾Ä£Ê½ÏµÄÏûϢͷ²¿²ÎÊýÏÔʾָʾ¡£¼´+CSDHÃüÁîµÄÉèÖá£
* Z_APMMIA_CSDH_NOSHOW: +CSDHδÉèÖã¬Ôò²»ÏÔʾ<toda>, <length>²ÎÊýÖµ£¬·Ö±ð¶ÔÓ¦tTpOriginalAddrÀàÐÍ¡¢
* bTextLength¡£
* ÒÔÏÂͬ¡£
*Z_APMMIA_CSDH_SHOW: +CSDHÒÑÉèÖÃΪ1¡£
*/
BYTE bMsgStatVal;/* ÏûϢ״̬,PDUģʽÏÂΪÊýÖµ£¬Îı¾Ä£Ê½ÏÂΪ´®±íʾ¡£*/
WORD wTotalNum; /* ×ܵÄÏûÏ¢ÌõÊý */
WORD wCurNum; /* µ±Ç°µÄÏûÏ¢ÌõÊý */
WORD wIndex; /* ´æ´¢Î»ÖÃÐòºÅ.*/
BYTE bCharNum; /* ¶ÔÓ¦TPUDL£¬×î´óֵΪZ_APMMIA_MAX_SMSTEXTCHAR_LEN */
BYTE bNameFg;
BYTE bDcs; /*µ±Ç°ÏûϢʹÓõÄDCS*/
BYTE bStatChgFlg; /* Z_APMMIA_STATCHANGE_ENABLE
* Z_APMMIA_STATCHANGE_DISABLE
*/
BYTE abPadding[2];
T_zApMmia_TpFo tTpFirstOctet;
T_zApMmia_TpAddress tTpDestAddr;/* Ä¿µÄµØÖ·/Ô´µØÖ·¡£*/
T_zApMmia_PhoneText tName; /* <da>¶ÔÓ¦µÄÈËÃû,ÓÉbNameFg¾ö¶¨ÊÇ·ñ´æÔÚ */
DWORD dwTextLength;/* Îı¾Êý¾Ý×Ö·û³¤¶È.Ϊ²âÊÔ¹¤¾ß¸ü¸Ä*/
PBYTE pTextBuffer;/* Îı¾Êý¾Ý»º³åÇøÖ¸Õë.*/
}T_zApMmia_SmsTsubList_Cnf, T_zApMmia_SmsTsubListRlt;
/****************************************************************************
Ô­Óï:Z_APMMIA_SmsTstatListCnf_Ev(MMIA->ATI)
¹¦ÄÜ:ÁоÙÏûÏ¢µÄSMS-STATUS-REPORTÏìÓ¦£»
¶ÔÓ¦ATÃüÁî:Îı¾Ä£Ê½µÄ+CMGLµÄSMS-STATUS-REPORT×îÖÕ½á¹ûÂë¡£
***************************************************************************/
typedef struct
{
BYTE bSrcIndex;
BYTE bDestIndex;
BYTE bMsgStatVal;/* ÏûϢ״̬,PDUģʽÏÂΪÊýÖµ£¬Îı¾Ä£Ê½ÏÂΪ´®±íʾ¡£*/
BYTE bTpMsgRefer; /* TPDUµÄÏûÏ¢²Î¿¼Êý£¬TP-MR.*/
BYTE bStatChgFlg; /* Z_APMMIA_STATCHANGE_ENABLE
* Z_APMMIA_STATCHANGE_DISABLE
*/
BYTE bStatusValue; /*SC¶ÌÏûÏ¢´¦ÀíºóµÄ״ֵ̬,TP-ST¡£*/
WORD wIndex; /* ´æ´¢Î»ÖÃÐòºÅ.*/
WORD wTotalNum; /* ×ܵÄÏûÏ¢ÌõÊý */
WORD wCurNum; /* µ±Ç°µÄÏûÏ¢ÌõÊý */
T_zApMmia_TpFo tTpFirstOctet;/* TPDU²ÎÊýµÄµÚÒ»¸ö×Ö½Ú¡£ÉèÖÃÁËÏûÏ¢ÀàÐͼ°Ò»Ð©²ÎÊýָʾ¡£*/
T_zApMmia_TpAddress tTpReceiveAddr; /* Ô´ÇëÇó״̬±¨¸æÏûÏ¢µÄ½ÓÊÕµØÖ·£¬¼´×´Ì¬±¨¸æµÄÔ´·¢µØÖ·¡£TP-RA.*/
T_zApMmia_TZAndTime tTpSCTS; /* ʱ¼ä´Á. */
T_zApMmia_TZAndTime tTpDischageTime; /* ÏûÏ¢ÊÍ·Åʱ¼ä¡£ */
}T_zApMmia_SmsTstatList_Cnf, T_zApMmia_SmsTstatListRlt;
/**************************************************************************
Ô­ÓZ_APMMIA_ReadSmReq_Ev
¹¦ÄÜ£º´Ó´æ´¢Æ÷¶Á¶ÌÏûÏ¢
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bReadFlag; /* 0 ½ö¶Á / 1 ¶ÁÈ¡·¢ËÍ
* Z_APMMIA_SMREADFLAG_ONLYREAD
* Z_APMMIA_SMREADFLAG_FORSEND
*/
BYTE bStatChgFlg; /*
* SMSÏûϢ״̬¸Ä±ä±êÖ¾£º
* ¿É¸Ä±äÏûϢ״̬ 0 / ²»¸Ä±äÏûϢ״̬ 1
* Z_APMMIA_STATCHANGE_ENABLE /
* Z_APMMIA_STATCHANGE_DISABLE
*/
WORD wIndex;
BYTE abPadding[2];
}T_zApMmia_ReadSm_Req;
/**************************************************************************
Ô­ÓZ_APMMIA_ReadSmCnf_Ev
¹¦ÄÜ£º´Ó´æ´¢Æ÷¶Á¶ÌÏûÏ¢µÄ»Ø¸´
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bReadFlag; /* 0 ½ö¶Á / 1 ¶ÁÈ¡·¢ËÍ
* Z_APMMIA_SMREADFLAG_ONLYREAD
* Z_APMMIA_SMREADFLAG_FORSEND
*/
BYTE bResult; /* 0 ʧ°Ü / 1 ³É¹¦ */
DWORD dwReason; /* ʧ°ÜÔ­Òò */
BYTE bStatChgFlg; /* Z_APMMIA_STATCHANGE_ENABLE
* Z_APMMIA_STATCHANGE_DISABLE
*/
BYTE abPadding[3];
BYTE bStatus; /* ¶ÌÏûϢ״̬ */
BYTE bMem; /* Ö¸¶¨SMS´æ´¢Æ÷ */
WORD wIndex; /* Ö¸¶¨Î»Öà */
DWORD dwLen; /* ×Ö½Ú³¤¶È,Ϊ²âÊÔ¹¤¾ß¸ü¸Ä */
PBYTE pbMsg; /* Ö¸ÏòmsgµÄÖ¸Õë */
}T_zApMmia_ReadSm_Cnf;
/**************************************************************************
Ô­ÓZ_APMMIA_SaveSmReq_Ev
¹¦ÄÜ£º´æ´¢¶ÌÏûÏ¢£¬°üÀ¨MTʱµÄ´æ´¢
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bSaveFlag; /*
* ·µ»Ø´æ´¢½á¹ûʱ½«´Ë±êÖ¾´ø»Ø
* Z_APMMIA_SMSAVEFLAG_UPREQUEST :ÉÏ²ã´æ´¢ÇëÇó
* Z_APMMIA_SMSAVEFLAG_DELIVERNOTREP :MT-deliver´æ´¢²»Éϱ¨
* Z_APMMIA_SMSAVEFLAG_DELIVERREP :MT-deliver´æ´¢Éϱ¨
* Z_APMMIA_SMSAVEFLAG_STATUSNOTREP :MT-status report´æ´¢²»Éϱ¨
* Z_APMMIA_SMSAVEFLAG_STATUSREP :MT-status report´æ´¢Éϱ¨
* Z_APMMIA_SMSAVEFLAG_CBMSNOTREP :MT-CBMs´æ´¢²»Éϱ¨
* Z_APMMIA_SMSAVEFLAG_CBMSREP :MT-CBMs´æ´¢Éϱ¨
*/
BYTE bMsgStatus; /* ½öµ±bSaveFlagΪZ_APMMIA_SMSAVEFLAG_UPREQUESTʱÓÐЧ */
BYTE bTpMsgRef; /*
* ״̬±¨¸æÏûÏ¢SMS-STATUS-REPORTµÄTP-MR¡£
* Ö»ÓÃÓÚµ±bSaveFlag±êʶΪSMS-STATUS-REPORTÏûϢʱ£¬
* ʶ±ð¸ÃÏûÏ¢¶ÔÓ¦µÄEFsms
*/
BYTE bMemStyle; /*
* MTÏûÏ¢´æ´¢·½Ê½(³ýbSaveFlag=0Íâ)£º
* Mem3ÓÅÏÈ´æ´¢ 0 / USIM¹Ì¶¨´æ´¢ 1
* Z_APMMIA_MEM3_PREFERRED/
* Z_APMMIA_USIM_FIXED
*/
BYTE bPadding[2];
DWORD dwLen; /* ×Ö½Ú³¤¶È,,Ϊ²âÊÔ¹¤¾ß¸ü¸Ä */
PBYTE pbMsg; /* Ö¸ÏòmsgµÄÖ¸Õë */
}T_zApMmia_SaveSm_Req;
/**************************************************************************
Ô­ÓZ_APMMIA_SaveSmCnf_Ev
¹¦ÄÜ£º´æ´¢¶ÌÏûÏ¢µÄ»Ø¸´
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bSaveFlag; /* ½«ÇëÇóÖеÄbSaveFlag´ø»Ø */
BYTE bPadding;
WORD wIndex; /* ´æ´¢Î»ÖÃ,0xffff±íʾȱʡ */
BYTE bMem; /* ´æÈëµÄmem */
BYTE bResult; /* ´æ´¢½á¹û 0 ʧ°Ü 1 ³É¹¦
Z_APMMIA_OPERATION_SUCCESS
Z_APMMIA_OPERATION_FAILURE
*/
DWORD dwReason; /* ʧ°ÜÔ­Òò */
}T_zApMmia_SaveSm_Cnf;
/**************************************************************************
Ô­ÓZ_APMMIA_ListSmReq_Ev
¹¦ÄÜ£ºÇëÇó°´×´Ì¬ÁоÙÏûÏ¢
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bMsgStatus; /* ¶ÌÏûϢ״̬ */
BYTE bStatChgFlg; /* SMSÏûϢ״̬¸Ä±ä±êÖ¾ */
}T_zApMmia_ListSm_Req;
/**************************************************************************
Ô­ÓZ_APMMIA_DeleteSmReq_Ev
¹¦ÄÜ£ºÉ¾³ýÏûÏ¢ÇëÇó
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bDelFlag; /*
* ɾ³ýÌõ¼þ¡£Èô·Ç0£¬ÇÒÓëwIndexͬʱ³öÏÖʱ£¬ºöÂÔwIndex£¬ÒÔbDelFlagΪ׼¡£
*Z_APMMIA_SMSDELFLG_BYIDX 0 (or omitted) ɾ³ýÖ¸¶¨ÐòºÅµÄÏûÏ¢£¨Ä¬ÈÏ£©
*Z_APMMIA_SMSDELFLG_READ 1 ɾ³ýËùÓÐÒѶÁµÄÏûÏ¢
*Z_APMMIA_SMSDELFLG_READSEND 2 ɾ³ýËùÓÐÒѶÁµÄºÍÒÑ·¢Ë͵ÄÏûÏ¢
*Z_APMMIA_SMSDELFLG_READSENDUNSEND 3 ɾ³ýËùÓÐÒѶÁµÄ£¬ÒÑ·¢Ë͵ģ¬ºÍδ·¢Ë͵ÄÏûÏ¢
*Z_APMMIA_SMSDELFLG_All 4 ɾ³ýËùÓÐÏûÏ¢
*/
BYTE bPadding;
WORD wIndex;
BYTE abPadding[2];
}T_zApMmia_DeleteSm_Req;
/**************************************************************************
Ô­ÓZ_APMMIA_DeleteSmCnf_Ev
Z_APMMIA_SmMemAvailRsp_Ev(MMIA->PB)
¹¦ÄÜ£ºÉ¾³ýÏûÏ¢»Ø¸´
ͨ¸æÏìÓ¦ÏûÏ¢
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bResult;
BYTE bMemType;
DWORD dwReason;
}T_zApMmia_DeleteSm_Cnf,T_zApMmia_MemAvail_Rsp;
/**************************************************************************
Ô­ÓZ_APMMIA_SmMemAvailInd_Ev(PB->MMIA)
¹¦ÄÜ£º¶ÌÏûÏ¢´æ´¢Æ÷¿ÉÓÃ/²»¿ÉÓÃ֪ͨ
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bAvailable; /* Z_APMMIA_SMMEMORY_UNAVAILABLE
Z_APMMIA_SMMEMORY_AVAILABLE
*/
BYTE bPadding;
}T_zApMmia_SmMemAvail_Ind;
/****************************************************************************
Ô­Óï:Z_APMMIA_PbPrefMsgStoCnf_Ev(PB->MMIA)
¹¦ÄÜ:ÏûÏ¢Ê×Ñ¡´æ´¢Æ÷ÉèÖõÄÏìÓ¦£»
¶ÔÓ¦ATÃüÁî:PB¶ÔcpmsÖ´ÐÐÃüÁîµÄ½á¹û
***************************************************************************/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bPadding;
BYTE bResult; /* ´æ´¢½á¹û 0 ʧ°Ü 1 ³É¹¦
Z_APMMIA_OPERATION_SUCCESS
Z_APMMIA_OPERATION_FAILURE
*/
DWORD dwReason; /* ʧ°ÜÔ­Òò */
BYTE bCommandInd; /*
* ¶ÔÓ¦µÄÃüÁîָʾ
* Z_APMMIA_SMSCMDTYPE_SET : ÉèÖÃÃüÁî
* Z_APMMIA_SMSCMDTYPE_QUERY: ¶ÁÃüÁî,¶ÁÃüÁֻ·µ»Øµ±Ç°bMemn, wMemnUsed, wMemnTotalµÄÖµ¡£
*/
BYTE bMem1; /* Ê×Ñ¡¶Á,Áо٣¬É¾³ý´æ´¢Æ÷.*/
BYTE bMem2; /* Ê×Ñ¡·¢ËÍ£¬Ð´´æ´¢Æ÷.*/
BYTE bMem3; /* Ê×Ñ¡MTÏûÏ¢±£´æ´æ´¢Æ÷.*/
WORD wMem1Used; /* mem1Òѱ£´æµÄÏûÏ¢ÌõÊý£¬È¡Öµ£¨0£­511£©¡£*/
WORD wMem1Total; /* mem1×î´ó¿É±£´æµÄÏûÏ¢ÌõÊý£¬È¡Öµ£¨0£­511£©¡£*/
WORD wMem2Used; /* mem2Òѱ£´æµÄÏûÏ¢ÌõÊý£¬È¡Öµ£¨0£­511£©¡£*/
WORD wMem2Total; /* mem2×î´ó¿É±£´æµÄÏûÏ¢ÌõÊý£¬È¡Öµ£¨0£­511£©¡£*/
WORD wMem3Used; /* mem3Òѱ£´æµÄÏûÏ¢ÌõÊý£¬È¡Öµ£¨0£­511£©¡£*/
WORD wMem3Total; /* mem3×î´ó¿É±£´æµÄÏûÏ¢ÌõÊý£¬È¡Öµ£¨0£­511£©¡£*/
}T_zApMmia_PbPrefMsgSto_Cnf;
/**************************************************************************
Ô­ÓZ_APMMIA_PbTpmrUpdateReq_Ev (MMIA->PB)
¹¦ÄÜ£ºMO¶ÌÏûÏ¢·¢Ëͳɹ¦ºó£¬Í¨ÖªPB´æ´¢¹ÜÀíÄ£¿é¸üÐÂTP-MR
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bTpMsgRef; /*
* ÓÃÓÚ¸üÐÂEFsmssµÄTP-MR¡£
* µ±bMsgSendStyleΪZ_APMMIA_MSG_STORE_SENDʱ£¬
* ͬʱ»¹ÓÃÀ´»ØÌîÖÁEFsmsµÄPDUÖÐ
*/
BYTE bStatrptReqFlg; /*
* ״̬±¨¸æÎ´ÇëÇó 0/״̬±¨¸æÒÑÇëÇó 1
* µ±bMsgSendStyleΪZ_APMMIA_MSG_STORE_SENDʱÓÐЧ¡£
* PBÓÃÓÚ¸üÐÂEFsmsµÄStatus
* Z_APMMIA_STATUSREPORT_NOTREQUIRED/
* Z_APMMIA_STATUSREPORT_REQUIRED
*/
BYTE bMsgSendStyle; /*
* MOÏûÏ¢·¢ËÍ·½Ê½£º
* Ö±½Ó·¢ËÍ 0 / ´æ´¢·¢ËÍ 1
* Z_APMMIA_MSG_DIRECT_SEND /
* Z_APMMIA_MSG_STORE_SEND
*/
BYTE bMem; /*
* µ±bMsgSendStyleΪZ_APMMIA_MSG_STORE_SENDʱÓÐЧ¡£
* SMS´æ´¢Æ÷£¬È¡ÖµÍ¬+CPMSµÄ<mem>
*/
WORD wIndex; /*µ±bMsgSendStyleΪZ_APMMIA_MSG_STORE_SENDʱÓÐЧ¡£EFsmsµÄλÖúŠ*/
}T_zApMmia_PbTpmrUpdate_Req;
/**************************************************************************
Ô­ÓZ_APMMIA_PbInitCmpltInd_Ev (PB-->MMIA)
Z_APMMIA_ZpbicInd_Ev(MMIA-->ATI)
¹¦ÄÜ£ºÍ¨ÖªÉϲã,PB´æ´¢¹ÜÀíÄ£¿éÒѳõʼ»¯Íê³É
¶ÔÓ¦ATÃüÁ+ZPBIC£º<result>
**************************************************************************/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bOprType; /* ÒµÎñÀàÐÍָʾ£º0 SMS£¬ 1 PB */
BYTE bResult; /* ½á¹ûָʾ£º1 ³É¹¦ / 0ʧ°Ü */
}T_zApMmia_PbInitCmplt_Ind,T_zApMmia_Zpbic_Ind;
/**************************************************************************
Ô­ÓZ_APMMIA_PbMtParaInd_Ev (MMIA-->PB)
¹¦ÄÜ£ºMMIA¸æÖªPB+CNMIµÄ²ÎÊý<mt>
**************************************************************************/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bMtPara; /* ATÃüÁî+CNMI²ÎÊý<mt> */
BYTE bPadding;
}T_zApMmia_PbMtPara_Ind;
/****************************************************************************
Ô­Óï:Z_APMMIA_PbQuerySmsMaxIndexReq_Ev(MMIA->PB)
¹¦ÄÜ:²éѯµ±Ç°¶ÌÏûÏ¢´æ´¢Æ÷Ö§³Ö×î´óË÷Òý
¶ÔÓ¦ATÃüÁî:cmgd=?
****************************************************************************/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
}T_zApMmia_PbQuerySmsMaxIndex_Req, T_zApMmia_PbPrefMsgStoTest_Req
,T_zApMmia_PbReadSetNum_Req,T_zApMmia_PbReadLastExtErr_Req;
/****************************************************************************
Ô­Óï:Z_APMMIA_PbQuerySmsMaxIndexCnf_Ev(PB->MMIA)
¹¦ÄÜ:²éѯµ±Ç°¶ÌÏûÏ¢´æ´¢Æ÷Ö§³Ö×î´óË÷ÒýµÄ½á¹û
¶ÔÓ¦ATÃüÁî:cmgd=?
****************************************************************************/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
WORD wIndexMax; /* +cpmsÉèÖõÄmem1Ö§³ÖµÄ×î´óË÷Òý£¨Ë÷Òý×îС´Ó1¿ªÊ¼£© */
}T_zApMmia_PbQuerySmsMaxIndex_Cnf;
/**************************************************************************
Ô­ÓZ_APMMIA_PbFindIndexReq_Ev
¹¦ÄÜ£ºÇëÇóÁоٵ绰±¾¼Ç¼(Ö¸¶¨´æ´¢Æ÷)
ATÃüÁ+CPBR
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bListFlag; /* 0 for CPBR 1 for mo
Z_APMMIA_PBINDEXREAD_FORCPBR
Z_APMMIA_PBINDEXREAD_FORMO
*/
BYTE bIndex2Fg; /* ָʾwIndex2ÓÐЧÐÔ£¬È¡Öµ
* Z_APMMIA_INVALID
* Z_APMMIA_VALID
*/
WORD wIndex1;
WORD wIndex2;
}T_zApMmia_PbFindIndex_Req;
/**************************************************************************
Ô­ÓZ_APMMIA_PbFindIndexEndCnf_Ev
¹¦ÄÜ£ºÁоٵ绰±¾¼Ç¼£¬½áÊøÏûÏ¢
ATÃüÁ+CPBR
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bResult; /* 0 ʧ°Ü 1 ³É¹¦ */
BYTE bPadding;
DWORD dwReason; /* ʧ°ÜÔ­Òò */
}T_zApMmia_PbFindIndexEnd_Cnf;
/**************************************************************************
Ô­ÓZ_APMMIA_PbFindTextCnf_Ev
Z_APMMIA_CpbfSetCnf_Ev
¹¦ÄÜ£º·µ»Ø°´°´Îı¾²éѯµÄ½á¹û
°´text²éÕҵ绰±¾
ATÃüÁ+CPBF
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bPadding;
BYTE bResult; /* 0 ʧ°Ü 1 ³É¹¦ */
DWORD dwReason; /* ʧ°ÜÔ­Òò */
WORD wCurNum; /* µ±Ç°ÌõÊý */
WORD wTotalNum; /* ×ܵÄÁоÙÌõÊý */
BITS bHiddenFg:1; /*ָʾbHiddenÓÐЧÐÔ*/
BITS bIndexFg:1; /*ָʾindexÓÐЧÐÔ*/
BITS bNumFg:1; /* ָʾtBcdNumÓÐЧÐÔ */
BITS bTextFg:1; /* ָʾtTextÓÐЧÐÔ */
BITS bSneFg:1; /* ָʾtSneÓÐЧÐÔ */
BITS bEmailFg:1; /* ָʾtEmailÓÐЧÐÔ */
BITS bAnrFg:1; /* ָʾtAnrÓÐЧÐÔ */
BITS bGrpFg:1; /* ָʾtGrpÓÐЧÐÔ */
BYTE bHidden; /* 0 not hidden 1 hidden */
WORD wIndex;
T_z_CallNum tNum;
T_zApMmia_PhoneText tText;
T_zApMmia_Sne tSne; /* ¸Ãµç»°¼Ç¼¶ÔÓ¦µÄµÚ¶þ¸öÈËÃû*/
T_zApMmia_Email tEmail; /* µç×ÓÓÊÏ䵨ַ*/
T_z_CallNum tAnr; /* ¸½¼ÓµÄºÅÂë*/
T_zApMmia_Grp tGrp; /* ±íÃ÷¸Ãµç»°¼Ç¼ÏîÊôÓÚÄǸöGroup*/
}T_zApMmia_PbFindText_Cnf,T_zApMmia_CpbfSet_Cnf;
/*======================== µç»°±¾´æ´¢¹ÜÀí ²¿·Ö ===============================*/
/**************************************************************************
Ô­ÓZ_APMMIA_PbFindTextReq_Ev
¹¦ÄÜ£ºÇëÇó°´Îı¾²éÕҵ绰±¾¼Ç¼(Ö¸¶¨´æ´¢Æ÷»òÈ«²¿´æ´¢Æ÷)
ATÃüÁ+CPBF
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
T_zApMmia_PhoneText tText;
}T_zApMmia_PbFindText_Req;
/**************************************************************************
Ô­ÓZ_APMMIA_PbEditCnf_Ev
¹¦ÄÜ£ºÔö¼Ó»òɾ³ý¼Ç¼µÄ½á¹û
ATÃüÁ+CPBW
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bResult;
BYTE bPadding;
WORD wWrittenIndex; /* ¸Ãµç»°¼Ç¼±£´æµÄË÷ÒýºÅ*/
BYTE abPadding[2];
DWORD dwReason;
}T_zApMmia_PbEdit_Cnf;
/**************************************************************************
Ô­ÓZ_APMMIA_PbStorageStatusReq_Ev
¹¦ÄÜ£º²éѯ´æ´¢Æ÷µÄÌØÐÔ¼°×´Ì¬
ATÃüÁ
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bQueryFlag; /*
* Z_APMMIA_PBQUERYFLAG_FORCPBS
* Z_APMMIA_PBQUERYFLAG_FORCPBR
* Z_APMMIA_PBQUERYFLAG_FORCPBF
* Z_APMMIA_PBQUERYFLAG_FORCPBW
*/
BYTE bPadding;
}T_zApMmia_PbStorageStatus_Req;
/**************************************************************************
Ô­ÓZ_APMMIA_ZcpbqSetReq_Ev(ATI->MMIA)
Z_APMMIA_PbReadCapaReq_Ev(MMIA->STM)
¹¦ÄÜ£º²éѯµ±Ç°£¨CPBSÑ¡ÔñµÄ£©´æ´¢Æ÷¶ÔÓ¦µÄ¸÷ÐÅÏ¢×Ö¶ÎÈÝÁ¿
¶ÔÓ¦ATÃüÁ+ZCPBQ
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bSetIndexFlg; /*
* ±êʶbSetIndexÓÐЧÐÔ
* ZPS_VALID: bSetIndexÓÐЧ
* ZPS_INVALID: bSetIndexÎÞЧ
*/
BYTE bSetIndex; /*
* µç»°±¾¼¯ºÏË÷Òý£¬¶ÔÇëÇóÃüÁî
* µ±¸Ã²ÎÊýȱʡʱ£¬²éѯËùÓе绰±¾
*¼¯ºÏÐÅÏ¢
*/
}T_zApMmia_ZcpbqSet_Req,T_zApMmia_PbReadCapacity_Req;
typedef struct {
BYTE bItemCap[Z_APMMIA_CUR_TYPE_EFNUM]; /* ÿ¸ö×Ö¶Î(EF)ÈÝÁ¿ */
BYTE bItemCount; /* ×ֶζÔÓ¦µÄÏîÄ¿(EF»ò¼Ç¼)ÊýÄ¿ */
}T_zApMmia_ItemInfo;
typedef struct {
BYTE bSetIndex; /* µç»°±¾¼¯ºÏË÷Òý*/
BYTE bEntryNum; /* µ±Ç°µç»°±¾¼¯ºÏ¼Ç¼ÌõÄ¿×ÜÊý*/
BYTE abPadding[2];
T_zApMmia_ItemInfo tAnrInfo;
T_zApMmia_ItemInfo tGrpNameInfo;
T_zApMmia_ItemInfo tEmailInfo;
T_zApMmia_ItemInfo tSneInfo;
}T_zApMmia_PbSetCapa;
/**************************************************************************
Ô­ÓZ_APMMIA_ZcpbqSetCnf_Ev(MMIA->ATI)
Z_APMMIA_PbReadCapaCnf_Ev(STM->MMIA)
¹¦ÄÜ£º»Ø¸´µ±Ç°£¨CPBSÑ¡ÔñµÄ£©´æ´¢Æ÷¶ÔÓ¦µÄ¸÷ÐÅÏ¢×Ö¶ÎÈÝÁ¿
¶ÔÓ¦ATÃüÁ+ZCPBQ
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bNum; /* ָʾtPbSetCapaÊý×éÖÐÓÐЧµÄ³ÉÔ±¸öÊý*/
BYTE bResult;/* 0 ʧ°Ü 1 ³É¹¦ */
DWORD dwReason; /* ʧ°ÜÔ­Òò */
T_zApMmia_PbSetCapa tPbSetCapa[Z_APMMIA_PB_CAPA_MAX_NUM];
}T_zApMmia_ZcpbqSet_Cnf,T_zApMmia_PbReadCapacity_Cnf;
/**************************************************************************
Ô­ÓZ_APMMIA_ZcpbqQueryCnf_Ev(MMIA->ATI)
Z_APMMIA_PbReadSetNumCnf_Ev(STM->MMIA)
¹¦ÄÜ£º»Ø¸´µç»°±¾¼¯ºÏÊýÄ¿
¶ÔÓ¦ATÃüÁ+ZCPBQ?
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bSetNum; /* µç»°±¾¼¯ºÏÊýÄ¿*/
BYTE bResult;/* 0 ʧ°Ü 1 ³É¹¦ */
DWORD dwReason; /* ʧ°ÜÔ­Òò */
}T_zApMmia_ZcpbqQuery_Cnf,T_zApMmia_PbReadSetNum_Cnf;
/**************************************************************************
Ô­ÓZ_APMMIA_ZeerReadCnf_Ev(MMIA->ATI)
Z_APMMIA_PbReadLastExtErrCnf_Ev(STM->MMIA)
¹¦ÄÜ£º²éѯ×î½üÒ»´ÎPB´æ´¢²Ù×÷´íÎó¶ÔÓ¦µÄÀ©Õ¹´íÎóÂë
¶ÔÓ¦ATÃüÁ+ZEER?
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bExtErr; /*
* ×î½üPB´æ´¢²Ù×÷´íÎó¶ÔÓ¦µÄÀ©Õ¹´íÎóÂë
* Z_APMMIA_PB_EXTERR_EXT_FULL
* Z_APMMIA_PB_EXTERR_ANR_FULL
* Z_APMMIA_PB_EXTERR_SNE_FULL
* Z_APMMIA_PB_EXTERR_EMAIL_FULL
* Z_APMMIA_PB_EXTERR_GRP_FULL
*/
BYTE bPadding;
}T_zApMmia_ZeerRead_Cnf,T_zApMmia_PbReadLastExtErr_Cnf;
/**************************************************************************
Ô­ÓZ_APMMIA_SCpbwSetReq_Ev(ATI->MMIA)(Z_APMMIA_Common_Cnf»Ø¸´)
Ô­ÓZ_APMMIA_SCpbrSetCnf_Ev(MMIA->ATI)
Ô­ÓZ_APMMIA_PbSEditReq_Ev(MMIA->PB)
Ô­ÓZ_APMMIA_PbSFindIndexCnf_Ev (PB->MMIA)
¹¦ÄÜ£º±£´æ´æºÅÂë
·µ»Ø°´¼Ç¼²éѯµÄ½á¹û
Ôö¼Ó»òɾ³ý¼Ç¼(Ö¸¶¨´æ´¢Æ÷)
Áоٵ绰±¾¼Ç¼
¶ÔÓ¦ATÃüÁ+SCPBW,+SCPBR
**************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
WORD wIndex; /* ×îС´Ó0¿ªÊ¼ */
BITS bIndexFg:1; /* ָʾwIndexÓÐЧÐÔ*/
BITS bNum1Fg:1; /* ָʾbNum1ÓÐЧÐÔ£¬È¡Öµ0ÎÞЧ£¬1ÓÐЧ */
BITS bNum2Fg:1; /* ָʾbNum2ÓÐЧÐÔ È¡Öµ0ÎÞЧ£¬1ÓÐЧ */
BITS bNum3Fg:1; /* ָʾbNum3ÓÐЧÐÔ È¡Öµ0ÎÞЧ£¬1ÓÐЧ */
BITS bNum4Fg:1; /* ָʾbNum4ÓÐЧÐÔ È¡Öµ0ÎÞЧ£¬1ÓÐЧ */
BITS bTextFg:1; /* ָʾtTextÓÐЧÐÔ È¡Öµ0ÎÞЧ£¬1ÓÐЧ */
BITS bEmailFg:1; /* ָʾEmailÓÐЧÐÔ È¡Öµ0ÎÞЧ£¬1ÓÐЧ */
BITS bSneFg:1; /* ָʾtSneÓÐЧÐÔ È¡Öµ0ÎÞЧ£¬1ÓÐЧ */
BYTE bCmdFlg; /*
* ȡֵ·¶Î§:
* Z_APMMIA_CHINA_MOBILE_CMD
* Z_APMMIA_ZTE_OWN_CMD
*/
BYTE abPadding[2];
T_z_CallNum tNum1; /* ×Ö·û´®ÀàÐÍ£¬Òƶ¯µç»°ºÅÂ룬²»´óÓÚ32×Ö½Ú£»
È¡ºêZ_APMMIA_ScallNum_MaxLen */
T_z_CallNum tNum2; /* <num2>£º×Ö·û´®ÀàÐÍ£¬°ì¹«µç»°ºÅÂ룬²»´óÓÚ32×Ö½Ú£»
È¡ºêZ_APMMIA_ScallNum_MaxLen */
T_z_CallNum tNum3; /* <num3>£º×Ö·û´®ÀàÐÍ£¬×¡Õ¬µç»°ºÅÂ룬²»´óÓÚ32×Ö½Ú£»
È¡ºêZ_APMMIA_ScallNum_MaxLen */
T_z_CallNum tNum4; /* <num4>£º×Ö·û´®ÀàÐÍ£¬FAXºÅÂ룬²»´óÓÚ32×Ö½Ú£»
È¡ºêZ_APMMIA_ScallNum_MaxLen */
T_zApMmia_PhoneText tText; /* <text>£º×Ö·û´®ÀàÐÍ£¬±íʾÐÕÃû¡£ */
T_zApMmia_Email tEmail; /* <email>£º×Ö·û´®ÀàÐÍ£¬±íʾemailµØÖ·¡£
Ŀǰ£¬¸Ã×Ö¶ÎÖ»ÔÚ´æ´¢½éÖÊΪUSIM¿¨Ê±ÓÐЧ£¬ÇÒ²»´óÓÚ64×Ö½Ú¡£
È¡ºêZ_APMMIA_EMAIL_MaxLen */
T_zApMmia_Sne tSne; /* ±íʾµÚ¶þÃû³Æ*/
}
T_zApMmia_SCpbwSet_Req,T_zApMmia_SCpbrSet_Cnf,T_zApMmia_PbSEdit_Req,T_zApMmia_PbSFindIndex_Cnf;
/****************************************************************************
Ô­Óï: Z_APMMIA_SmsTcomListCnf_Ev(MMIA->ATI)
¹¦ÄÜ:ÁоÙÏûÏ¢µÄSMS-COMMANDÏìÓ¦£»
¶ÔÓ¦ATÃüÁî:Îı¾Ä£Ê½µÄ+CMGLµÄSMS-COMMAND×îÖÕ½á¹ûÂë¡£
***************************************************************************/
typedef struct
{
BYTE bSrcIndex;
BYTE bDestIndex;
BYTE bMsgStatVal; /* ÏûϢ״̬,PDUģʽÏÂΪÊýÖµ£¬Îı¾Ä£Ê½ÏÂΪ´®±íʾ¡£*/
BYTE bTpCommandType; /*
* ÃüÁîÀàÐÍ£¬TP-CT.
* 00000000 ²éÑ¯Ç°ÃæÌá½»µÄÏà¹ØµÄSM
* 00000001 È¡ÏûÇ°ÃæÌá½»µÄÏà¹ØµÄSMµÄ״̬±¨¸æÇëÇó
* 00000010 ɾ³ýÇ°ÃæÌá½»µÄÏà¹ØµÄSM
* 00000011 ¼¤»îÇ°ÃæÌá½»µÄÏà¹ØµÄSMµÄ״̬±¨¸æÇëÇó
* 00000100..00011111 ±£Áô
* 11100000..11111111 Values specific for each SC
*/
WORD wIndex; /* ´æ´¢Î»ÖÃÐòºÅ.*/
BYTE bStatChgFlg; /* Z_APMMIA_STATCHANGE_ENABLE
* Z_APMMIA_STATCHANGE_DISABLE
*/
BYTE bPadding;
WORD wTotalNum; /* ×ܵÄÏûÏ¢ÌõÊý */
WORD wCurNum; /* µ±Ç°µÄÏûÏ¢ÌõÊý */
T_zApMmia_TpFo tTpFirstOctet; /* TPDU²ÎÊýµÄµÚÒ»¸ö×Ö½Ú¡£ÉèÖÃÁËÏûÏ¢ÀàÐͼ°Ò»Ð©²ÎÊýָʾ¡£*/
}T_zApMmia_SmsTcomList_Cnf, T_zApMmia_SmsTcomListRlt;
/****************************************************************************
Ô­Óï:Z_APMMIA_Cbs_TcbmListCnf_Ev(MMIA->ATI)
¹¦ÄÜ:ÁоÙÏûÏ¢µÄCBSÏìÓ¦£»
¶ÔÓ¦ATÃüÁî:Îı¾Ä£Ê½µÄ+CMGLµÄCBM×îÖÕ½á¹ûÂë¡£
***************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bListEndFg; /*1 ±íʾÁоٽáÊø*/
BYTE bMsgStatVal;
WORD wIndex; /*´æ´¢Æ÷ÖеÄλÖÃ*/
WORD wMid; /*µ±Ç°Éϱ¨ÏûÏ¢µÄMessageId*/
WORD wSn; /*µ±Ç°Éϱ¨ÏûÏ¢µÄSerrialNumber*/
BYTE bCurPage; /*µ±Ç°Ò³*/
BYTE bTotalPage; /*×ÜÒ³Êý*/
BYTE bDcs; /*µ±Ç°ÏûϢʹÓõÄDCS*/
BYTE bMsgLen; /*TEXTÒ³ÖÐʵ¼ÊÊý¾Ý³¤¶È£¬²»º¬ÏûϢͷ³¤¶È*/
BYTE bStatChgFlg; /* Z_APMMIA_STATCHANGE_ENABLE
* Z_APMMIA_STATCHANGE_DISABLE
*/
BYTE bPadding1;
BYTE abBuf[Z_APMMIA_CBS_MAX_TEXT_PAGE_LEN]; /*CBS TEXTÏûÏ¢Ò³£¬ÎÞÏûϢͷ*/
BYTE abPadding2[2];
}T_zApMmia_Cbs_TcbmList_Cnf, T_zApMmia_Cbs_TcbmListRlt;
/****************************************************************************
Ô­Óï:Z_APMMIA_Cbs_PcbmListCnf_Ev(MMIA->ATI)
¹¦ÄÜ:ÁоÙÏûÏ¢µÄCBSÏìÓ¦£»
¶ÔÓ¦ATÃüÁî:PDUģʽµÄ+CMGLµÄCBM×îÖÕ½á¹ûÂë¡£
***************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bListEndFg; /*1 ±íʾÁоٽáÊø*/
BYTE bMsgStatVal;
WORD wIndex; /*´æ´¢Æ÷ÖеÄλÖÃ*/
BYTE bMsgLen; /*PDUÒ³ÖÐʵ¼ÊÊý¾Ý³¤¶È£¬º¬ÏûϢͷ³¤¶È*/
BYTE bStatChgFlg; /* Z_APMMIA_STATCHANGE_ENABLE
* Z_APMMIA_STATCHANGE_DISABLE
*/
BYTE abBuf[Z_APMMIA_CBS_MAX_PDU_PAGE_LEN]; /*CBS PDUÏûÏ¢Ò³£¬º¬ÏûϢͷ£¬¾ßÌåÄÚÈݼû×¢ÊͲ¿·Ö*/
}T_zApMmia_Cbs_PcbmList_Cnf, T_zApMmia_Cbs_PcbmListRlt;
/****************************************************************************
Ô­Óï:Z_APMMIA_CpmsTestCnf_Ev(MMIA->ATI)
Z_APMMIA_PbPrefMsgStoTestCnf_Ev(PB->MMIA)
¹¦ÄÜ:ÏûÏ¢Ê×Ñ¡´æ´¢Æ÷²âÊÔÃüÁîµÄÏìÓ¦£»
¶ÔÓ¦ATÃüÁî:+CPMS²âÊÔÃüÁîµÄ×îÖÕ½á¹ûÂë¡£
***************************************************************************/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding1[2];
BYTE abListMem1[Z_APMMIA_SMSMEM_MAX_RANGE];
BYTE bMem1Num; /* mem1Ö§³ÖµÄSMS´æ´¢Æ÷¸öÊý */
BYTE bPadding2;
BYTE abListMem2[Z_APMMIA_SMSMEM_MAX_RANGE];
BYTE bMem2Num; /* mem2Ö§³ÖµÄSMS´æ´¢Æ÷¸öÊý */
BYTE bPadding3;
BYTE abListMem3[Z_APMMIA_SMSMEM_MAX_RANGE];
BYTE bMem3Num; /* mem3Ö§³ÖµÄSMS´æ´¢Æ÷¸öÊý */
BYTE bPadding4;
}T_zApMmia_CpmsTest_Cnf,T_zApMmia_PbPrefMsgStoTest_Cnf;
/****************************************************************************
Ô­Óï:Z_APMMIA_CommonCnf_Ev (MMIA->ATI)
¹¦ÄÜ:²éѯºÍÉèÖÃÃüÁîµÄÇëÇóºÍ»Ø¸´
¶ÔÓ¦ATÃüÁî:ËùÓÐATÃüÁîÖ´ÐеĽá¹û£¬ok/error /cer£º+error: ËùÓÐATÃüÁîµÄ½á¹û£¬Ð¯´øÔ­ÒòʱÒÔCEERÉϱ¨
****************************************************************************/
typedef struct
{
BYTE bSrcIndex; /* The source index
* ¸ßËÄλΪԴģ¿éºÅ,ȡֵ¼ûºê¶¨Òå,
* µÍËÄλΪÓëÄ£¿éºÅ¶ÔÓ¦µÄÔ´Ë÷ÒýºÅ
* ÒÔÏ´Ómmiaµ½ati½Ó¿ÚbDesIndexÓë´Ëͬ */
BYTE bDesIndex; /* The destination index*/
BYTE bResult; /* ATÃüÁî½á¹û Z_APMMIA_OPERATION_SUCCESS/Z_APMMIA_OPERATION_FAILURE*/
BYTE bPadding; /* The operator type, refer to the Interface */
DWORD dwCause; /* bResult = Z_APMMIA_OPERATION_FAILUREÓÐЧ*/
}T_zApMmia_Common_Cnf, T_zApMmia_CmglCommonRlt;
/****************************************************************************
Ô­Óï:Z_APMMIA_SmsZmenaReq_Ev(ATI->MMIA) (ÏìÓ¦ Z_APMMIA_CommonCnf_Ev)
Z_APMMIA_PbMemCapaReq_Ev(MMIA->PB) (ÏìÓ¦ Z_APMMIA_PbCommonCnf_Ev)
¹¦ÄÜ:Éϲ㷢ËÍÏÂÀ´µÄSMS´æ´¢ÄÜÁ¦Í¨Öª
¶ÔÓ¦ATÃüÁ+ZMENA=<avail>
***************************************************************************/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bavail; /*
* SMS´æ´¢ÄÜÁ¦£º²»Âú/Âú
* Z_APMMIA_SMSMEM_FREE/
* Z_APMMIA_SMSMEM_FULL
*/
BYTE bMemType; /*0:SM 1:ME*/
}T_zApMmia_SmsZmena_Req,T_zApMmia_PbMemCapa_Req;
/****************************************************************************
Ô­Óï:Z_APMMIA_UiccOkInd_Ev , Z_APMMIA_PbUiccOkInd_Ev
¹¦ÄÜ:ÔÚÓ¦ÓÃÍê³É³õʼ»¯ºó£¬¸øÆ½Ì¨Éϱ¨½á¹û¡£
¶ÔÓ¦ATÃüÁî:
****************************************************************************/
typedef struct {
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE bApplMode; /*ËùÑ¡ÖеÄÖÆÊ½
* 1£ºUSIMÖÆÊ½
* 2£ºSIMÖÆÊ½
*/
BYTE bPadding;
DWORD dwInitResult; /*
* ¿¨³õʼ»¯×´Ì¬
* 30 ¿¨ÍêÈ«¿ÉÓÃ
* 31 ¿¨»ù±¾¿ÉÓÃ
* ˵Ã÷5ÌõºóµÄÄÇЩÎļþ¶ÁÈ¡ÓдíÎ󣬵«ÉϲãÈÔÈ»¿ÉÒÔ×÷һЩ²Ù×÷
* 15 ³õʼ»¯Ê§°Ü£¬Z_APMMIA_SIMWRONG_ERR
* 10 Z_APMMIA_NOSIM_ERR
*/
}T_zApMmia_UiccOk_Ind,T_zApMmia_PbUiccOk_Ind;
/*²éѯ½á¹û*/
typedef struct
{
BYTE bResult; /* 0 ʧ°Ü 1 ³É¹¦
* ³É¹¦¼´±íÃ÷ºÅÂë¡¢Îı¾ÓÐЧ
*/
BYTE bPadding[3];
DWORD dwReason; /* ʧ°ÜÔ­Òò */
T_z_CallNum tNum;
T_zApMmia_PhoneText tText;
} T_zApMmia_QryPhoneResult;
/*ÇëÇóÁоٵ绰±¾¼Ç¼,*/
typedef struct
{
BYTE bMemFlg; /* ָʾÊÇ·ñΪDÃüÁî´øÏµÄmem£¬ÈôÓÐЧÔò²Ù×÷´Ë´æ´¢Æ÷
0 - bMemÎÞЧ / 1 - bMemÓÐЧ */
BYTE bMem; /* ȡֵͬT_zApMmia_CcSetup_Req µÄMem */
WORD wIndex; /* ×îС´Ó1¿ªÊ¼ */
} T_zApMmia_PbFindIndex;
/* ºÅÂëÀàÐÍ£¬PBÅжϺÅÂëµÄ½á¹û */
typedef struct
{
BYTE bNumType; /* ºÅÂëÀàÐÍ,ȡֵÈçÏ£º
Z_APMMIA_NUMTYPE_UNALLOWCALL_BDN
Z_APMMIA_NUMTYPE_UNALLOWCALL_FDN
Z_APMMIA_NUMTYPE_ECCCALL
Z_APMMIA_NUMTYPE_NORMCALL
Z_APMMIA_NUMTYPE_UNKNOWN */
BYTE bSrvCateg; /* ½ô¼±ºÅÂëÀàÐÍ, bNumType = Z_APMMIA_NUMTYPE_ECCCALLʱÓÐЧ
Bit 1 Police
Bit 2 Ambulance
Bit 3 Fire Brigade
Bit 4 Marine Guard
Bit 5 Mountain Rescue
Bits 6,7,8 are spare and set to "0"
24008 10.5.4.33 £¬Mobile station may set one or more bits to "1"
Èç¹û²»´æÔÚÔòÌî0
*/
BYTE abPadding[2];
}T_zApMmia_NumType;
/****************************************************************************
Ô­Óï:Z_APMMIA_PbEmerNumListInd_Ev(MMIA->PB)
¹¦ÄÜ:ͨ¸æPB½ô¼±ºÅÂëÁбí
¶ÔÓ¦ATÃüÁî:ÎÞ
***************************************************************************/
typedef struct{
BYTE bSrvCategFg; /* ±íʾbSrvCategÊÇ·ñÓÐЧ£¬
Z_APMMIA_INVALID ÎÞЧ£¬Z_APMMIA_VALID ÓÐЧ
*/
BYTE bSrvCateg;
BYTE bNumLen;
BYTE bPadding;
BYTE abNum[Z_APMMIA_ECC_MAXNUM];
}T_zApMmia_EmerNum;
typedef struct
{
BYTE bNocardEccNumLen; /*ÎÞ¿¨½ô¼±ºÅÂë¸öÊý*/
BYTE bWithcardEccNumLen; /*Óп¨½ô¼±ºÅÂë¸öÊý*/
T_z_PlmnId tPlmnId;
BYTE abPadding[3];
T_zApMmia_EmerNum atNocardEccNum[Z_APMMIA_ECCNUM_NOCARD];
/* ÎÞ¿¨½ô¼±ºÅÂëÁбí: 000, 08, 112, 110, 118, 119, 911 and 999*/
T_zApMmia_EmerNum atWithcardEccNum[Z_APMMIA_ECCNUM_CARD];
/* Óп¨½ô¼±ºÅÂëÁбí,°´´Ë˳Ðò:Íø²àºÅÂ룬NVºÅÂ룬£¨112, 911£©*/
}T_zApMmia_PbEmerNumList_Ind;
/**************************************************************
¹¦ÄÜ:ATI»ñÈ¡½ô¼±ºÅÂëÁбí
¶ÔÓ¦ATÃüÁî:+CEN
**************************************************************/
typedef struct
{
BYTE bEccNumLen; /*½ô¼±ºÅÂë¸öÊý*/
T_z_PlmnId tPlmnId;
T_zApMmia_EmerNum atEccNum[Z_APMMIA_ECCNUM_MAX];
}T_zApMmia_EmerNumList;
/* ¶Ôlistsm_cnf½âÎöµÄ½á¹û */
typedef struct {
BYTE bTypeofRlt;
/* ¶ÌÐÅÀàÐÍ ,ȡֵ,ÓÃÀ´Ö¸Ê¾Áª¹²ÓÃÌåÖеĶÌÐÅÀàÐÍ
Z_APMMIA_CMGLRLT_PSMS
Z_APMMIA_CMGLRLT_TDEL
Z_APMMIA_CMGLRLT_TSUB
Z_APMMIA_CMGLRLT_TSR
Z_APMMIA_CMGLRLT_TCOM
Z_APMMIA_CMGLRLT_TCBM
Z_APMMIA_CMGLRLT_PCBM
Z_APMMIA_CMGLRLT_COMM */
BYTE abPadding[3];
union{
T_zApMmia_SmsPcmglRlt tPcmglRlt;
T_zApMmia_SmsTdeliListRlt tTdeliListRlt;
T_zApMmia_SmsTsubListRlt tTsubListRlt;
T_zApMmia_SmsTstatListRlt tTstatListRlt;
T_zApMmia_SmsTcomListRlt tTcomListRlt;
T_zApMmia_Cbs_TcbmListRlt tTcbmListRlt;
T_zApMmia_Cbs_PcbmListRlt tPcbmListRlt;
T_zApMmia_CmglCommonRlt tCmglCommonRlt;
}uSmsContent;
}T_zApMmia_SmsMsgContent;
/*==============================================================================
Ô­ÓMMIA_SMS_SUBMIT_SEND_REQ_EV(MMIA->SMS)
˵Ã÷: MOÊÂÎñʱ£¬·¢ËÍSMS_SUBMITÏûÏ¢
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDestIndex;
BYTE bSmsService; /* SMSÒµÎñ·¾¶.ȡֵ¼ûºê¶¨Òå */
BYTE bLinkStatus; /* Á´Â·×´Ì¬Öµ.ȡֵ¼ûºê¶¨Òå */
BYTE bMsgSendType; /* ÏûÏ¢·¢ËÍÀàÐÍ. ȡֵ¼ûºê¶¨Òå*/
BYTE bTpMsgRef; /* TPDUÏûÏ¢²Î¿¼ÖµTP-MR */
WORD wIndex; /* PDU´æ´¢Î»ÖÃË÷ÒýºÅ,µ±bMsgSendTypeΪ´æ´¢·¢ËÍʱÓÐЧ */
BYTE bMem; /* SMS´æ´¢Æ÷Ãû³Æ£¬µ±bMsgSendTypeΪ´æ´¢·¢ËÍʱÓÐЧ*/
BYTE bPduLength; /* PDUµÄ×Ö½Ú³¤¶È,ȡֵ(0-176B).*/
BYTE bIsEwalk; /*
* ȡֵ·¶Î§£º
* ZPS_VALID£º±íÊ¾ËæeÐа汾
* ZPS_INVALID£º±íʾ·ÇËæeÐа汾
*/
BYTE bPadding;
BYTE abPduBuffer[Z_MMIASMS_MAX_PDU_LEN];
/* ÓÉtTpSCAddrÓò+TPDU(SMS-SUBMIT)Óò×é³ÉµÄPDUÊý¾Ý¡£*/
}T_zMmiaSms_SubmitSend_Req;
/*==============================================================================
Ô­ÓMMIA_SMS_COMMAND_SEND_REQ_EV(MMIA->SMS)
˵Ã÷: MOÊÂÎñʱ£¬·¢ËÍSMS_COMMANDÏûÏ¢
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDestIndex;
BYTE bSmsService; /* SMSÒµÎñ·¾¶.*/
BYTE bLinkStatus;
BYTE bMsgSendType;
BYTE bTpMsgRef;
WORD wIndex; /* PDU´æ´¢Î»ÖÃË÷ÒýºÅ,µ±bMsgSendTypeΪ´æ´¢·¢ËÍʱÓÐЧ */
BYTE bMem; /* SMS´æ´¢Æ÷Ãû³Æ£¬µ±bMsgSendTypeΪ´æ´¢·¢ËÍʱÓÐЧ*/
BYTE bPduLength; /* PDUµÄ×Ö½Ú³¤¶È,ȡֵ(0-176B).*/
BYTE bIsEwalk; /*
* ȡֵ·¶Î§£º
* ZPS_VALID£º±íÊ¾ËæeÐа汾
* ZPS_INVALID£º±íʾ·ÇËæeÐа汾
*/
BYTE bPadding;
BYTE abPduBuffer[Z_MMIASMS_MAX_PDU_LEN];
/* ÓÉtTpSCAddrÓò+TPDU(SMS-COMMAND)Óò×é³ÉµÄPDUÊý¾Ý¡£*/
}T_zMmiaSms_CommandSend_Req;
/*==============================================================================
Ô­ÓMMIA_SMS_MSG_SEND_CNF_EV(SMS->MMIA)
˵Ã÷: MOÊÂÎñʱ£¬½ÓÊÕµ½µÄÍøÂçµÄÏìÓ¦±¨¸æ£¬»òSMS×ÔÉí²úÉúµÄ´íÎ󱨸æ
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDestIndex;
BYTE bMsgCnfType; /* ÏûÏ¢»Ø¸´ÀàÐÍ¡£È¡Öµ¼ûºê¶¨Òå */
BYTE bTpMsgRef;
BYTE bStatrptReqFlg; /* ״̬±¨¸æÇëÇó±êÖ¾£¬µ±bMsgCnfTypeΪ´æ´¢·¢ËÍʱÓÐЧ*/
BYTE bMem; /* SMS´æ´¢Æ÷Ãû³Æ£¬µ±bMsgCnfTypeΪ´æ´¢·¢ËÍʱÓÐЧ*/
WORD wIndex; /* PDU´æ´¢Î»ÖÃË÷ÒýºÅ,µ±bMsgCnfTypeΪ´æ´¢·¢ËÍʱÓÐЧ */
BYTE bResult; /* ·µ»ØµÄ½á¹û¡£È¡Öµ¼ûºê¶¨Òå */
BYTE bTpduLength; /* TPDUµÄ×Ö½Ú³¤¶È,ȡֵ(0-164B).*/
BYTE abPadding[2];
DWORD dwCause; /* RP²ãµÄ´íÎóÔ­Òò¡£*/
BYTE abTPduBuffer[Z_MMIASMS_MAX_TPDU_LEN];
/* À´×ÔÍøÂçµÄÏìÓ¦±¨¸æµÄSubmit _Report _TPDU for RP-ACK/RP-ERROR. Êý¾Ý.*/
}T_zMmiaSms_MsgSend_Cnf;
/*==============================================================================
Ô­ÓMMIA_SMS_DELIVER_REC_IND_EV(SMS->MMIA )
˵Ã÷: MTÊÂÎñʱ£¬ÊÕµ½µÄÍøÂçÀ´µÄSMS_DELIVERÏûÏ¢
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDestIndex;
BYTE bRouteInd; /* ¶ÌÏûϢ·ÓÉָʾ¡£È¡Öµ¼ûºê¶¨Òå */
BYTE bStoreInd; /* ´æ´¢·½Ê½Ö¸Ê¾¡£ÔÚbRouteIndΪ´æ´¢Ê±ÓÐЧ¡£È¡Öµ¼ûºê¶¨Òå */
BYTE bPduLength; /* PDUµÄ×Ö½Ú³¤¶È,ȡֵ(0-176B).*/
BYTE abPadding[3];
BYTE abPduBuffer[Z_MMIASMS_MAX_PDU_LEN];
/* ÓÉtTpSCAddrÓò+TPDU(SMS-DELIVER)Óò×é³ÉµÄPDUÊý¾Ý¡£*/
}T_zMmiaSms_DeliverRec_Ind;
/*==============================================================================
Ô­ÓMMIA_SMS_STATUS_REC_IND_EV(SMS->MMIA)
˵Ã÷: MTÊÂÎñʱ£¬ÊÕµ½µÄÍøÂçÀ´µÄSMS_STATUS_REPORTÏûÏ¢
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDestIndex;
BYTE bRouteInd; /* ¶ÌÏûϢ·ÓÉָʾ¡£*/
BYTE bPduLength; /* TPDUµÄ×Ö½Ú³¤¶È,ȡֵ(0-176B).*/
BYTE abPduBuffer[Z_MMIASMS_MAX_PDU_LEN];
/* ÓÉtTpSCAddrÓò+TPDU(SMS-STATUS-REPORT)Óò×é³ÉµÄPDUÊý¾Ý¡£*/
}T_zMmiaSms_StatusRec_Ind;
/*==============================================================================
Ô­ÓMMIA_SMS_REC_RSP_REQ_EV(MMIA->SMS)
˵Ã÷: MTÊÂÎñʱ£¬ÉϲãÏòÍøÂç»Ø¸´µÄÏìÓ¦±¨¸æ
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDestIndex;
BYTE bAckMode; /* ÏìÓ¦±¨¸æsms-deliver-reportµÄ½á¹û¡£È¡Öµ¼ûºê¶¨Òå */
BYTE bTpduLength; /* TPDUµÄ×Ö½Ú³¤¶È,ȡֵ(0-164B).*/
BYTE abTPduBuffer[Z_MMIASMS_MAX_TPDU_LEN];
/* ÏòÍøÂç»Ø¸´µÄÏìÓ¦±¨¸æDeliver_Report TPDU for RP-ACK/ERRORÊý¾Ý.*/
}T_zMmiaSms_RecRsp_Req;
/*==============================================================================
Ô­ÓMMIA_SMS_REC_RSP_CNF_EV(SMS->MMIA)
MMIA_SMS_MEM_AVAIL_CNF_EV(SMS->MMIA)
MMIA_SMS_COMMON_CNF_EV(SMS->MMIA)
˵Ã÷: MTÊÂÎñʱ£¬ÉϲãµÄÏìÓ¦±¨¸æµÄ»Ø¸´
MOͨ¸æ¹ý³Ì½áÊøºóÏòÉÏ²ã»Ø¸´µÄÏûÏ¢
¿ÉÓÃÓÚ·ÉÐÐģʽÏ£¬ÏòÉÏ²ã»Ø¸´ÏûÏ¢
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDestIndex;
BYTE bResult ;
BYTE bPadding;
DWORD dwCause;
}T_zMmiaSms_RecRsp_Cnf,T_zMmiaSms_MemAvail_Cnf,T_zMmiaSms_Common_Cnf;
/*==============================================================================
Ô­ÓMMIA_SMS_MMS_DISABLE_IND_EV(SMS->MMIA)
˵Ã÷: MOÊÂÎñʱ£¬ÓÃÓÚÏòMMIA±¨¸æMMSÁ´Â·²»¿ÉÓÃ
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDestIndex;
BYTE abPadding[2];
}T_zMmiaSms_MmsDisable_Ind;
/*==============================================================================
Ô­ÓMMIA_SMS_MEM_AVAIL_REQ_EV(MMIA->SMS)
˵Ã÷: MOÊÂÎñʱ£¬MMIAÇëÇóÏòÍøÂç·¢ËÍRP-SMMAÏûÏ¢
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDestIndex;
BYTE bSmsService;
BYTE bLinkStatus;
BYTE bNotifAbort; /* µ±Ç°Í¨¸æÇëÇó״̬¡£È¡Öµ¼ûºê¶¨Òå */
BYTE bIsEwalk; /*
* ȡֵ·¶Î§£º
* ZPS_VALID£º±íÊ¾ËæeÐа汾
* ZPS_INVALID£º±íʾ·ÇËæeÐа汾
*/
BYTE abPadding[2];
}T_zMmiaSms_MemAvail_Req;
/*==============================================================================
Ô­ÓMMIA_SMS_STORE_REPORT_REQ_EV(MMIA->SMS)
˵Ã÷: MTÊÂÎñʱ£¬MMIAÓÃÓÚÏòSMS±¨¸æMTÏûÏ¢´æ´¢ÏìÓ¦
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDestIndex;
BYTE bResult;
BYTE bPadding;
DWORD dwTpCause;/* ´æ´¢Ê§°ÜʱµÄTP-FCS,¿ÉÓë´æ´¢²Ù×÷·µ»ØµÄATÃüÁîµÄ´íÎóÖµÓ³É䡣ȡֵ¼ûºê¶¨Òå */
}T_zMmiaSms_StoRpt_Req;
/*==============================================================================
Ô­ÓMMIA_SMS_ABORT_MO_REQ_EV(MMIA->SMS)
˵Ã÷: ÇëÇóÈ¡ÏûMOÏûÏ¢·¢ËÍ
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDestIndex;
BYTE abPadding[2];
}T_zMmiaSms_AbortMo_Req;
typedef struct {
BYTE bChnl_id; /* AT channel id */
BYTE bCallid;
BYTE bDir; /* ºô½Ð·½Ïò£¬¼ûºê¶¨Òå*/
BYTE bCcState; /* ͬ+CLCC */
BYTE bCallMode; /* ºô½Ðģʽ£¬¼ûºê¶¨Òå */
BYTE bMptystate; /* 1:mptyºô½Ð£¬0: ·Çmptyºô½Ð */
BYTE bCallPriFg;
BYTE bCallPriority; /* ºô½ÐÓÅÏȼ¶£¬¼ûºê¶¨Òå */
BYTE bNumFg;
BYTE bAlphaFg;
BYTE bNameFg;
BYTE bNameLen;
BYTE beCallFg;//ÊÇ·ñЯ´øecall²ÎÊý,0-no,1-yes
BYTE beCallType;//beCallFg = 1ÓÐЧ
WORD wT2Remain;//beCallFg = 1ÓÐЧ
T_z_CallNum tNum; /* ¶Ô·½ºÅÂëÉÏÏÞ40*/
BYTE abName[Z_CC_STATE_NAME_MAX_LEN];
}T_zMmiaCc_State_Info;
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bpadding;
BYTE bCallNum;
T_zMmiaCc_State_Info tStateInfo[Z_MAXCALLNM]; /* Z_MAXCALLNM ȡֵΪ7 */
}T_zMmiaCc_State_Req;
/*==============================================================================
Ô­ÓMMIA_CC_MOC_REQ_EV(MMIA->CC)
˵Ã÷: ºô½Ð½¨Á¢ÇëÇó
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bECallType; /* Ò»°ãºô½Ð»ò½ô¼±ºô½Ð£¬¼ûºê¶¨Òå */
BYTE bECallCategory; /* ½ô¼±ºÅÂëÀàÐÍ£¬´Ó¿¨ÖлñÈ¡µÄÖµ*/
BYTE bCallType; /* ºô½ÐÀàÐÍ£¬¼ûºê¶¨Òå */
BYTE bCallMode; /* ºô½Ðģʽ£¬¼ûºê¶¨Òå */
/* CUG infomation */
BYTE bCugIdxFg; /* cugÊÇ·ñ´æÔÚ±ê¼Çλ,Ŀǰ²»Ö§³Ö£¬mmiaÖ»ÄÜÌîдÎÞЧ
* Z_VALID:ÏàÓ¦×Ö¶ÎÓÐЧ, Z_INVALID:ÏàÓ¦×Ö¶ÎÎÞЧ
* ´Ëºó*FgÀàËÆ×Ö¶ÎÈçÎÞÌØÊâ˵Ã÷,´¦ÀíÓë´Ëͬ*/
BYTE bCugIdx; /* ½öµ±bCugIdxFgΪ1ʱÓÐЧ * 0~9: CUG Index£¬10 no index */
BYTE bCugInfo; /* ½öµ±bCugIdxFgΪ1ʱÓÐЧ */
/*SS Flag*/
BYTE bClirInfo; /* 1:ÆôÓÃCLIR £º
*CLIR_SUBSCRIPTION
* CLIR_INVOCATION
* CLIR_SUPPRESSION ,²Î¼ûºê¶¨Òå */
BYTE bCallIdFg;
BYTE bCallId;
T_z_CallNum tCalledNum;
BYTE bReialFlag; // 0:²»ÊÇredial, 1: ÊÇredial·¢ÆðµÄºô½Ð
BYTE abReialPadding;
BYTE bPsdone; /*CECALL ¸Ãֵȡ0£¬ZECALL¸Ãֵȡ1*/
BYTE bMsdLen;
BYTE abMSD[MSD_MAX_LENGTH];
}T_zMmiaCc_Moc_Req;
/*==============================================================================
Ô­ÓMMIA_CC_MOC_CNF_EV(CC->MMIA)
˵Ã÷: ºô½Ð½¨Á¢½á¹û
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bResult; /* ºô½Ð½¨Á¢½á¹û£¬¼ûºê¶¨Ò壬¶ÔÓ¦apmmia½Ó¿Ú£ºT_Z_ApMmia_CcSetup_Cnf */
BYTE bServ; /* +CR ²ÎÊý£¬¼ûºê¶¨Òå £¬È¡ÖµÓÐЧʱ£¨·Ç0xff£©£¬¶ÔÓ¦apmmia½Ó¿Ú£ºT_Z_ApMmia_Cr_Ind£¬
*ÔÚ×îÖÕ½á¹ûÂëÉϱ¨Ç°¡¢È·¶¨ÁËspeedºÍservice qalityºó¾ÍÉϱ¨*/
BYTE bCalledNumFg; /* µ±´Ë±êÖ¾ÓÐЧʱ£¬Éϱ¨T_Z_ApMmia_Colp_Ind£¬ÔÚCR»òDÃüÁî½á¹ûÂëǰÉϱ¨*/
BYTE bCalledSubAddrFg;
BYTE abPadding[2];
WORD wCause; /* ºô½Ðʧ°ÜÔ­Òò, result²»ÊÇOK/CONNECTʱ¶¼´ø */
BYTE bCallId; /* */
BYTE bCallType; /* ËæeÐÐÉϱ¨Ê±µÄ²ÎÊý£¬¼ûºê¶¨Òå */
T_z_CallNum tCalledNum;
T_z_CallSubAddr tCalledSubAddr;
}T_zMmiaCc_Moc_Cnf;
/*==============================================================================
Ô­ÓMMIA_CC_MTC_IND_EV(CC->MMIA)
˵Ã÷: ÊÕµ½ºô½Ð½¨Á¢Ö¸Ê¾
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bCwFg; /* ºô½ÐµÈ´ý±êʶ£¬¼ûºê¶¨Ò壺Ϊһ°ãºô½Ðʱ£¬ÒÔCRCµÄÉèÖþö¶¨ÒÔring»ò+cringÉϱ¨À´µç£»
* µ±Îªºô½ÐµÈ´ýʱ£¬ÈôccwaÉèÖÃÏÔʾʱ£¬ÒÔ+ccwaÉϱ¨£¬·ñÔòÒÔring»ò+cringÉϱ¨
* ¶ÔÓ¦T_zApMmia_Ring_Ind/T_zApMmia_Cring_Ind/T_zApMmia_Ccwa_Ind */
BYTE bCallType; /* +CRINGÉϱ¨Ê±µÄ²ÎÊý£¬¼ûºê¶¨Òå */
BYTE bCallClass; /* +CCWAÉϱ¨Ê±µÄ²ÎÊý£¬¼ûºê¶¨Òå */
BITS bCallingNumFg:1; /* µ±´Ë±êÖ¾ÓÐЧʱ£¬Éϱ¨T_zApMmia_Colp_Ind£¬ÔÚCR»òDÃüÁî½á¹ûÂëǰÉϱ¨*/
BITS bCallingSubAddr:1;
BITS bCalledNumFg:1;
BITS bCalledSubAddr:1;
BITS bRedirNumFg:1;
BITS bRedirSubAddr:1;
BITS bNoCliCauseFg:1;
BITS bPriorityFg:1;
BYTE bPriority; /* ºô½ÐÓÅÏȼ¶ */
BYTE bNoCliCause; /* Ö÷½ÐºÅÂë²»´æÔÚµÄÔ­Òò */
BYTE bCallId; /* */
BYTE abPadding[3]; /* */
T_z_CallNum tCallingNum; /* ÓÃÓÚccwa,cringÖÐÀ´µçºÅÂ룬Ö÷½ÐºÅÂëÉÏÏÞ10*/
T_z_CallSubAddr tCallingSubAddr;
T_z_CallNum tCalledNum; /* mmiaÔݺöÂÔ´ËÐÅÏ¢ */
T_z_CallSubAddr tCalledSubAddr;
T_z_CallNum tRedirNum; /* mmiaÔݺöÂÔ´ËÐÅÏ¢ */
T_z_CallSubAddr tRedirSubaddr;
}T_zMmiaCc_Mtc_Ind;
/*==============================================================================
Ô­ÓMMIA_CC_MTC_RSP_EV(CC->MMIA)
MMIA_CC_MODE_TO_MULTMEDIA_RSP_EV(MMIA->CC)
˵Ã÷: ºô½Ð½¨Á¢È·ÈÏ£¬Ö÷ÒªÓÃÓÚUDUB»òÕߺڰ×Ãûµ¥
Óû§Ö¸Ê¾½ÓÊÜ»ò¾Ü¾øÇл»ÖÁÊÓÆµµç»°µÄÇëÇó
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bResult; /* Óû§¾ö¶¨ÊÇ·ñ½ÓÊÜ£¬¼ûºê¶¨Òå */
BYTE bCause; /* ÓÃÓÚT_zMmiaCc_Mtc_Rsp,resultΪREJʱ±ØÐë´ø£»·ñÔòΪ¿ÉÑ¡ */
}T_zMmiaCc_Mtc_Rsp, T_zMmiaCc_ModToMultMedia_Rsp;
/*==============================================================================
Ô­Ó MMIA_CC_ANS_MODE_REQ_EV(MMIA->CC),
MMIA_CC_MODIFY_REQ_EV(MMIA->CC),
MMIA_CC_STATE_QUERY_REQ_EV(MMIA->CC),
MMIA_CC_CAUSE_QUERY_REQ_EV(MMIA->CC),
MMIA_CC_ABORT_REQ_EV(MMIA->CC),
MMIA_CC_CSTA_QUERY_REQ_EV(MMIA->CC),
MMIA_CC_MODE_TO_MULTMEDIAIND_EV(CC->MMIA),
MMIA_CC_DISC_CNF_EV(CC->MMIA),
˵Ã÷: ·Ö±ðΪºô½ÐÓ¦´ð»òÕßÊÕµ½ATA·¢ÆðģʽÇл»£¬
ÊÕµ½ATD·¢ÆðģʽÇл»£¬
״̬²éѯ,
×î½üÒ»´Îºô½Ðʧ°Ü»òÊÍ·ÅÔ­Òò²éѯ,
ÊÕµ½µÄÖжÏÇëÇó£¬
²éѯcstaµÄÉèÖÃ
ÊÕµ½¶Ô¶Ë½«ÓïÒôºô½ÐÇл»µ½ÊÓÆµµç»°ÇëÇóʱ¸øÉϲãµÄָʾ
¹Ò¶ÏÏûÏ¢µÄÈ·ÈÏ,
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bCallId; /* CC->MMIAµÄÏûÏ¢Ìî */
BYTE bPadding;
}T_zMmiaCc_AnsMod_Req, T_zMmiaCc_Modify_Req, T_zMmiaCc_StateQuery_Req,
T_zMmiaCc_CauseQuery_Req, T_zMmiaCc_Abort_Req,
T_zMmiaCc_CstaQuery_Req, T_zMmiaCc_ModToMultMedia_Ind;
/*==============================================================================
Ô­Ó MMIA_CC_DISC_IND_EV(CC->MMIA),
˵Ã÷: ÊÕµ½¹Ò¶ÏÏûÏ¢µÄָʾ,
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bCallId; /* */
BYTE bPadding1;
WORD wCause; /* ºô½ÐÊÍ·ÅÔ­Òò */
BYTE abPadding2[2];
}T_zMmiaCc_Disc_Ind;
/*==============================================================================
Ô­ÓMMIA_CC_ANS_MODE_CNF_EV(CC->MMIA)
˵Ã÷: ºô½ÐÓ¦´ð»òÕßATA·¢ÆðµÄģʽÇл»µÄ½á¹û
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bResult; /* ANSMODÇëÇóµÄ½á¹û£¬¼ûºê¶¨Ò壻¶ÔÓ¦½Ó¿ÚT_zApMmia_CcAnswer_Cnf */
BYTE bServ; /* +CR ²ÎÊý£¬¼ûºê¶¨Òå £¬´¦ÀíͬT_zMmiaCc_Moc_CnfÖÐbServ*/
WORD wCause; /* ºô½Ðʧ°ÜÔ­Òò, result²»ÊÇOK/CONNECTʱ¶¼´ø */
BYTE bCallId; /* */
BYTE bCallType; /* ËæeÐÐÉϱ¨Ê±µÄ²ÎÊý, resultÊÇOK/CONNECTʱ´ø£¬¼ûºê¶¨Òå */
}T_zMmiaCc_AnsMod_Cnf;
/*==============================================================================
Ô­ÓMMIA_CC_MODIFY_CNF_EV(CC->MMIA)
˵Ã÷: ATD·¢ÆðµÄModifyµÄ½á¹ûָʾ
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bServ; /* +CR ²ÎÊý£¬¼ûºê¶¨Òå */
BYTE bCallId; /* */
BYTE bResult; /*²Ù×÷µÄ½á¹û¼ûºê¶¨Òå:Z_SUCC/Z_FAIL*/
BYTE abPadding[3];
DWORD dwCause; /* ʧ°ÜÔ­Òò */
}T_zMmiaCc_Modify_Cnf;
/*==============================================================================
Ô­ÓMMIA_CC_DIS_MODE_REQ_EV(MMIA->CC)
˵Ã÷: ¹Ò¶Ïºô½ÐÇëÇ󣬻òÕßÊÕµ½ATH/+CHUPÃüÁî
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bFlag; /* ¹Ò¶ÏÇëÇóµÄÃüÁ¼ûºê¶¨Òå */
BYTE bCause;
}T_zMmiaCc_DisMod_Req;
/*==============================================================================
Ô­ÓMMIA_CC_COMMON_CNF_EV(CC->MMIA)
˵Ã÷: ATH/+CHUPÃüÁî²Ù×÷µÄ·µ»Ø½á¹û
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bResult; /*²Ù×÷µÄ½á¹û¼ûºê¶¨Òå:Z_SUCC/Z_FAIL*/
BYTE bCallId;
DWORD dwCause; /* ʧ°ÜÔ­Òò */
}T_zMmiaCc_Disc_Cnf;
/*==============================================================================
Ô­ÓMMIA_CC_DTMF_REQ_EV(MMIA->CC)
˵Ã÷: ·¢ËÍDTMFÇëÇó
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bDtmf; /* DTMF×Ö·û */
BYTE bPadding;
DWORD dwDuration; /* Èç¹ûVTS²»Ð¯´øÊ±³¤È¡VTDÉèÖÃÖµ*/
}T_zMmiaCc_Dtmf_Req;
/*==============================================================================
Ô­ÓMMIA_CC_CHLD_REQ_EV(MMIA->CC)
˵Ã÷: ·¢ËÍHOLD/RETRIEVE/MPTY/CWµÈ²Ù×÷µÄÇëÇó
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bOperateType; /*
* ²Ù×÷ÀàÐÍ
* 0: ÊÍ·ÅËùÓÐheldºô½Ð»òÕß½«ºô½ÐµÈ´ý
* ÉèÖÃÓû§¾ö¶¨Óû§Ã¦(UDUB)
* 1: ÊÍ·ÅËùÓÐactiveºô½Ð(Èç¹û´æÔÚ)£¬
* ½ÓÊÜÆäËûºô½Ð(held or waiting)
* 1X:ÊÍ·ÅÖ¸¶¨active call X.
* 2: ½«ËùÓÐactiveºô½Ð(Èç¹û´æÔÚ)ÖÃΪ
* hold£¬½ÓÊÜÆäËûºô½Ð (held or waiting)
* 2X: ½«³ýÁËXÖ®ÍâµÄËùÓÐactiveºô½ÐÖÃΪhold
* ºô½ÐXÓ¦¼ÌÐøÖ§³Ö
* 3: ½«Ò»Â·heldºô½Ð¼ÓÈëµ½»á»°ÖÐ
*/
BYTE bHldCauseFg;/*±ê¼Ç¹Ò¶ÏÔ­ÒòÊÇ·ñ´æÔÚ*/
BYTE bHldCause; /*¹Ò¶ÏÔ­Òò(1-127)*/
BYTE abPadding[3];
}T_zMmiaCc_Chld_Req;
/*==============================================================================
Ô­ÓMMIA_CC_CHLD_CNF_EV(CC->MMIA)
MMIA_CC_DTMF_CNF_EV(CC->MMIA)
MMIA_CC_CSTA_SET_CNF_EV(CC->MMIA)
˵Ã÷: DISMOD¡¢DTMF¡¢CHLDºÍCSTAÉèÖòÙ×÷µÄ·µ»Ø½á¹ûÒÔ¼°ËùÓÐʧ°Ü²Ù×÷µÄ·µ»Ø½á¹û
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bResult; /* DTMF,CHLD,DISMODºÍÆäËûʧ°Ü²Ù×÷µÄ½á¹û
* ¼ûºê¶¨Òå:Z_SUCC/Z_FAIL
*/
BYTE bCallId; /* */
DWORD dwCause; /* ʧ°ÜÔ­Òò */
}T_zMmiaCc_Chld_Cnf,T_zMmiaCc_Dtmf_Cnf,T_zMmiaCc_CstaSet_Cnf;
/*==============================================================================
Ô­ÓMMIA_CC_NOTIFY_IND_EV(CC->MMIA)
˵Ã÷: Notifyָʾ,mmiaÔÝʱºöÂÔ´ËÐÅÏ¢
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bNotifyInd; /* Notify ָʾ*/
BYTE bCallId; /* */
}T_zMmiaCc_Notify_Ind;
/*==============================================================================
Ô­ÓMMIA_CC_SS_NOTIFY_IND_EV(CC->MMIA)
˵Ã÷: SS Notifyָʾ
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bIndexFg;
BYTE bIndex; /* CUG Index */
BYTE bIorUFg; /* 0: ¶ÔÓ¦cssi£»1¶ÔÓ¦cssu£¬È¡Öµ¼ûºê¶¨Òå*/
BYTE bCode; /* +CSSI»òCSSUÖÐcode²ÎÊý, ²Î¿¼½Ó¿ÚÎĵµ */
BYTE bCallingNumFg;
BYTE bCallingSubAddrFg;
BYTE bCallId; /* */
BYTE abPadding[3]; /* */
T_z_CallNum tCallingNum; /*Ö÷½ÐºÅÂëÉÏÏÞ10*/
T_z_CallSubAddr tCallingSubAddr;
}T_zMmiaCc_SsNotify_Ind;
/*==============================================================================
Ô­ÓMMIA_CC_STATE_QUERY_CNF_EV(CC->MMIA)
˵Ã÷: ºô½Ð״̬²éѯ½á¹û
==============================================================================*/
/* The struct of the call information.*/
typedef struct
{
BYTE bCi; /* ºô½Ð±êʶ */
BYTE bDir; /* ºô½Ð·½Ïò£¬¼ûºê¶¨Òå*/
BYTE bCallState; /* ºô½Ð״̬£¬¼ûºê¶¨Òå */
BYTE bCallMode; /* ºô½Ðģʽ£¬¼ûºê¶¨Òå */
BYTE bMptyInfo; /* ÊÇ·ñ´¦ÓÚMPTYÖеıêʶ룬¼ûºê¶¨Òå */
BYTE bCallPriFg;
BYTE bCallPriority; /* ºô½ÐÓÅÏȼ¶£¬¼ûºê¶¨Òå */
BYTE bCalledNumFg;
T_z_CallNum tCalledNum; /* ±»½ÐºÅÂëÉÏÏÞ40*/
}T_zMmiaCc_CallInfo;
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bNumber; /* ·ÇNULL״̬µÄCCʵÌå¸öÊý */
BYTE bPadding;
T_zMmiaCc_CallInfo atCallInfo[7];
}T_zMmiaCc_StateQuery_Cnf;
/*==============================================================================
Ô­ÓMMIA_CC_CAUSE_QUERY_CNF_EV(CC->MMIA)
˵Ã÷: ºô½Ðʧ°Ü»òÊͷŵIJéѯ½á¹û
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bCauseFg;
BYTE bPadding;
DWORD dwCause; /* ×î½üÒ»´Îºô½ÐÊÍ·Å»òʧ°ÜµÄÔ­Òò */
}T_zMmiaCc_CauseQuery_Cnf;
/*==============================================================================
Ô­ÓMMIA_CC_COMMON_CNF_EV(CC->MMIA)
˵Ã÷: DISMOD¡¢DTMF¡¢CHLDºÍCSTAÉèÖòÙ×÷µÄ·µ»Ø½á¹ûÒÔ¼°ËùÓÐʧ°Ü²Ù×÷µÄ·µ»Ø½á¹û
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bResult; /* DTMF,CHLD,DISMODºÍÆäËûʧ°Ü²Ù×÷µÄ½á¹û
* ¼ûºê¶¨Òå:Z_SUCC/Z_FAIL
*/
BYTE bCallId; /* */
DWORD dwCause; /* ʧ°ÜÔ­Òò */
}T_zMmiaCc_Common_Cnf;
/****************************************************************************
Ô­Óï:MMIA_CC_PROC_INFO_IND_EV(CC->MMIA)
¹¦ÄÜ:ºô½Ð¹ý³ÌÖÐÐÅÏ¢µÄÖ÷¶¯Éϱ¨
****************************************************************************/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bCallInfo; /* ºô½ÐÐÅϢָʾ£¬¼ûºê¶¨Òå */
BYTE bCallId; /* */
BYTE bProgressFg; /* 0:ÎÞprogressÐÅÏ¢,1: ÓÐprogressµÄÐÅÏ¢ */
BYTE bCallLoc; /* bProgressFg=1ÊÇÓÐЧ£¬È¡Öµ¼û24008 10.5.4.21¡£¸Ã²ÎÊýÔÝʱ²»±»MMIA´¦Àí */
BYTE bProgDes; /* bProgressFg=1ÊÇÓÐЧ£¬È¡Öµ¼û24008 10.5.4.21 */
BYTE bCallType; /* µ±Ç°µÄºô½ÐÀàÐÍ£¬Z_MMIACC_VOICE_CALL/Z_MMIACC_DATA_CALL(/Z_MMIACC_CMCC_EMERGENCY_CALL),
* ÔÚcallinfoΪCallProcdºÍsendsetupMsgʱ±ØÐë´ø£¬
* ÔÚcallinfoΪZ_MMIACC_CALLPROCD_NOTIFYʱ,Z_MMIACC_CMCC_EMERGENCY_CALL¶ÔÓ¦µ½Z_MMIACC_VOICE_CALL */
}T_zMmiaCc_ProcInfo_Ind;
/****************************************************************************
Ô­Óï:MMIA_CC_CSTA_SET_REQ_EV(MMIA->CC)
MMIA_CC_CSTA_QUERY_CNF_EV(CC->MMIA)
¹¦ÄÜ:cstaµÄÉèÖÃÃüÁîºÍ²éѯȷÈÏ
****************************************************************************/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bType; /* cstaµÄÉèÖÃÖµ²Î¿¼24008 10.5.4.7£¬ÈôÉèÖÃÖµÎÞЧ,·µ»ØÊ§°Ü,cc¼ÇÎÞЧµÄtypeÖµ0xff
²éѯ´Ëֵʱ,·µ»Ø0xffΪÎÞЧÉèÖÃ*/
BYTE bPadding;
}T_zMmiaCc_CstaSet_Req, T_zMmiaCc_CstaQuery_Cnf;
/*==============================================================================
Ô­ÓMMIA_CC_CALL_STATE_IND_EV(CC->MMIA)
˵Ã÷: ºô½Ð״̬¸Ä±äÉϱ¨£¬¶ÔÓ¦ËæeÐй淶v2.0.0 ^DSCI
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bCallId; /* ºô½Ð±êʶ */
BYTE bDir; /* ºô½Ð·½Ïò£¬¼ûºê¶¨Òå */
BYTE bCallState; /* ºô½Ð״̬£¬¼ûºê¶¨Òå */
BYTE bCallType; /* ºô½ÐÀàÐÍ£¬VOICE/DATA£¬¼ûºê¶¨Òå */
BYTE bMptyInfo; /* ÊÇ·ñ´¦ÓÚMPTYÖеıêʶ룬¼ûºê¶¨Òå */
BYTE bBsTypeFg; /* ÊÇ·ñÓÐbBsTypeµÄ±êʶ룬Z_VALID±íʾÓУ¬Z_INVALID±íʾÎÞ */
BYTE bCauseFg; /* ÊÇ·ñÓÐbCauseµÄ±êʶ룬Z_VALID±íʾÓУ¬Z_INVALID±íʾÎÞ */
BYTE bBsType; /* ³ÐÔØÒµÎñÀàÐÍ£¬¼ûServ ²ÎÊý ºê¶¨Ò壬ÐèҪעÒâºÍËæeÐÐÖµµÄ²î */
BYTE bCause; /* ºô½ÐÊÍ·ÅÔ­Òò£¬bCallStateΪENDʱÌîд */
BYTE bReialFlag; // 0:²»ÊÇredial, 1: ÊÇredial·¢ÆðµÄºô½Ð
T_z_CallNum tNumber; /* ºô½Ð¶Ô¶ËºÅÂë */
}T_zMmiaCc_CallStateInd;
/*==============================================================================
Ô­ÓMMIA_CC_OPEN_VOICE_CHNL_IND_EV(CC->MMIA)
˵Ã÷: ֪ͨMMIA´ò¿ªÓïÒôͨµÀ
==============================================================================*/
typedef struct
{
BYTE bPlatIndex; /*¶ÔÓ¦ºô½ÐʵÌ彨Á¢Ê±£¬Æ½Ì¨Ï·¢ÏûÏ¢ÖеÄÔ´Ë÷Òý*/
BYTE bCurAct;
BYTE bIsWideBand;
BYTE bAmrCdec;
}T_zMmiaCC_OpenVoiceChnl_Ind,T_zMmiaCC_CloseVoiceChnl_Ind;
/*==============================================================================
Ô­ÓMMIA_CC_CLOSE_VOICE_CHNL_IND_EV(CC->MMIA)
˵Ã÷: ֪ͨMMIA¹Ø±ÕÓïÒôͨµÀ
==============================================================================*/
/* ¿ÕÏûÏ¢ */
/*==============================================================================
Ô­ÓMMIA_CC_CCM_QUERY_REQ_EV(MMIA->CC)
˵Ã÷: MMIA²éѯcurrent call meter
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE abPadding[2];
}T_zMmiaCc_CcmQuery_Req;
/*==============================================================================
Ô­ÓMMIA_CC_CCM_QUERY_CNF_EV(CC->MMIA)
˵Ã÷: ÏòMMIA»Ø¸´current call meter
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE abPadding[2];
DWORD dwCcm;
}T_zMmiaCc_CcmQuery_Cnf;
/*==============================================================================
Ô­ÓMMIA_CC_CCWV_IND_EV(CC->MMIA)
˵Ã÷: ÏòÓû§¾¯¸æ¿ìÒª´ïµ½ACMmax
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE abPadding[2];
}T_zMmiaCc_Ccwv_Ind;
/*==============================================================================
Ô­ÓMMIA_CC_NOTIFY_AOC_TIMER_IND_EV(CC->MMIA)
˵Ã÷: CC֪ͨMMIA¹Ø±Õ¡¢´ò¿ª¶¨Ê±Æ÷
==============================================================================*/
typedef struct
{
BYTE bAocTimerNotify; /* Z_VALID ´ò¿ª¶¨Ê±Æ÷
Z_INVALID ¹Ø±Õ¶¨Ê±Æ÷
*/
BYTE abPadding[3];
}T_zMmiaCc_NotifyAocTimer_Ind;
/*==============================================================================
Ô­ÓMMIA_CC_CNAP_IND_EV(CC->MMIA)
˵Ã÷: CCÖ÷¶¯Éϱ¨Ö÷½ÐÓû§Ãû
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bL3MsgCniFg; /* ±êʶbL3MsgCniÓÐЧÐÔ */
BYTE bL3MsgCni; /*
* L3ÏûϢЯ´øµÄCNI£º
* Z_MMIACC_CNI_NAMEPRESENTALLOW
* Z_MMIACC_CNI_PRESENTRESTRICT
* Z_MMIACC_CNI_NAMEUNAVAIL
* Z_MMIACC_CNI_NAMEPRESENTRESTRICT
*/
BYTE bCallId;
BYTE bDcs; /* Óû§ÃûµÄ±àÂ뷽ʽ */
BYTE bNameLen; /* ±êʶabNameµÄ×Ö½Ú³¤¶È */
BYTE bLenInChars; /* ±êʶabNameµÄ×Ö·û³¤¶È */
BYTE abName[Z_MMIACC_CNAP_NAME_MAX_LEN]; /* Ö÷½ÐÓû§Ãû*/
} T_zMmiaCc_CnapInd;
/****************************************************************************
Ô­Óï:MMIA_CC_OPEN_VOICECHNL_REQ_EV(ATI->CC)
¹¦ÄÜ:֪ͨ´ò¿ªÓïÒô
****************************************************************************/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bCallId; /* ºô½Ð±êʶ*/
BYTE bPadding;
}T_zMmiaCc_Open_VoiceChnl_Req;
/****************************************************************************
Ô­Óï:MMIA_CC_SRVCC_NOTOPEN_VOICECHNL_REQ_EV(ATI->CC)
¹¦ÄÜ:֪ͨSRVCCʱ²»´ò¿ªÓïÒô
****************************************************************************/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE abPadding[2];
}T_zMmiaCc_NotOpen_VoiceChnl_Req;
/*==============================================================================
Ô­ÓMMIA_CC_STOP_LOCALVOICE_IND_EV(CC->ATI)
˵Ã÷: ֪ͨͣ±¾µØÒô
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bCallId; /* ºô½Ð±êʶ*/
BYTE bPadding;
}T_zMmiaCC_StopLocalVoice_Ind,T_zMmiaCC_StartLocalVoice_Ind;
/*==============================================================================
Ô­ÓMMIA_CC_CECN_IND_EV(CC->ATI)
˵Ã÷: Éϱ¨+CECN: <data_type>
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bDataType;//0-updated MSD for the eCall is provided to the network by the MT,1-request for updated MSD
BYTE bMtFirstMsdReq;
}T_zMmiaCc_Cecn_Ind;
/*==============================================================================
Ô­ÓMMIA_CC_ZECALL_IND_EV(CC->ATI)
˵Ã÷: CC½«CECALLת½»IMS´¦Àí
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE beCallType;
BYTE bMsdLen;
BYTE abMSD[MSD_MAX_LENGTH];
}T_zMmiaCc_ZECALL_Ind;
/*==============================================================================
Ô­ÓMMIA_CC_ECALL_WORKSTATE_IND_EV(CC->ATI)
˵Ã÷: Éϱ¨+ZECALLSTATE: <CallId>,<Dir>,<ecallState>
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCallId;
BYTE bDir;
BYTE bECallState;
BYTE bClearDownFg;
BYTE bClearDown;
BYTE bPadding1;
BYTE beCallModeFg;
BYTE beCallMode;
BYTE abPadding[2];
}T_zMmiaCc_ECallWorkStateInd;
/*==============================================================================
Ô­Óï:MMIA_CC_T9TIMER_SET_REQ_EV
˵Ã÷:·¢ËÍT9¶¨Ê±Æ÷
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bEnable;//0-¹Ø±Õ,1-´ò¿ª
BYTE bPadding;
}T_zMmiaCc_T9Timer_SetReq;
/*==============================================================================
Ô­Óï:MMIA_CC_T9TIMER_QRY_REQ_EV
˵Ã÷:·¢ËÍT9¶¨Ê±Æ÷״̬²éѯÇëÇó
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
}T_zMmiaCc_T9Timer_QryReq;
/*==============================================================================
Ô­ÓMMIA_CC_CALLBACK_EVENT_EV(CC->ATI)
˵Ã÷: Éϱ¨
==============================================================================*/
typedef struct
{
BYTE bEvent; /*0 End 1 Start*/
BYTE abpadding[3];
}T_zMmiaCc_CallBackEvent_Ind;
/*==============================================================================
Ô­Óï:MMIA_CC_T9TIMER_QRY_CNF_EV
˵Ã÷:T9¶¨Ê±Æ÷״̬²éѯ½á¹û
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bT9Stat;//0-µ±Ç°T9ûÓÐÆô¶¯,1-µ±Ç°T9ÒÑÆô¶¯
BYTE bPadding;
}T_zMmiaCc_T9Timer_QryCnf;
/*==============================================================================
Ô­Óï:MMIA_CC_VOICEMODE_QRY_REQ_EV
˵Ã÷:²éѯµ±Ç°µÄEcallµÄÒôƵģʽ
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
}T_zMmiaCc_VocieMode_QryReq;
/*==============================================================================
Ô­Óï:MMIA_CC_VOICEMODE_QRY_CNF_EV
˵Ã÷:²éѯµ±Ç°µÄEcallµÄÒôƵģʽ½á¹û
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bVoiceMode; /*0:Õý³£ÓïÒôģʽ£¬1:Inbandģʽ*/
BYTE bPadding;
}T_zMmiaCc_VocieMode_QryCnf;
/*==============================================================================
Ô­Óï:MMIA_CC_RESETIVS_REQ_EV/MMIA_CC_WAITMSD_QRY_REQ_EV
˵Ã÷:ÉϲãÖØÖÃIVS/²éѯÊÇ·ñÔÚµÈMSD
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
}T_zMmiaCc_ResetIvs_Req, T_zMmiaCc_WaitMsdQry_Req;
/*==============================================================================
Ô­Óï: MMIA_CC_RESETIVS_CNF_EV
˵Ã÷:ÉϲãÖØÖÃIVS½á¹û
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bRst;
BYTE bPadding;
DWORD dwCause;
}T_zMmiaCc_ResetIvs_Cnf;
/*==============================================================================
Ô­Óï: MMIA_CC_WAITMSD_QRY_CNF_EV
˵Ã÷:ÉϲãÖØÖÃIVS½á¹û
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bStat; //0-not wait, 1-wait
BYTE bPadding;
}T_zMmiaCc_WaitMsdQry_Cnf;
typedef struct
{
BYTE bStatus; /* ²Î¼ûºê¶¨Òå */
BYTE bClassFg; /* bClass´æÔÚ±ê¼Ç룬
* Z_VALID:ÏàÓ¦²ÎÊý´æÔÚ
* Z_INVALID:ÏàÓ¦²ÎÊý²»´æÔÚ
* ºóÐø²ÎÊý**FgÐÎʽµÄÎÞÌØÊâ˵Ã÷ʱ£¬Óë´Ëͬ*/
BYTE bClass; /* ²Î¼ûºê¶¨Òå */
BYTE bTimeFg; /* Time´æÔÚ±ê¼Çλ*/
BYTE bTime; /* ÎÞÓ¦´ðºô½Ð×ªÒÆµÈ´ýʱ¼ä, ȡֵ·¶Î§[1-30] */
BYTE abPadding[3];
T_z_CallNum tFwdNum; /* CCFCÄ¿±êºÅÂ븸µØÖ·£¬ÔÚ´ËÏûÏ¢Ö㤶ÈÉÏÏÞΪ8*/
T_z_CallSubAddr tSubAddr; /* CCFCÄ¿±êºÅÂë×ÓµØÖ·£¬³¤¶ÈÉÏÏÞΪ20*/
} T_zMmiaSs_FwdFeat;
/* CLCK¡¢CCWA²éѯ½á¹û×ӽṹ */
typedef struct
{
BYTE bStatus; /* ²Î¼ûºê¶¨Òå */
BYTE bClassFg; /* bClass´æÔÚ±ê¼Çλ*/
BYTE bClass; /* ²Î¼ûºê¶¨Ò壬²»°üº¬À©Õ¹ºê¶¨Òå */
BYTE bPadding;
} T_zMmiaSs_ClassStatus;
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bResult; /* ÊÇ·ñº¬´íÎóֵָʾ£¬Z_FAIL±íʾº¬´íÎóÖµ*/
BYTE bPadding;
DWORD dwErrCd; /* ²Î¼ûºê¶¨Òå */
} T_zMmiaSs_Common_Cnf;
/**************************************************************************
* ½Ó¿ÚÏûÏ¢½á¹¹¶¨Òå *
**************************************************************************/
/*==============================================================================
Ô­ÓMMIA_SS_CLCK_SET_REQ_EV(MMIA->SS)
˵Ã÷: CLCKµÄÉèÖÃ/²éѯÃüÁî
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bFac; /* ²Î¼ûºê¶¨Òå */
BYTE bMode; /* ²Î¼ûºê¶¨Òå */
BYTE bClassFg;
BYTE bClass; /* ²Î¼ûºê¶¨Òå */
BYTE bPwdNum; /* ÃÜÂë¸öÊý */
BYTE bPadding;
BYTE abPassword[Z_MMIASS_MAX_PWD_LEN]; /* Ϊ0-9µÄËĸöÊý×Ö */
} T_zMmiaSs_Ciss_Req;
/*==============================================================================
Ô­ÓMMIA_SS_CLCK_QUERY_CNF_EV(SS->MMIA)
˵Ã÷: CLCK²éѯÃüÁîµÄ»Ø¸´
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bClassNum;
BYTE bPadding;
T_zMmiaSs_ClassStatus atClass[8]; /* ²éѯ½á¹ûÊý×é */
} T_zMmiaSs_CissQer_Cnf;
/*==============================================================================
Ô­ÓMMIA_SS_CPWD_SET_REQ_EV(MMIA->SS)
˵Ã÷: CPWDµÄÉèÖÃÃüÁî
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE abPaddings[2];
BYTE bFac; /* ²Î¼ûºê¶¨Òå */
BYTE bOldPwdNum; /*¾ÉÃÜÂë¸öÊý*/
BYTE bNewPwdNum; /*ÐÂÃÜÂë¸öÊý*/
BYTE bNewPwdAgnNum; /*ÐÂÃÜÂëÈ·ÈϵÄÃÜÂë¸öÊý£¬ÎªÁãʱ£¬ssÔٴλظ´abNewPwd*/
BYTE abOldPwd[Z_MMIASS_MAX_PWD_LEN];
BYTE abNewPwd[Z_MMIASS_MAX_PWD_LEN];
BYTE abNewPwdAgn[Z_MMIASS_MAX_PWD_LEN];
} T_zMmiaSs_PwdChange_Req;
/*==============================================================================
Ô­ÓMMIA_SS_CLIP_READ_REQ_EV(MMIA->SS)¡¢MMIA_SS_CLIR_READ_REQ_EV(MMIA->SS)¡¢
MMIA_SS_COLP_READ_REQ_EV(MMIA->SS)¡¢MMIA_SS_COLR_READ_REQ_EV(MMIA->SS)¡¢MMIA_SS_ABORT_REQ_EV(MMIA->SS)
MMIA_SS_CNAP_READ_REQ_EV(MMIA->SS)
˵Ã÷: Clip\Clir\Colp\Colr\CNAP²ÎÊý²éѯÃüÁîÃüÁî,¶ÔÓ¦¿ÉÖжÏATÃüÁîµÄÖÕ¶ËÇëÇó
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bPadding[2];
} T_zMmiaSs_ClipRead_Req,T_zMmiaSs_ClirRead_Req,
T_zMmiaSs_ColpRead_Req, T_zMmiaSs_ColrRead_Req,
T_zMmiaSs_Abort_Req,T_zMmiaSs_UssdCancel_Req,
T_zMmiaSs_CnapRead_Req;
/*==============================================================================
Ô­ÓMMIA_SS_CLIP_READ_CNF_EV(SS->MMIA)¡¢MMIA_SS_CLIR_READ_CNF_EV(SS->MMIA)¡¢
MMIA_SS_COLP_READ_CNF_EV(SS->MMIA)¡¢MMIA_SS_COLR_READ_CNF_EV(SS->MMIA)¡¢MMIA_SS_CNAP_READ_CNF_EV(SS->MMIA)¡¢
˵Ã÷: Clip\Clir\Colp\Colr\CnapµÄ²éѯÃüÁîµÄ»Ø¸´
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bMPara; /* ²Î¼ûºê¶¨Òå */
BYTE bPadding;
} T_zMmiaSs_ClipQer_Cnf, T_zMmiaSs_ClirQer_Cnf,
T_zMmiaSs_ColpQer_Cnf,T_zMmiaSs_ColrQer_Cnf,T_zMmiaSs_CnapQer_Cnf;
/*==============================================================================
Ô­ÓMMIA_SS_CCFC_SET_REQ_EV(MMIA->SS)
˵Ã÷: CCFCµÄÉèÖÃ/²éѯÃüÁî
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bReason; /* ²Î¼ûºê¶¨Òå */
BYTE bMode; /* ²Î¼ûºê¶¨Òå */
BYTE bClassFg;
BYTE bClass; /* ²Î¼ûºê¶¨Òå */
BYTE bTimeFg;
BYTE bTime; /* ºôתǰµÈ´ýʱ¼ä,ȡֵ·¶Î§[1-30]. ȱʡֵΪ20 */
T_z_CallNum tFwdNum; /* CCFCÄ¿±êºÅÂ븸µØÖ·£¬Ôڴ˽ṹÖ㤶ÈÉÏÏÞΪ19*/
T_z_CallSubAddr tSubAddr; /* CCFCÄ¿±êºÅÂë×ÓµØÖ·£¬³¤¶ÈÉÏÏÞΪ20*/
} T_zMmiaSs_CcfcSet_Req;
/*==============================================================================
Ô­ÓMMIA_SS_CCFC_QUERY_CNF_EV(SS->MMIA)
˵Ã÷: CCFCµÄ²éѯÃüÁîµÄ»Ø¸´
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bFwdFeatNum;
BYTE bPadding;
T_zMmiaSs_FwdFeat atFwdFeat[8]; /* CCFC²éѯ×ӽṹÊý×é */
} T_zMmiaSs_CcfcQer_Cnf;
/*==============================================================================
Ô­ÓMMIA_SS_CCWA_SET_REQ_EV(MMIA->SS)
˵Ã÷: CCWAµÄÉèÖÃ/²éѯÃüÁî
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bMode; /* ²Î¼ûºê¶¨Òå */
BYTE bClassFg;
BYTE bClass; /* ²Î¼ûºê¶¨Òå */
BYTE bPadding[3];
} T_zMmiaSs_CcwaSet_Req;
/*==============================================================================
Ô­ÓMMIA_SS_CCWA_QUERY_CNF_EV(SS->MMIA)
˵Ã÷: CCWAµÄ¶ÁÈ¡ÃüÁîµÄ»Ø¸´
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bClassNum;
BYTE bPadding;
T_zMmiaSs_ClassStatus atClass[8]; /* CCWA²éѯ×ӽṹÊý×é */
} T_zMmiaSs_CcwaQer_Cnf;
/*==============================================================================
Ô­ÓMMIA_SS_CUSD_SET_REQ_EV(MMIA->SS)
˵Ã÷: CUSDÃüÁî(MS->Network·½Ïò)
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bStrLen; /* USSD´®³¤¶È */
BYTE bDcs; /* ±àÂë·½°¸ */
BYTE abUssdStr[Z_MMIASS_MAX_USSD_LEN];
} T_zMmiaSs_CusdSet_Req;
/*==============================================================================
Ô­ÓMMIA_SS_CUSD_MT_IND_EV(SS->MMIA)
˵Ã÷: CUSDÃüÁî(Network->MS·½Ïò)
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE abPadding1[2];
BYTE bMPara; /* ²Î¼ûºê¶¨Òå */
BYTE bStrLen; /* USSD´®³¤¶È */
BYTE bDcs; /* ±àÂë·½°¸ */
BYTE bPadding2;
BYTE abUssdStr[Z_MMIASS_MAX_USSD_LEN];
} T_zMmiaSs_CusdMt_Ind;
#ifdef _USE_LPP_ECID
typedef struct{
BYTE bNum;
BYTE abList[2];
}T_zMmiaSs_DefLoctEvtType;
typedef struct{
BYTE bLocationEstmateType;
BYTE bDefLocEvtTpFg :1;
BYTE :7;
T_zMmiaSs_DefLoctEvtType tDefLocEvtType;
}T_zMmiaSs_LocationType;
typedef struct{
BYTE bNum;
BYTE abAddr[Z_MAX_CLENTADDR_LEN];
}T_zMmiaSs_Address;
/*lshw:½á¹¹ÔÝʱ䶨*/
//typedef struct{
//}T_zMmiaSs_ExtensionContainer;
typedef struct{
BYTE bExternalAddressFg: 1;
BYTE bExtensionContainerFg: 1;
BYTE :6;
T_zMmiaSs_Address tExternalAddress;
//T_zMmiaSs_ExtensionContainer tExtensionContainer;
}T_zMmiaSs_ClientExtId;
typedef struct{
BYTE bNum;
BYTE abUSSDString[Z_MAX_CLENTNAME_LEN];
}T_zMmiaSs_NameString;
typedef struct{
BYTE bDataCodScheme;
T_zMmiaSs_NameString tNameString;
BYTE bLcsFormatIndicatorFg :1;
BYTE :7;
BYTE bLcsFormatIndicator;
}T_zMmiaSs_ClientName;
typedef struct
{
DWORD bLatDire:1; /*Sign of latitude*/
DWORD :7;
DWORD dwLatitude:24; /*Degrees of latitude*/
LONG dwLongitude; /*Degrees of longitude*/
}T_z_Coordinate;
typedef struct
{
T_z_Coordinate tCoordinate;
}T_z_Ellip;
typedef struct
{
T_z_Coordinate tCoordinate;
BYTE bUncertCode;
BYTE bPadding[3];
}T_z_Ellip_UncertCircle;
typedef struct
{
T_z_Coordinate tCoordinate;
BYTE bMajorAxis;
BYTE bConfidence;
BYTE bUncertSemiMinor;
BYTE bUncertSemiMajor;
}T_z_Ellip_UncertEllip;
typedef struct
{
T_z_Coordinate *ptCoordinates;
BYTE bNum;
BYTE bPadding[3];
}T_z_Polygon;
typedef struct
{
T_z_Coordinate tCoordinate;
BYTE bDirecAlt;
BYTE bPadding;
WORD wAltitude;
}T_z_Ellip_Alt;
typedef struct
{
T_z_Coordinate tCoordinate;
BYTE bUncertSemiMajor;
BYTE bUncertSemiMinor;
BYTE bMajorAxis;
BYTE bUncetAlt;
BYTE bConfidence;
BYTE bDirecAlt;
WORD wAltitude;
}T_z_Ellip_Alt_UncertEllip;
typedef struct
{
T_z_Coordinate tCoordinate;
BYTE bUncertRadius;
BYTE bConfidence;
BYTE bIncludeAngle;
BYTE bOffsetAngle;
BYTE bPadding[2];
WORD wInnerRadius;
}T_z_Ellip_Arc;
typedef struct
{
BYTE bType;
union
{
T_z_Ellip tEllip;
T_z_Ellip_UncertCircle tEllipUncertCircle;
T_z_Ellip_UncertEllip tEllipUncertEllip;
T_z_Polygon tPolygon;
T_z_Ellip_Alt tEllipAlt;
T_z_Ellip_Alt_UncertEllip tEllipAltUncert;
T_z_Ellip_Arc tEllipArc;
}Val;
}T_zMmiaSs_LrRes_ShapeData;
typedef struct
{
BYTE bHorUncertSpeed;
BYTE bVerUncertSpeed;
BYTE bVerSpeed;
WORD bVerSpeedDirect:1;
WORD bVerSpeedFg:1;
WORD bHorUncertSpeedFg:1;
WORD bVerUncertSpeedFg:1;
WORD wBearing:9;
WORD :3;
WORD wHorSpeed;
}T_zMmiaSs_LrRes_VelocityData;
/*=============================================================================
Ô­Óï:MMIA_SS_MOLR_ENABLE_REQ_EV/MMIA_SS_MOLR_DISABLE_REQ_EV
˵Ã÷:+ZMOLRÃüÁî(ATI->SS),¶¨Î»·¢Æð»òÕßÖÕÖ¹
=============================================================================*/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bEnable;
BYTE bPadding;
}T_zMmiaSs_MoLr_Enable_Req, T_zMmiaSs_MoLr_Disable_Req;
/*==============================================================================
Ô­Óï:MMIA_SS_MTLOCIREQ_NOTIFY_IND_EV
˵Ã÷:SSÊÕµ½ÍøÂçµÄMT¶¨Î»ÇëÇó£¬Í¨ÖªATÐèÓû§È·È϶¨Î»½ÓÊÜ»ò¾Ü¾ø
================================================================================*/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bClientExtIdFg;
BYTE bClientNameFg;
BYTE bHandleId;
BYTE bNotifiationType;
BYTE bPlane; /*ȡֵ0 Ctrl Plane 1 SUPI£¬ÏÖÔÚֻȡ0*/
BYTE bPadding;
T_zMmiaSs_LocationType tLocationType;
T_zMmiaSs_ClientExtId tClientExtId;
T_zMmiaSs_ClientName tClientName;
}T_zMmiaSs_MtLocalReqNotify_Ind;
/*========================================================================
Ô­Óï:MMIA_SS_MTLR_ANS_REQ_EV
˵Ã÷:ATIÊÕµ½MT LRºó½øÐеÄÓ¦´ð
=========================================================================*/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bAllow; /*Z_VALD-½ÓÊÜMTLR/Z_INVALD¾Ü¾øMTLR*/
BYTE bHanldID; /*MTLRµÄ±êʶ*/
}T_zMmiaSs_MtLr_Ans_Req;
/*====================================================================
Ô­Óï:MMIA_SS_MOLR_RES_IND_EV
˵Ã÷:¶¨Î»½á¹û
=====================================================================*/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bResult; /*¶¨Î»½á¹ûZ_SUCC/Z_FAIL*/
BYTE bPadding;
DWORD dwCause; /*ʧ°ÜÔ­Òò*/
T_zMmiaSs_LrRes_ShapeData* ptShapeData;
T_zMmiaSs_LrRes_ShapeData* ptAddShapeData;
T_zMmiaSs_LrRes_VelocityData* ptVelData;
}T_zMmiaSs_MoLr_Res_Ind;
#endif
/*==============================================================================
Ô­ÓMMIA_CBS_ACTIVATE_REQ_EV(MMIA->CBS)
˵Ã÷: ¼¤»îÇëÇó
==============================================================================*/
typedef struct{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bMode;
BYTE bPadding;
T_zDev_AtMem_CBS_MidSet tMids;
T_zDev_AtMem_CBS_DcsSet tDcs;
}T_zMmiaCbs_Activate_Req;
/*==============================================================================
Ô­ÓMMIA_CBS_ACTIVATE_CNF_EV(CBS->MMIA)
˵Ã÷: CBS¶Ô¼¤»îÇëÇóµÄ»Ø¸´
==============================================================================*/
typedef struct{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bMode; /*0½ÓÊÕÁбíÖеÄÏûÏ¢,1²»½ÓÊÕÁбíÖÐÏûÏ¢*/
BYTE bResult; /*±íʾ¼¤»îÊÇ·ñ³É¹¦.Z_FAIL:ʧ°Ü,Z_SUCC:³É¹¦*/
T_zDev_AtMem_CBS_MidSet tMids; /*ÁбíÖеÄÏûÏ¢ID*/
T_zDev_AtMem_CBS_DcsSet tDcs; /*ÁбíÖеıàÂëģʽ*/
}T_zMmiaCbs_Activate_Cnf;
/*==============================================================================
Ô­ÓMMIA_CBS_DATA_IND_EV(CBS->MMIA)
˵Ã÷: CBSÖ÷¶¯Éϱ¨CBSÏûÏ¢µÄÊý¾Ý
==============================================================================*/
/*Ò»Ò³Êý¾Ý*/
typedef struct {
BYTE bCurPage; /*µ±Ç°Ò³±àºÅ*/
BYTE bMsgLen; /*µ±Ç°Ò³µÄÓÐЧÊý¾ÝµÄ³¤¶È*/
BYTE abPadding[2];
BYTE abBuf[Z_MMIACBS_MAX_TEXT_PAGE_LEN];
}T_zMmiaCbs_PageData;
typedef struct{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bWarningMsgInd; /*¾¯¸æÏûϢָʾÀàÐÍ*/
BYTE bPriEtwsSecFlg; /*ETWSÏûÏ¢ÖÐÊÇ·ñ´æÔÚ°²È«ÐÅÏ¢*/
WORD wMid;
WORD wSn;
BYTE bCbmInd; /*ÏûϢ·ÓÉָʾ,¼ûºê*/
BYTE bTotalPage; /*µ±Ç°CBSÏûÏ¢×ÜÒ³Êý*/
BYTE bCurPageNum; /*µ±Ç°´«ÊäÒ³Êý.2Gÿ´Î½ö1Ò³£¬È¡Öµ1£»3GΪËùÓÐÒ³£¬È¡ÖµÓëbTotalPageÏàµÈ*/
BYTE bDcs;
T_zMmiaCbs_PageData atBuf[Z_MMIACBS_MAX_PAGE_NUM];
}T_zMmiaCbs_Data_Ind;
/*==============================================================================
Ô­ÓZ_MmiaPdi_SellStat_StartSendPacketInd_Ev (MMIA->PDI)
˵Ã÷£ºÏúÁ¿Í³¼Æ½á¹¹
==============================================================================*/
typedef struct
{
BYTE bCid; /*µ±Ç°¼¤»î¿ÉÓõÄCID*/
BYTE abPadding[3];
BYTE abPdpAddr[Z_MMIAPDI_PDPADDR_MAX_LEN]; /*Êý¾Ý¿¨DNSµØÖ·*/
BYTE abDnsaddr[Z_MMIAPDI_DNSADDR_MAX_LEN]; /*DNS·þÎñÆ÷µØÖ·*/
BYTE abUdpContent[Z_MMIAPDI_UDPCONTENT_MAX_LEN]; /*UDPÊý¾Ý°üÄÚÈÝ,×Ö·û´®¸ñʽ,ÒÔ\0±íʾ½áÊø*/
}T_zMmiaPdi_SellStat_StartSendPacket_Ind;
/*==============================================================================
Ô­ÓZ_MmiaPdi_SellStat_AbortInd_Ev (MMIA->PDI)
˵Ã÷£ºÖжϷ¢°ü
==============================================================================*/
typedef struct
{
BYTE bCleanFg; /* ±êʶÊÇ·ñÐèÒªÇå¿ÕPDI±¾µØÏúÁ¿Í³¼ÆÏà¹ØÈ«¾Ö±äÁ¿
1------Çå¿Õ£¬mmiaÔÚÊÕµ½ÏúÁ¿Í³¼Æ¿ªºÍ¹ØÊ±´¥·¢
0------²»Çå¿Õ£¬mmiaÔÚ·¢ÏÖµ±Ç°ÎÞcid¿ÉÓÃʱ´¥·¢*/
BYTE abPadding[3];
}T_zMmiaPdi_SellStat_Abort_Ind;
#ifdef BTRUNK_SUPPORT
typedef struct{
BYTE bBCDNumberLen;
BYTE abBCDNumber[Z_ATITSM_MAX_BCD_NUM];
}T_zAtiTsm_BCDNumber;
typedef struct{
BYTE bNameLen;
BYTE abName[Z_ATITSM_USER_NAME_LEN];
}T_zAtiTsm_UserName;
/* Transport Layer Address Contents */
typedef struct{
BYTE bSpare0:5;
BYTE bAddrTypeValue :3;
BYTE bAddrInfoLen;
BYTE abAddrInfo[Z_ATITSM_MAX_TRUNK_IP_ADDR_NUM];
}T_zAtiTsm_TrunkIPAddr;
typedef struct{
T_zAtiTsm_TrunkIPAddr tTrunkIpAddr;
BYTE abPort[2];
}T_zAtiTsm_TransLayerAddr;
typedef struct{
BYTE bSpare0:3;
BYTE bAnswerInd :1;
BYTE bForbFloorInd :1;
BYTE bCiperInd :1;
BYTE bPrioCall :1;
BYTE bEmerCall :1;
BYTE bSpare6:8;
}T_zAtiTsm_CallAttribute;
typedef struct{
BYTE bSpare0:6;
BYTE bNVOC :1;
BYTE bAMR :1;
}T_zAtiTsm_SupAudioCodecList;
typedef struct{
BYTE bSpare0:6;
BYTE bBiteRate2 :1;
BYTE bBitRate1 :1;
BYTE bSpare3:1;
BYTE bAmrOverPdcpInd :1;
BYTE bPayloadFor2 :1;
BYTE bPayloadFor1 :1;
BYTE bPtime4 :1;
BYTE bPtime3 :1;
BYTE bPtime2 :1;
BYTE bPtime1 :1;
}T_zAtiTsm_AmrParam;
typedef struct{
BYTE bSpare0:4;
BYTE bh263 :1;
BYTE bmpeg4 :1;
BYTE bh264 :1;
BYTE bvp8 :1;
}T_zAtiTsm_SupVideoCodecList;
typedef struct{
BYTE bSpare0:4;
BYTE bFR4 :1;
BYTE bFR3 :1;
BYTE bFR2 :1;
BYTE bFR1 :1;
BYTE bQVGA :1;
BYTE bVGA :1;
BYTE bCIF :1;
BYTE bQCIF :1;
BYTE bSVGA :1;
BYTE bXGA :1;
BYTE bHD720p :1;
BYTE bHD1080p :1;
BYTE bSpare13:6;
BYTE bCIF4 :1;
BYTE bD1 :1;
}T_zAtiTsm_H264Param;
typedef struct{
BYTE bSpare0: 6;
BYTE bSupAudioCodecListFg: 1;
BYTE bAmrParamFg: 1;
T_zAtiTsm_TrunkIPAddr tTrunkIPAddr;
BYTE abPort[2];
T_zAtiTsm_SupAudioCodecList tSupAudioCodecList;
T_zAtiTsm_AmrParam tAmrParam;
}T_zAtiTsm_AudioDiscrip;
typedef struct{
BYTE bSpare0: 6;
BYTE bSupVideoCodecListFg: 1;
BYTE bH264ParamFg: 1;
T_zAtiTsm_TrunkIPAddr tTrunkIPAddr;
BYTE abPort[2];
T_zAtiTsm_SupVideoCodecList tSupVideoCodecList;
T_zAtiTsm_H264Param tH264Param;
}T_zAtiTsm_VideoDiscrip;
typedef struct{
WORD wNum;
BYTE abE2Ekey[1024];
}T_zAtiTsm_E2EKey;
typedef struct{
BYTE bGroupNameLen;
BYTE bGroupName[Z_ATITSM_MAX_GROUP_NAME_NUM];
}T_zAtiTsm_GroupName;
typedef struct{
BYTE bSpare0: 7;
BYTE bAmrParamFg: 1;
T_zAtiTsm_SupAudioCodecList tSupAudioCodecList;
T_zAtiTsm_AmrParam tAmrParam;
}T_zAtiTsm_AudioCodecCapa;
typedef struct{
BYTE bSpare0: 7;
BYTE bH264ParamFg: 1;
T_zAtiTsm_SupVideoCodecList tSupVideoCodecList;
T_zAtiTsm_H264Param tH264Param;
}T_zAtiTsm_VideoCodecCapa;
typedef struct{
BYTE bSpare0:3;
BYTE bNasVideoSrv :1;
BYTE bSingleCall :1;
BYTE bAmrOverPdcp :1;
BYTE bPdcpHeadComp :1;
BYTE bCipher :1;
BYTE bSpare6:8;
}T_zAtiTsm_UeTrunkCapa;
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bMode; /* bMode£º1±íʾ¼¤»î£¬0±íʾȥ¼¤»î*/
BYTE bPadding;
} T_zAtiTsm_Reg_Req;
#ifdef _R2_SUPPORT
typedef struct{
BYTE bType;
BYTE bAddrLen;
BYTE abAddr[Z_ATITSM_MAX_IPADDR_NUM];
}T_zAtiTsm_IpAddr;
typedef struct{
BYTE bServType;
WORD wPort;
T_zAtiTsm_IpAddr tIpAddr;
}T_zAtiTsm_ServInfo;
/*Server List*/
typedef struct{
BYTE bNum;
T_zAtiTsm_ServInfo atServInfo[Z_ATITSM_MAX_SERVLIST_NUM];
}T_zAtiTsm_ServList;
#endif
/*Dialing Number Ext*/
typedef struct{
BYTE bSpare:1;
BYTE bTypeNum:3;
BYTE bNumPlanId:4;
}T_zAtiTsm_DialNumExt;
/*==============================================================================
Ô­Óï:ATI_TSM_REGSTATE_IND _EV(TSM->ATI)
˵Ã÷: Éϱ¨×¢²á״̬
Ô­Óï:ATI_TSM_REG_CNF_EV(TSM->ATI)
˵Ã÷: »Ø¸´×¢²áÈ¥×¢²á½á¹û
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bRegState; /*1:×¢²á0:δע²á*/
BITS bCauseFg:1;
BITS bSubscriberBCDNumberFg:1;
BITS bUserNameFg:1;
BITS bEmergencyNumFg:1;
BITS bEmergencyGroupNumFg:1;
BITS bPadding:3;
BYTE bCause;
BYTE abPadding[3];
T_zAtiTsm_BCDNumber tSubscriberBCDNumber;
T_zAtiTsm_UserName tUserName;
T_zAtiTsm_BCDNumber tEmergencyNum;
T_zAtiTsm_BCDNumber tEmergencyGroupNum;
} T_zAtiTsm_RegState_Ind,T_zAtiTsm_RegState_Cnf;
#ifdef _R2_SUPPORT
/*==============================================================================
Ô­Óï: ATI_TSM_REGEXTINFO_IND_EV(TSM->ATI)
˵Ã÷: ×¢²áÏûϢЯ´øµÄ¶Ë¿Ú¼°µØÖ·ÐÅÏ¢Éϱ¨
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
T_zAtiTsm_ServList tServList;
}T_zAtiTsm_RegExtInfo_Ind;
#endif
/*==============================================================================
Ô­Óï: ATI_TSM_CALL_REQ_EV(ATI->TSM)
˵Ã÷: ºô½ÐÇëÇó
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCallType;
BITS bAudioDesCriptionFlag:1;
BITS bVideoDesCriptionFlag:1;
BITS bE2EkeyFg:1;
BITS bDialNumExtFg:1;
BITS bPadding:4;
T_zAtiTsm_CallAttribute tCallAttribute;
T_zAtiTsm_BCDNumber tCalledNUmber;
T_zAtiTsm_AudioDiscrip tAudioDiscrip;
T_zAtiTsm_VideoDiscrip tVideoDiscrip;
T_zAtiTsm_E2EKey tE2Ekey;
T_zAtiTsm_DialNumExt tDialNumExt;
} T_zAtiTsm_Call_Req;
/*==============================================================================
Ô­Óï:ATI_TSM_CALL_CNF_EV(TSM->ATI)
˵Ã÷: ºô½ÐÏìÓ¦
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BITS bCauseFg:1;
BITS bCallTypeFg:1;
BITS bFloorStateFg:1;
BITS bE2EkeyFg:1;
BITS bAudioDesCriptionFlag:1;
BITS bVideoDesCriptionFlag:1;
BITS bCallAttributeFg:1;
BITS bPadding:1;
BYTE bCallResult;/*1: ºô½Ð³É¹¦ 0: ºô½Ðʧ°Ü*/
BYTE bCause;
BYTE bCallType;
BYTE bFloorState;
BYTE bPadding1;
DWORD dWCallId;
T_zAtiTsm_CallAttribute tCallAttribute;
T_zAtiTsm_AudioDiscrip tAudioDiscrip;
T_zAtiTsm_VideoDiscrip tVideoDiscrip;
T_zAtiTsm_E2EKey tE2Ekey;
}T_zAtiTsm_Call_Cnf;
/*==============================================================================
Ô­Óï:ATI_TSM_CALLCONFIRM_REQ_EV(ATI->TSM)
˵Ã÷: ±»½ÐÈ·ÈÏÏûÏ¢
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bAudioDesCriptionFlag;
BYTE bVideoDesCriptionFlag;
DWORD dwCallId;
T_zAtiTsm_AudioDiscrip tAudioDiscrip;
T_zAtiTsm_VideoDiscrip tVideoDiscrip;
} T_zAtiTsm_CallConfirm_Req;
/*==============================================================================
Ô­Óï:ATI_TSM_CALLCONNECT_REQ_EV(ATI->TSM)
˵Ã÷: ±»½ÐÈ·ÈÏÁ¬½ÓÇëÇó
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bAudioDesCriptionFlag;
BYTE bVideoDesCriptionFlag;
DWORD dwCallId;
T_zAtiTsm_AudioDiscrip tAudioDiscrip;
T_zAtiTsm_VideoDiscrip tVideoDiscrip;
} T_zAtiTsm_CallConnect_Req;
/*==============================================================================
Ô­Óï:ATI_TSM_CALLRLS_REQ_EV(ATI->TSM)
˵Ã÷: ºô½ÐÊÍ·ÅÇëÇó
µ±²»Ð¯´ø²ÎÊýʱ£¬±íʾȡÏûÕýÔÚ·¢ÆðµÄÖ÷½Ð£¬
+PTTCALLRLSRSP: 0,0±íʾȡÏûµ±Ç°Ö÷½Ð³É¹¦¡£
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BITS bCallIdFg:1;
BITS bCauseFg:1;
BITS bPadding:6;
BYTE bCause;
DWORD dwCallId;
} T_zAtiTsm_CallRls_Req;
/*==============================================================================
Ô­Óï:ATI_TSM_CALLRLS_CNF_EV(TSM->ATI)
˵Ã÷: Ö÷¶¯ÊÍ·ÅÏìÓ¦
Ô­Óï: ATI_TSM_CALLRLS_IND_EV(TSM->ATI)
˵Ã÷: Íø²à»òÕߵײãÊͷźô½Ð
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCause;
BYTE bCallIdFg;
DWORD dwCallId;
} T_zAtiTsm_CallRls_Cnf,T_zAtiTsm_CallRls_Ind;
/*==============================================================================
Ô­Óï:ATI_TSM_CALL_IND_EV(TSM->ATI)
˵Ã÷: ÊÕµ½±»½ÐÇëÇó
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCallType;
BYTE bPriority;
DWORD dwCallId;
BYTE bE2EkeyFg;
BYTE bAudioDesCriptionFlag;
BYTE bVideoDesCriptionFlag;
BYTE bDialNumExtFg;
T_zAtiTsm_BCDNumber tCalledNUmber;
T_zAtiTsm_CallAttribute tCallAttribute;
T_zAtiTsm_AudioDiscrip tAudioDiscrip;
T_zAtiTsm_VideoDiscrip tVideoDiscrip;
T_zAtiTsm_E2EKey tE2Ekey;
T_zAtiTsm_DialNumExt tDialNumExt;
} T_zAtiTsm_Call_Ind;
/*=============================================================================
Ô­Óï:ATI_TSM_CALLPROCEED_IND_EV(TSM->ATI)
˵Ã÷: Ö÷½ÐÊÕµ½ÍøÂç²àµÄProceed Éϱ¨
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCallType;
BYTE bPriority;
DWORD dwCallId;
BYTE bE2EkeyFg;
BYTE bAudioDesCriptionFlag;
BYTE bVideoDesCriptionFlag;
BYTE bPadding;
T_zAtiTsm_BCDNumber tCalledNUmber;
T_zAtiTsm_CallAttribute tCallAttribute;
T_zAtiTsm_AudioDiscrip tAudioDiscrip;
T_zAtiTsm_VideoDiscrip tVideoDiscrip;
T_zAtiTsm_E2EKey tE2Ekey;
} T_zAtiTsm_CallProceed_Ind;
/*==============================================================================
Ô­Óï:ATI_TSM_CALLALERTING_IND_EV(TSM->ATI)
˵Ã÷: Ö÷½ÐÊÕµ½¶Ô·½µÄÕñÁå
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bAudioDesCriptionFlag;
BYTE bPadding;
DWORD dwCallId;
T_zAtiTsm_AudioDiscrip tAudioDiscrip;
} T_zAtiTsm_CallAlerting_Ind;
/*==============================================================================
Ô­Óï:ATI_TSM_CALLCONNECTACK_IND_EV(TSM->ATI)
˵Ã÷: ±»½ÐÊÕµ½Á¬½ÓÓ¦´ðÈ·ÈÏ
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
DWORD dwCallId;
} T_zAtiTsm_CallConnectAck_Ind;
/*==============================================================================
Ô­Óï:ATI_TSM_FLOOR_REQ_EV(ATI->TSM)
˵Ã÷: ÉêÇ뻰Ȩ
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bAudioDesCriptionFlag;
BYTE bVideoDesCriptionFlag;
DWORD dwCallId;
T_zAtiTsm_AudioDiscrip tAudioDiscrip;
T_zAtiTsm_VideoDiscrip tVideoDiscrip;
} T_zAtiTsm_Floor_Req;
/*==============================================================================
Ô­Óï:ATI_TSM_FLOORGRT_IND_EV(TSM->ATI)
˵Ã÷: »ñÈ¡µ½»°È¨µÄÖ÷¶¯Éϱ¨
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bAudioDesCriptionFlag;
BYTE bVideoDesCriptionFlag;
DWORD dwCallId;
T_zAtiTsm_AudioDiscrip tAudioDiscrip;
T_zAtiTsm_VideoDiscrip tVideoDiscrip;
} T_zAtiTsm_FloorGrt_Ind;
/*==============================================================================
Ô­Óï:ATI_TSM_FLOORRLS_REQ_EV(ATI->TSM)
˵Ã÷: »°È¨µÄÖ÷¶¯ÊÍ·ÅÇëÇó
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCause;
BYTE bPadding;
DWORD dwCallId;
} T_zAtiTsm_FloorRls_Req;
/*==============================================================================
Ô­Óï:ATI_TSM_FLOORRLS_CNF_EV(TSM->ATI)
˵Ã÷: »°È¨µÄÖ÷¶¯ÊÍ·ÅÇëÇó
Ô­Óï:ATI_TSM_FLOORRLS_IND_EV(TSM->ATI)
˵Ã÷: »°È¨µÄ±»ÊÍ·ÅIND
Ô­Óï:ATI_TSM_FLOORREJ_IND_EV(TSM->ATI)
˵Ã÷: »°È¨µÄ¾Ü¾øIND
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCause;
BYTE bPadding;
DWORD dwCallId;
} T_zAtiTsm_FloorRls_Cnf,T_zAtiTsm_FloorRls_Ind,T_zAtiTsm_FloorRej_Ind;
/*==============================================================================
Ô­Óï:ATI_TSM_FLOORWAIT_IND_EV(TSM->ATI)
˵Ã÷: ÉêÇ뻰Ȩ´¦ÓÚÅŶÓ״̬
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
DWORD dwCallId;
} T_zAtiTsm_FloorWait_Ind;
/*==============================================================================
Ô­Óï:ATI_TSM_FLOORINFORM_IND_EV(TSM->ATI)
˵Ã÷: »°È¨ÐÅÏ¢µÄÖ÷¶¯Éϱ¨
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bFloorInfoType;/*0:Õ¼ÓÐ1:¿ÕÏÐ*/
BITS bSeakerShortNumFg:1;
BITS bGroupShortNumFg:1;
BITS bGroupNumFg:1;
BITS bSpeakerNumFg:1;
BITS bSpeakerNameFg:1;
BITS bTransLayerAddrFg :1;
BITS bDialNumExtFg:1;
BITS bPadding:1;
DWORD dwCallId;
T_zAtiTsm_BCDNumber tSeakerShortNum;
T_zAtiTsm_BCDNumber tGroupShortNum;
T_zAtiTsm_BCDNumber tGroupNum;
T_zAtiTsm_BCDNumber tSpeakerNum;
T_zAtiTsm_UserName tSpeakerName;
T_zAtiTsm_TransLayerAddr tTransLayerAddr;
T_zAtiTsm_DialNumExt tDialNumExt;
} T_zAtiTsm_FloorInfo_Ind;
/*==============================================================================
Ô­Óï:ATI_TSM_STUNINFO_QUERY_REQ_EV(ATI->TSM)
˵Ã÷: Ò£ÔÎ״̬²éѯ
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
} T_zAtiTsm_StunInfo_Query_Req;
/*==============================================================================
Ô­Óï:ATI_TSM_STUNINFO_QUERY_CNF_EV(TSM->ATI)
˵Ã÷: Ò£ÔÎ״̬²éѯCNF
Ô­Óï:ATI_TSM_STUNINFO_IND_EV(TSM->ATI)
˵Ã÷: Ò£ÔÎ״̬Éϱ¨
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bStun;/*0:Ò£±Ð1:Ò£ÔÎ2:¸´»î*/
BYTE bPadding;
} T_zAtiTsm_StunInfo_Query_Cnf,T_zAtiTsm_StunInfo_Ind;
/*==============================================================================
Ô­Óï:ATI_TSM_GROUPINFO_QUERY_REQ_EV(ATI->TSM)
˵Ã÷: ×éÐÅÏ¢²éѯ
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
} T_zAtiTsm_GroupInfo_Query_Req;
/*==============================================================================
˵Ã÷: ¶¨Òå×éÐÅÏ¢
==============================================================================*/
typedef struct
{
BYTE bGroupIdFg;
BYTE bGroupNumberFg;
BYTE bGroupShortBCDNumberFg;
BYTE bGroupNameFg;
BYTE bGroupIdBCDNumb[6];
BYTE abPadding[2];
T_zAtiTsm_BCDNumber tGroupNumber;
T_zAtiTsm_BCDNumber tGroupShortBCDNumber;
T_zAtiTsm_GroupName tGroupName;
} T_zAtiTsm_GroupInfo;
/*==============================================================================
Ô­Óï:ATI_TSM_GROUPINFO_QUERY_REQ_EV(ATI->TSM)
˵Ã÷: ×éÐÅÏ¢²éѯ
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bGroupInfoNum;
BYTE bPadding;
T_zAtiTsm_GroupInfo atGroupInfo[Z_ATITSM_MAX_GROUPINFO_NUM];
} T_zAtiTsm_GroupInfo_Query_Cnf;
/*==============================================================================
Ô­Óï:ATI_TSM_GROUPINFO_UPDATE_IND_EV(TSM->ATI)
˵Ã÷: ×éÐÅÏ¢¸üÐÂ֪ͨ
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bMessageSQNumFg :1;
BYTE abPadding :7;
BYTE bCurNumber :4;
BYTE bSumNumber :4;
} T_zAtiTsm_GroupInfo_Ind;
/*==============================================================================
Ô­Óï:ATI_TSM_GROUPCALL_IND_EV(TSM->ATI)
˵Ã÷: ×éºô±»½ÐµÄÖ÷¶¯Éϱ¨
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCallType;
BITS bCalledNUmberFg:1;
BITS bAudioDesCriptionFlag:1;
BITS bVideoDesCriptionFlag:1;
BITS bE2EkeyFg:1;
BITS bGroupShortBCDNumberFg:1;
BITS bPadding:3;
DWORD dwCallId;
T_zAtiTsm_CallAttribute tCallAttribute;
T_zAtiTsm_BCDNumber tCalledNUmber;
T_zAtiTsm_AudioDiscrip tAudioDiscrip;
T_zAtiTsm_VideoDiscrip tVideoDiscrip;
T_zAtiTsm_E2EKey tE2Ekey;
T_zAtiTsm_BCDNumber tGroupNumber;
T_zAtiTsm_BCDNumber tGroupShortBCDNumber;
} T_zAtiTsm_GroupCall_Ind;
/*==============================================================================
Ô­Óï:ATI_TSM_SCANGROUPINFO_REQ_EV(ATI->TSM)
˵Ã÷: ɨÃè×éµÄÉèÖÃÇëÇó
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bScanType;/*0£ºÍêȫɨÃ蹦ÄÜ 1£º²¿·ÖɨÃ蹦ÄÜ 2£º¹Ø±ÕɨÃ蹦ÄÜ:*/
BYTE bScanGroupLen;
T_zAtiTsm_BCDNumber atGroupNumber[Z_ATITSM_MAX_SCANGROUP_NUM];
} T_zAtiTsm_ScanInfo_Req;
/*==============================================================================
Ô­Óï:ATI_TSM_SCANGROUPINFO_CNF_EV(TSM->ATI)
˵Ã÷: ɨÃè×éÉèÖýá¹û
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCause;
BYTE bPadding;
} T_zAtiTsm_ScanGroupInfo_Cnf;
/*==============================================================================
Ô­Óï:ATI_TSM_SCANGROUPINFO_IND_EV(TSM->ATI)
˵Ã÷: ÏàͬÓÅÏȼ¶µÄɨÃè×éÐÅÏ¢Éϱ¨
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bPadding;
BYTE bGroupLen;
T_zAtiTsm_BCDNumber atGroupNumber[Z_ATITSM_MAX_SCANGROUP_IND_NUM];
BYTE abPadding[3];
} T_zAtiTsm_ScanGroupInfo_Ind;
/*==============================================================================
Ô­Óï:ATI_TSM_SCANSWITCH_REQ_EV(ATI->TSM)
˵Ã÷: ͨ»°Çл»ÇëÇó
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bSwitchType;/*0£ºÇл»È¥¼¤»î1£ºÇл»¼¤»î*/
BYTE bGroupNumberFg;
T_zAtiTsm_BCDNumber tGroupNumber;
} T_zAtiTsm_ScanSwich_Req;
/*==============================================================================
Ô­Óï:ATI_TSM_SHAKEHAND_REQ_EV(ATI->TSM)
˵Ã÷: ÎÕÊÖÇëÇó
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
} T_zAtiTsm_ShakeHand_Req;
/*==============================================================================
Ô­Óï:ATI_TSM_SHAKEHAND_CNF_EV(TSM->ATI)
˵Ã÷: ÎÕÊÖÇëÇóÈ·ÈÏ
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bStunType;/*0:Ò£±Ð1:Ò£ÔÎ2:¸´»î*/
BYTE bFallBackState;/*0:Õý³£Ä£Ê½1:¹ÊÕÏÈõ»¯Ä£Ê½*/
BYTE bRegState;/*0:δע²á1:×¢²á*/
BYTE bCallState;/*0:ºô½Ð¿ÕÏÐ1:ºô½Ðͨ»°*/
BYTE bFloorState;/*0:˵»°È¨1:Ìý»°È«*/
BYTE bPadding;
} T_zAtiTsm_ShakeHand_Cnf;
/*==============================================================================
Ô­Óï:ATI_TSM_SHORT_DATA_REQ _EV(ATI->TSM)
˵Ã÷: ·¢ËÍÊý¾ÝÇëÇó
Ô­Óï:ATI_TSM_SHORT_DATA_IND _EV _EV(TSM->ATI)
˵Ã÷: ÊÕµ½MT¶ÌÊý¾Ý
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bDataType;/*01 ¶ÌÊý¾ÝºÍ״̬Êý¾Ý02 ¶Ëµ½¶Ë¼ÓÃÜÃÜÔ¿*/
BYTE bPadding;
WORD wShortDataLen;
BYTE abPadding[2];
BYTE abShortData[Z_ATITSM_MAX_SHORTDATA_LEN];
} T_zAtiTsm_Short_Data_Req,T_zAtiTsm_Short_Data_Ind;
/*==============================================================================
Ô­Óï:ATI_TSM_LOCATINFO_REQ_EV(ATI->TSM)
˵Ã÷: ·¢ËͶ¨Î»ÇëÇó
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bGpsTag;
BYTE bPadding;
BYTE bLongitudeDir;
BYTE bLatitudeDir;
BYTE abPadding[2];
DWORD dwLongitude;
DWORD dwLatitude;
DWORD dwCertainty;
DWORD dwBearing;
DWORD dwSpeedIntPart;
DWORD dwSpeedFractPart;
} T_zAtiTsm_LocatInfo_Req;
/*==============================================================================
Ô­Óï:ATI_TSM_LOCATINFO_TYPE_IND_EV(TSM->ATI)
˵Ã÷: Ö÷¶¯Éϱ¨¶¨Î»ÀàÐÍ
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bOperateType;/*0£ºÆÕͨģʽ¶¨Î»1£º½ô¼±Ä£Ê½¶¨Î»*/
BYTE bPadding;
} T_zAtiTsm_LocatInfo_Type_Ind;
/*==============================================================================
Ô­Óï:ATI_TSM_SETABILITY_REQ_EV(ATI->TSM)
˵Ã÷: ÉèÖü¯ÈºÄÜÁ¦
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
T_zAtiTsm_AudioCodecCapa tAudioCodecCapability;
T_zAtiTsm_VideoCodecCapa tVideoCodecCapability;
T_zAtiTsm_UeTrunkCapa tUeTrunkCapa;
} T_zAtiTsm_SetAbility_Req;
/*==============================================================================
Ô­Óï:ATI_TSM_FALLBACK_IND_EV(TSM->ATI)
˵Ã÷: ¹ÊÕÏÈõ»¯×´Ì¬Éϱ¨
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bState;/*ȡֵ0:Õý³£Ä£Ê½1:¹ÊÕÏÈõ»¯Ä£Ê½*/
BYTE bPadding;
} T_zAtiTsm_FallBack_Ind;
/*==============================================================================
Ô­Óï:ATI_TSM_SPEAKINGTIMEROUT_IND_EV(TSM->ATI)
˵Ã÷: »°È«¼´½«³¬Ê±Í¨Öª
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCauseFg;
BYTE bTSpeakOutValueFg;
BYTE bPadding;
BYTE bCause;
WORD wTSpeakOutValue;
} T_zAtiTsm_SpeakingTimerOut_Ind;
/*==============================================================================
Ô­Óï:ATI_TSM_VIDEOSOURCE_IND_EV(TSM->ATI)
˵Ã÷: ÊÓÆµÔ´Í¨Öª
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bPadding;
BYTE bSpare:4;
BYTE bVideoSourcenameFg :1;
BYTE bVideoSourceIDFg :1;
BYTE bTransLayerAddrFg :1;
BITS bDialNumExtFg :1;
DWORD dwCallId;
T_zAtiTsm_BCDNumber tVideoSourceID;
T_zAtiTsm_UserName tVideoSourcename;
T_zAtiTsm_TransLayerAddr tTransLayerAddr;
T_zAtiTsm_DialNumExt tDialNumExt;
} T_zAtiTsm_VideoSource_Ind;
/*==============================================================================
Ô­Óï:ATI_TSM_SRSTATUS_IND_EV(TSM->ATI)
˵Ã÷: ÒµÎñÊÇ·ñ״̬Éϱ¨
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bSrStatus;/*ȡֵ0:Õý³£1:ÊÜÏÞ*/
BYTE bPadding;
} T_zAtiTsm_SRStatus_Ind;
/*==============================================================================
Ô­Óï:ATI_TSM_CALLHOLD_IND_EV(TSM->ATI)
˵Ã÷: ÊÕµ½TSMµÄcall Hold ÏûÏ¢
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCallHoldType;
DWORD dwCallId;
BYTE bCalledNUmberFg;
BYTE bDialNumExtFg;
T_zAtiTsm_BCDNumber tCalledNUmber;
T_zAtiTsm_DialNumExt tDialNumExt;
} T_zAtiTsm_CallHold_Ind;
/*============================================================
Ô­Óï:ATI_TSM_BUSY_ALERTING_IND_EV(TSM->ATI)
˵Ã÷:֪ͨ¸ßÓÅÏȼ¶ºô½Ð
=============================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex; /*Ä¿µÄË÷Òý¹Ì¶¨Ìî³É255¼´¿É*/
BYTE bCallmode; /*0°ëË«¹¤µ¥ºô 1×éºô£¬2ȫ˫¹¤µ¥*/
BYTE abPadding;
T_zAtiTsm_BCDNumber tCalledNUmber; /*µ¥ºôÊÇÖ÷½ÐNUMBER, ×éºôÊÇÖ¸×é¶ÔÓ¦µÄGID*/
}T_zAtiTsm_Busy_Alerting_Ind;
/*==============================================================================
Ô­Óï:ATI_TSM_PTTBEAR_IND_EV(TSM->ATI)
˵Ã÷: ·¢ËͳÐÔØÇëÇó
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bPttBearAtCidNum;
BYTE abPttBearAtCid[Z_ATITSM_PTTBEAR_NUM];
} T_zAtiTsm_PttBear_Ind;
/*============================================================
Ô­Óï:ATI_TSM_CALLFORWARD_REQ_EV(ATI-->TSM)
˵Ã÷:֪ͨTSM½øÐкô½Ðǰת¼¤»î¡¢È¥¼¤»î¡¢²éѯ
=============================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bMode;
BITS bSpare:6;
BITS bCallForwardFlag:1;
BITS bDialNumExtFg:1;
T_zAtiTsm_BCDNumber tDstCalledNumber;
T_zAtiTsm_DialNumExt tDialNumExt;
} T_zAtiTsm_CallForward_Req;
/*============================================================
Ô­Óï:ATI_TSM_CALLFORWARD_IND_EV(TSM->ATI)
˵Ã÷:»Ø¸´ATI¼¤»î/È¥¼¤»îÈ·ÈÏ¡¢²éѯ½á¹û
=============================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bMode;
BYTE bResult;
BITS bSpare:6;
BITS bCallForwardFlag:1;
BITS bDialNumExtFg:1;
T_zAtiTsm_BCDNumber tDstCalledNumber;
T_zAtiTsm_DialNumExt tDialNumExt;
} T_zAtiTsm_CallForward_Ind;
/*==============================================================================
Ô­Óï:ATI_TSM_CALL_MODIFY_REQUEST(TSM->ATI)
˵Ã÷: ýÌåÐÞ¸ÄÇëÇóÏûÏ¢µÄÖ÷¶¯Éϱ¨
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bAudioDesCriptionFlag;
BYTE bVideoDesCriptionFlag;
DWORD dwCallId;
T_zAtiTsm_AudioDiscrip tAudioDiscrip;
T_zAtiTsm_VideoDiscrip tVideoDiscrip;
} T_zAtiTsm_CallModify_Req;
/*==============================================================================
Ô­Óï:ATI_TSM_CALL_MODIFY_ACK(TSM->ATI)
˵Ã÷: ýÌåÐÞ¸ÄÇëÇóÏûÏ¢µÄÖ÷¶¯Éϱ¨
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCauseFlag;
BYTE bResult;
BYTE bCause;
BYTE abPadding[3];
DWORD dwCallId;
} T_zAtiTsm_CallModify_Ack;
/*==============================================================================
Ô­Óï:ATI_TSM_CALL_MODIFY_RSP(ATI->TSM)
˵Ã÷: AP³É¹¦ÏìӦýÌåÐÞ¸ÄÇëÇóÏûÏ¢
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bAudioDesCriptionFlag;
BYTE bVideoDesCriptionFlag;
DWORD dwCallId;
T_zAtiTsm_AudioDiscrip tAudioDiscrip;
T_zAtiTsm_VideoDiscrip tVideoDiscrip;
} T_zAtiTsm_CallModify_Rsp;
/*==============================================================================
Ô­Óï:ATI_TSM_CALL_MODIFY_REJ(ATI->TSM)
˵Ã÷: APʧ°ÜÏìӦýÌåÐÞ¸ÄÇëÇóÏûÏ¢
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bCause;
BYTE bPadding;
DWORD dwCallId;
} T_zAtiTsm_CallModify_Rej;
#endif
/*==============================================================================
Ô­ÓZ_MmiaAs_RptRxlev_Req_Ev (MMIA->MCR)
RRMI_START_RXSTAT_REQ (MMIA->GRR)
˵Ã÷: 1)MMIAÉèÖÃMCRÐźÅÇ¿¶ÈÖ÷¶¯Éϱ¨²ÎÊý (Z_MmiaAs_RptRxlev_Req_Ev)
2)MMIAÉèÖÃGRRÐźÅÇ¿¶ÈÖ÷¶¯Éϱ¨²ÎÊý (RRMI_START_RXSTAT_REQ)
×¢£º¸Ã½á¹¹±ØÐëºÍ2GʹÓõÄyPDef_RRMI_START_RXSTAT_REQ½á¹¹Ïàͬ
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý*/
BYTE bRxlevThred; /*
* ÐźÅÇ¿¶È±ä»¯·§Öµ£¬Éϱ¨Ìõ¼þ,µ±ÐźŸıä+/-(bRxlevThred)ʱÉϱ¨¡£
TDDÐźű仯·¶Î§ÊÇ0-91£¬GSMÐźű仯·¶Î§ÊÇ0£­63¡£
* 1£ºÐźŸıä1DB¾ÍÉϱ¨
* 2£ºÐźŸıä2DB¾ÍÉϱ¨
*...
* 0xFF£º¹Ø±ÕÖ÷¶¯Éϱ¨
*/
BYTE bPadding;
}T_zMmiaAs_RptRxlev_Req;
/*==============================================================================
Ô­ÓZ_MmiaAS_RptRxlev_Ind_Ev( MCR->MMIA );
Z_MmiaAs_QueryRxlev_Cnf_Ev( MCR->MMIA )
RRMI_RXSTAT_IND ( GRR->MMIA )
RRAT_RXSTAT_IND ( GRR->MMIA )
˵Ã÷: 1)MCRÐźŸı䳬¹ý·§ÖµÊ±Éϱ¨ÐźÅÇ¿¶È (Z_MmiaAS_RptRxlev_Ind_Ev);
2)MCR²éѯʱÉϱ¨ÐźÅÇ¿¶È (Z_MmiaAs_QueryRxlev_Cnf_Ev)
3)GRRÐźŸı䳬¹ý·§ÖµÊ±Éϱ¨ÐźÅÇ¿¶È (RRMI_RXSTAT_IND)
4)GRR²éѯʱÉϱ¨ÐźÅÇ¿¶È (RRAT_RXSTAT_IND)
×¢£º¸Ã½á¹¹±ØÐëºÍ2GʹÓõÄyPDef_RRMI_RXSTAT_IND½á¹¹Ïàͬ
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý*/
BYTE bRxlev; /*LTE Rsrp 0-97 GSM Rxlev 0-64 TD&W Rscp 0-91*/
BYTE bBlerFlg; /*ÊÇ·ñ´æÔÚBLERÖµÉϱ¨.bBlerFlg = 1±íʾÓÐÎóÂëÂÊÉϱ¨,bBlerFlg = 0±íʾÎÞÎóÂëÂÊÉϱ¨*/
BYTE bBler;
BYTE bRsrq;/*LTE·þÎñÐ¡ÇøµÄRSRQ,ÎÞЧֵ0xff*/
BYTE bSinrInt; /*LTE·þÎñÐ¡ÇøµÄSINRµÄÕûÊýÖµ,ȡֵ·¶Î§0~60; ÕæÊµÖµ»ù´¡ÉϼÓ20;ÕæÊµÖµÈ¡Öµ·¶Î§: -20~40*/
BYTE bSinrDec; /*LTE·þÎñÐ¡ÇøµÄSINRȡֵ·¶Î§ 0~9*/
BYTE bRssiInt; /*LTE·þÎñÐ¡ÇøµÄRSSIµÄÕûÊýÖµ,ȡֵ·¶Î§0~133,0xffΪÎÞЧֵ; ÕæÊµÖµ»ù´¡ÉϼÓ129;ÕæÊµÖµÈ¡Öµ·¶Î§: -129~-4*/
BYTE bEcno; /*W·þÎñÐ¡ÇøµÄECNOµÄ²âÁ¿Öµ,ȡֵ·¶Î§0~49,0xffΪÎÞЧֵ*/
BYTE abPadding[2];
}T_zMmiaAs_RptRxlev_Ind;
/*==============================================================================
Ô­ÓZ_MmiaAs_EM_CellInfoReq_Ev (MMIA->UMCR)
RR_EM_CELL_INFO_REQ (MMIA->GRR)
˵Ã÷: ¹¤³ÌģʽÏÂMMIA֪ͨUMCR¿ªÆôÖ÷¶¯Éϱ¨Ð¡ÇøÐÅÏ¢ (Z_MmiaAs_EM_CellInfoReq_Ev)
¹¤³ÌģʽÏÂMMIA֪ͨGRR¿ªÆôÖ÷¶¯Éϱ¨Ð¡ÇøÐÅÏ¢ (RR_EM_CELL_INFO_REQ)
×¢£º¸Ã½á¹¹±ØÐëºÍ2GʹÓõÄyPDef_RR_EM_CELL_INFO_REQ½á¹¹Ïàͬ
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý*/
BYTE bAction; /*1:´ò¿ªÐ¡ÇøÐÅÏ¢Ö÷¶¯Éϱ¨£¬0:¹Ø±ÕÐ¡ÇøÐÅÏ¢Ö÷¶¯Éϱ¨*/
BYTE bAtType;
}T_zMmiaAs_EM_CellInfo_Req;
/*==============================================================================
Ô­ÓZ_MmiaAs_EM_UCellInfoInd_Ev
˵Ã÷£º¹¤³ÌģʽÏÂUMCRÖÜÆÚÐÔÉϱ¨UTRANÐ¡ÇøÐÅÏ¢£¨ÖÜÆÚÔݶ¨Îª1s£©
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý*/
BYTE abPadding0[2];
/*ÍøÂçÐÅÏ¢*/
DWORD dwCellId; /*ϵͳÐÅÏ¢Öй㲥µÄCI*/
BYTE bRac; /*·ÓÉÇø*/
BYTE bPadding1;
WORD wLac; /*λÖÃÇø*/
T_z_PlmnId tPlmnId; /*µ±Ç°×¤ÁôµÄplmnid*/
BYTE bPadding2;
/*·þÎñÐ¡ÇøÐÅÏ¢*/
T_z_CellInfo tSCell;
BYTE bSubMode; /*µ±Ç°×Óģʽ*/
BYTE bAtt;
BYTE bNmo; /*Network mode*/
BYTE bRscp; /*·þÎñÐ¡ÇøÐźÅÖÊÁ¿£¬TDÐ¡ÇøÎªRSCP£¬GSMÐ¡ÇøÎªRSSI LTEΪRSRP*/
WORD wT3212;
WORD wWFreq; /*¹¤×÷Ƶµã*/
BYTE bBand;
/*ÁÚÇøÐÅÏ¢*/
BYTE bNTCellNum; /*ʵ¼ÊÉϱ¨TDÁÚÇøÊý£¬¿ÉÒÔΪ0*/
BYTE bNGCellNum; /*ʵ¼ÊÉϱ¨GSMÁÚÇøÊý,¿ÉÒÔΪ0*/
BYTE bNLCellNum; /*ʵ¼ÊÉϱ¨LTEÁÚÇøÊý,¿ÉÒÔΪ0*/
T_z_TdCell atNTCellList[Z_EM_MAX_NTCELL_NUM]; /*TDÁÚÇøÁÐ±í£¬°´RSCP´ÓÇ¿µ½ÈõÅÅÐò£¬Êý×é0Ϊ×îÇ¿Ð¡Çø*/
BYTE abNTCellRscpList[Z_EM_MAX_NTCELL_NUM];/*TDÁÚÇøRSCPÖµ£¬ºÍatNTCellListÖÐÐ¡ÇøÒ»Ò»¶ÔÓ¦*/
BYTE abPadding3[2];
T_z_GsmCell atNGCellList[Z_EM_MAX_NGCELL_NUM]; /*GSMÁÚÇøÁÐ±í£¬°´RSSI´ÓÇ¿µ½ÈõÅÅÐò£¬Êý×é0Ϊ×îÇ¿Ð¡Çø*/
BYTE abNGCellRssiList[Z_EM_MAX_NGCELL_NUM];/*GSMÁÚÇøRSSIÖµ£¬ºÍatNGCellListÖÐÐ¡ÇøÒ»Ò»¶ÔÓ¦*/
BYTE abNGCellMinRxlevList[Z_EM_MAX_NGCELL_NUM];/*GSMÁÚÇø×îС½ÓÊÕµçÆ½Öµ£¬ºÍatNGCellListÖÐÐ¡ÇøÒ»Ò»¶ÔÓ¦¡£
ÈôÎÞÏàӦϵͳÐÅÏ¢£¬ÔòֵΪ0*/
T_z_LteCell atNLCellList[Z_EM_MAX_NLCELL_NUM]; /*LTEÁÚÇøÁÐ±í£¬°´RSRP´ÓÇ¿µ½ÈõÅÅÐò£¬Êý×é0Ϊ×îÇ¿Ð¡Çø*/
BYTE abNLCellRsrpList[Z_EM_MAX_NLCELL_NUM];/*LTEÁÚÇøRSRPÖµ£¬ºÍatNLCellListÖÐÐ¡ÇøÒ»Ò»¶ÔÓ¦*/
BYTE abNLCellRsrqList[Z_EM_MAX_NLCELL_NUM];/*LTEÁÚÇøRSRqÖµ£¬ºÍatNLCellListÖÐÐ¡ÇøÒ»Ò»¶ÔÓ¦*/
BYTE abDetetFlg[Z_EM_MAX_NLCELL_NUM];/*×Ô¼ìÐ¡Çø±êʶ£¬ºÍatNLCellListÖÐÐ¡ÇøÒ»Ò»¶ÔÓ¦£¬
ȡֵ1±íʾÊÇ×Ô¼º¼ì²â³öµÄÐ¡Çø£¬È¡Öµ0±íʾÊÇÍø²àÏ·¢µÄÐ¡Çø*/
}T_zMmiaAs_EM_UCellInfo_Ind;
/*==============================================================================
Ô­ÓRR_EM_CELL_INFO_IND
˵Ã÷£ºGRR·¢Ë͸øMMIAµÄGSMÐ¡ÇøÐÅÏ¢£¨½á¹¹Í¬2GµÄyPDef_RR_EM_CELL_INFO_IND£©
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý*/
BYTE abPadding0[2];
/*ÍøÂçÐÅÏ¢*/
DWORD dwCellId; /*ϵͳÐÅÏ¢Öй㲥µÄCI*/
BYTE bRac; /*·ÓÉÇø*/
BYTE bPadding1;
WORD wLac; /*λÖÃÇø*/
T_z_PlmnId tPlmnId; /*µ±Ç°×¤ÁôµÄplmnid*/
BYTE bPadding2;
/*·þÎñÐ¡ÇøÐÅÏ¢*/
T_z_CellInfo tSCell;
BYTE bSubMode; /*µ±Ç°×Óģʽ*/
BYTE bAtt;
BYTE bNmo; /*Network mode*/
BYTE bRssi; /*·þÎñÐ¡ÇøÐźÅÖÊÁ¿£¬TDÐ¡ÇøÎªRSCP£¬GSMÐ¡ÇøÎªRSSI LTEΪRSRP*/
WORD wT3212;
WORD wDchArfcn; /*GSMµ±Ç°Æµµã*/
BYTE bLinkTimeOut;/*ÎÞÏßÁ´Â·Ê§°Ü¼ÆÊýÆ÷*/
BYTE abPadding3[3];
/*GSM·þÎñÐ¡Çø¸½¼ÓÐÅÏ¢,½öÔÚ·þÎñÐ¡ÇøÖÆÊ½ÎªGSMʱÓÐЧ*/
SHORT sC1; /* ·¾¶ËðºÄ*/
SHORT sC2;
SHORT sC31;
SHORT sC32;
BYTE bSupGprs; /* Ð¡ÇøÊÇ·ñÖ§³ÖGPRS*/
BYTE bSupDtxFg; /* Ð¡ÇøÊÇ·ñÖ§³ÖDTX*/
BYTE bSupHop; /* Ð¡ÇøÊÇ·ñÖ§³ÖÌøÆµ*/
BYTE bTav; /* ʱ¼äÌáǰÁ¿*/
/*ÁÚÇøÐÅÏ¢*/
BYTE bNTCellNum; /*ʵ¼ÊÉϱ¨TDÁÚÇøÊý£¬¿ÉÒÔΪ0*/
BYTE bNGCellNum; /*ʵ¼ÊÉϱ¨GSMÁÚÇøÊý,¿ÉÒÔΪ0*/
BYTE bNLCellNum; /*ʵ¼ÊÉϱ¨LTEÁÚÇøÊý,¿ÉÒÔΪ0*/
BYTE bPadding4;
T_z_TdCell atNTCellList[Z_EM_MAX_NTCELL_NUM]; /*TDÁÚÇøÁÐ±í£¬°´RSCP´ÓÇ¿µ½ÈõÅÅÐò£¬Êý×é0Ϊ×îÇ¿Ð¡Çø*/
BYTE abNTCellRscpList[Z_EM_MAX_NTCELL_NUM];/*TDÁÚÇøRSCPÖµ£¬ºÍatNTCellListÖÐÐ¡ÇøÒ»Ò»¶ÔÓ¦*/
BYTE abPadding5[2];
T_z_NGcell_info aNGcellInfo[Z_EM_MAX_NGCELL_NUM];/*GSMÁÚÇøÐÅÏ¢£¬°´RSSI´ÓÇ¿µ½ÈõÅÅÐò£¬Êý×é0Ϊ×îÇ¿Ð¡Çø*/
T_z_LteCell atNLCellList[Z_EM_MAX_NLCELL_NUM]; /*LTEÁÚÇøÁÐ±í£¬°´RSRP´ÓÇ¿µ½ÈõÅÅÐò£¬Êý×é0Ϊ×îÇ¿Ð¡Çø*/
BYTE abNLCellRsrpList[Z_EM_MAX_NLCELL_NUM];/*LTEÁÚÇøRSRPÖµ£¬ºÍatNLCellListÖÐÐ¡ÇøÒ»Ò»¶ÔÓ¦*/
BYTE abNLCellRsrqList[Z_EM_MAX_NLCELL_NUM];/*LTEÁÚÇøRSRqÖµ£¬ºÍatNLCellListÖÐÐ¡ÇøÒ»Ò»¶ÔÓ¦*/
BYTE abDetetFlg[Z_EM_MAX_NLCELL_NUM];/*×Ô¼ìÐ¡Çø±êʶ£¬ºÍatNLCellListÖÐÐ¡ÇøÒ»Ò»¶ÔÓ¦£¬
ȡֵ1±íʾÊÇ×Ô¼º¼ì²â³öµÄÐ¡Çø£¬È¡Öµ0±íʾÊÇÍø²àÏ·¢µÄÐ¡Çø*/
}T_zMmiaAs_EM_GCellInfo_Ind;
/*==============================================================================
Ô­ÓZ_MmiaAs_EM_EUCellInfoInd_Ev
˵Ã÷£º¹¤³ÌģʽÏÂEUMCRÖÜÆÚÐÔÉϱ¨UTRANÐ¡ÇøÐÅÏ¢£¨ÖÜÆÚÔݶ¨Îª1s£©
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý*/
BYTE abPadding0[2];
/*ÍøÂçÐÅÏ¢*/
DWORD dwCellId; /*ϵͳÐÅÏ¢Öй㲥µÄCI*/
WORD wTac;
BYTE abPadding1[2];
T_z_PlmnId tPlmnId; /*µ±Ç°×¤ÁôµÄplmnid*/
BYTE bPadding2;
DWORD dwUlFddArfcn; /*FDD-LTEÏÂΪÉÏÐÐÆµµã*/
/*·þÎñÐ¡ÇøÐÅÏ¢*/
T_z_CellInfo tSCell;
BYTE bRsrp; /*·þÎñÐ¡ÇøÐźÅÖÊÁ¿£¬TDÐ¡ÇøÎªRSCP£¬GSMÐ¡ÇøÎªRSSI LTEΪRSRP*/
BYTE bRsrq;
BYTE bBand;
BYTE bPadding4;
DWORD dwCsgId; /*¹¤¾ßÒªÇóÏÔʾCSGID£¬È«FΪÎÞЧֵ*/
/*ÁÚÇøÐÅÏ¢*/
BYTE bNTCellNum; /*ʵ¼ÊÉϱ¨TDÁÚÇøÊý£¬¿ÉÒÔΪ0*/
BYTE bNGCellNum; /*ʵ¼ÊÉϱ¨GSMÁÚÇøÊý,¿ÉÒÔΪ0*/
BYTE bNLCellNum; /*ʵ¼ÊÉϱ¨LTEÁÚÇøÊý,¿ÉÒÔΪ0*/
BYTE bPadding5;
T_z_TdCell atNTCellList[Z_EM_MAX_NTCELL_NUM]; /*TDÁÚÇøÁÐ±í£¬°´RSCP´ÓÇ¿µ½ÈõÅÅÐò£¬Êý×é0Ϊ×îÇ¿Ð¡Çø*/
BYTE abNTCellRscpList[Z_EM_MAX_NTCELL_NUM];/*TDÁÚÇøRSCPÖµ£¬ºÍatNTCellListÖÐÐ¡ÇøÒ»Ò»¶ÔÓ¦*/
BYTE abPadding6[2];
T_z_GsmCell atNGCellList[Z_EM_MAX_NGCELL_NUM]; /*GSMÁÚÇøÁÐ±í£¬°´RSSI´ÓÇ¿µ½ÈõÅÅÐò£¬Êý×é0Ϊ×îÇ¿Ð¡Çø*/
BYTE abNGCellRssiList[Z_EM_MAX_NGCELL_NUM];/*GSMÁÚÇøRSSIÖµ£¬ºÍatNGCellListÖÐÐ¡ÇøÒ»Ò»¶ÔÓ¦*/
BYTE abNGCellMinRxlevList[Z_EM_MAX_NGCELL_NUM];/*GSMÁÚÇø×îС½ÓÊÕµçÆ½Öµ£¬ºÍatNGCellListÖÐÐ¡ÇøÒ»Ò»¶ÔÓ¦¡£
ÈôÎÞÏàӦϵͳÐÅÏ¢£¬ÔòֵΪ0*/
T_z_LteCell atNLCellList[Z_EM_MAX_NLCELL_NUM]; /*LTEÁÚÇøÁÐ±í£¬°´RSRP´ÓÇ¿µ½ÈõÅÅÐò£¬Êý×é0Ϊ×îÇ¿Ð¡Çø*/
BYTE abNLCellRsrpList[Z_EM_MAX_NLCELL_NUM];/*LTEÁÚÇøRSRPÖµ£¬ºÍatNLCellListÖÐÐ¡ÇøÒ»Ò»¶ÔÓ¦*/
BYTE abNLCellRsrqList[Z_EM_MAX_NLCELL_NUM];/*LTEÁÚÇøRSRqÖµ£¬ºÍatNLCellListÖÐÐ¡ÇøÒ»Ò»¶ÔÓ¦*/
BYTE abDetetFlg[Z_EM_MAX_NLCELL_NUM];/*×Ô¼ìÐ¡Çø±êʶ£¬ºÍatNLCellListÖÐÐ¡ÇøÒ»Ò»¶ÔÓ¦£¬
ȡֵ1±íʾÊÇ×Ô¼º¼ì²â³öµÄÐ¡Çø£¬È¡Öµ0±íʾÊÇÍø²àÏ·¢µÄÐ¡Çø*/
}T_zMmiaAs_EM_EUCellInfo_Ind;
/*==============================================================================
Ô­ÓZ_MmiaAs_EM_HoInfoReq_Ev ( MMIA->URBC )
RR_EM_HO_INFO_REQ (MMIA->GRRC)
˵Ã÷£ºÍ¨ÖªURBC/GRRC´ò¿ª»òÕ߹رÕÇл»ÐÅÏ¢µÄÖ÷¶¯Éϱ¨
==============================================================================*/
typedef struct{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý*/
BYTE bAction;
BYTE bPadding;
}T_zMmiaAs_EM_HoInfo_Req;
/*==============================================================================
Ô­ÓZ_MmiaAs_EM_UHoInfoInd_Ev
˵Ã÷£ºURBCÖ÷¶¯Éϱ¨UTRANÏà¹ØÇл»ÐÅÏ¢
==============================================================================*/
typedef struct{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý*/
BYTE bHardHoSuccCnt; /* TDÓ²Çл»³É¹¦´ÎÊý*/
BYTE bBatonHoSuccCnt; /* TD½ÓÁ¦Çл»³É¹¦´ÎÊý*/
BYTE bHardHoFailCnt; /* TDÓ²Çл»Ê§°Ü´ÎÊý*/
BYTE bBatonHoFailCnt; /* TD½ÓÁ¦Çл»Ê§°Ü´ÎÊý*/
BYTE bTdHoGsmSuccCnt; /* TDÇл»µ½GSM³É¹¦¸öÊý*/
BYTE bTdHoGsmFailCnt; /* TDÇл»µ½GSMʧ°Ü´ÎÊý*/
}T_zMmiaAs_EM_UHoInfo_Ind;
/*==============================================================================
Ô­ÓRR_EM_HO_INFO_IND (GRRC->MMIA)
˵Ã÷£ºGRRCÖ÷¶¯Éϱ¨GSMÏà¹ØÇл»ÐÅÏ¢£¨½á¹¹Í¬2GµÄyPDef_RR_EM_HO_INFO_IND£©
==============================================================================*/
typedef struct{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý*/
BYTE bSyncHoSuccCnt; /* GSMͬ²½Çл»³É¹¦¸öÊý*/
BYTE bAsyncHoSuccCnt; /* GSMÒì²½Çл»³É¹¦¸öÊý*/
BYTE bPreHoSuccCnt; /* GSMÔ¤Çл»³É¹¦´ÎÊý*/
BYTE bPseudoHoSuccCnt; /* GSMαÇл»³É¹¦´ÎÊý*/
BYTE bSyncHoFailCnt; /* GSMͬ²½Çл»Ê§°Ü¸öÊý*/
BYTE bAsyncHoFailCnt; /* GSMÒì²½Çл»Ê§°Ü¸öÊý*/
BYTE bPreHoFailCnt; /* GSMÔ¤Çл»Ê§°Ü´ÎÊý*/
BYTE bPseudoHoFailCnt; /* GSMαÇл»Ê§°Ü´ÎÊý*/
BYTE bGsmHoTdSuccCnt; /* GSMÇл»µ½TD,Ó²Çл»³É¹¦´ÎÊý*/
BYTE bGsmHoFailCnt; /* GSMÇл»µ½TD,Ó²Çл»Ê§°Ü´ÎÊý*/
}T_zMmiaAs_EM_GHoInfo_Ind;
/*==============================================================================
Ô­ÓZ_MmiaEusir_ETWSPrimary_Ind_Ev (EUSIR->MMIA)
˵Ã÷: EUSIR¶ÁÈ¡µ½SIB10ÖÐETWSÊ×Òª¸æ¾¯ÐÅÏ¢£¬Ö÷¶¯Éϱ¨¸øMMIA
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
WORD wWarningMsgId;
WORD wSerialNum;
WORD wWarningType;
BYTE bSecInfoPresent;
BYTE abSecinfo[50];
}T_zMmiaEusir_ETWSPrimary_Ind;
/*==============================================================================
Ô­ÓZ_MmiaEusir_ETWSSecondary_Ind_Ev (EUSIR->MMIA)
˵Ã÷: EUSIR¶ÁÈ¡µ½SIB11ÖÐETWS´ÎÒª¸æ¾¯ÐÅÏ¢£¬Ö÷¶¯Éϱ¨¸øMMIA
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
WORD wWarningMsgId;
WORD wSerialNum;
WORD wWarningMsgLen;
BYTE *pbWarningMsg;
BYTE bDataCodingSchemePresent;
BYTE bDataCodingScheme;
}T_zMmiaEusir_ETWSSecondary_Ind;
/*==============================================================================
Ô­ÓMMIA_AS_EM_CELLRESORCCOCOUNT_REQ_EV (MMIA->UCSR,GRR)
˵Ã÷£º¹¤³ÌģʽÏÂMMIA֪ͨUCSR¿ªÆô¡¢¹Ø±ÕÖ÷¶¯Éϱ¨ÖØÑ¡¡¢CCO´ÎÊýÐÅÏ¢
==============================================================================*/
typedef struct {
BYTE bAction; /*1:´ò¿ªÐ¡ÇøÖØÑ¡¡¢¿çÖÆÊ½CCO´ÎÊýͳ¼ÆÖ÷¶¯Éϱ¨£¬0:¹Ø±ÕÐ¡ÇøÖØÑ¡¡¢¿çÖÆÊ½CCO´ÎÊýͳ¼ÆÖ÷¶¯Éϱ¨*/
BYTE abPadding[3];
}T_z_MmiaAs_EM_CellresOrCcoCount_Req;
/**************************************************************************
* È«¾Öº¯ÊýÀàÐͶ¨Òå *
**************************************************************************/
typedef struct{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý*/
BYTE bAction;
BYTE bPadding;
}T_zMmiaEucsr_LteInfo_Req;
typedef struct{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý*/
BYTE bSubFrmAssignType;
BYTE bSpclSubFrmPatt;
}T_zMmiaEucsr_LteInfo_Ind;
/*==============================================================================
Ô­ÓMMIA_ASC_LTE_LOSTCOVERAGE_IND_EV (EUCSR->ATI)
˵Ã÷£ºÍ¨ÖªATIÉϱ¨+ZLTENOCELL
==============================================================================*/
typedef struct{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý*/
BYTE abPadding[2];
}T_zMmiaEucsr_LteLostCoverage_Ind;
/*==============================================================================
Ô­ÓZ_RRMI_INTER_RAT_NCELL_IND_EV (GRR->MMIA)
˵Ã÷£ºÍ¨ÖªMMIA TD/LTEÁÚÇø·¢Éú±ä»¯
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý*/
BYTE bLteNum; // LTEÁÚÇøµÄ¸öÊý
BYTE bTdNum; // TDÁÚÇøµÄ¸öÊý
BYTE abPadding[2];
WORD wEarfcn[Z_MAX_STORED_EFRQE_NUM]; //LTEÁÚÇø
WORD wUarfcn[Z_MAX_STORED_FRQE_NUM]; //TDÁÚÇø
}T_z_RRMI_INTER_RAT_NCELL_IND;
/**************************************************************************
Ô­ÓAT_MMIA_L1E_ZEPCG_REQ
¹¦ÄÜ£ºÍ¨¹ýATÃüÁîÐÞ¸Ä/²éѯÎïÀí²ãÅäÖòÎÊý
¶ÔÓ¦ATÃüÁ+ZEPCG
**************************************************************************/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bCmd; /*ÃüÁîºÅ£¬¶ÔÓ¦²»Í¬µÄÎïÀí²ã¹¦ÄÜ*/
BYTE bMode; /*0±íʾÉèÖã¬1±íʾ²éѯ*/
BYTE bVal1Fg; /*±íʾVal1/Val2ÊÇ·ñ´æÔÚ£¬0±íʾ²»´æÔÚ£¬1±íʾ´æÔÚ*/
BYTE bVal2Fg;
BYTE abPadding[2];
DWORD dwVal1; /*²ÎÊý1/²ÎÊý2£¬ÐÞ¸Ä/¶ÁÈ¡µÄÎïÀí²ã²ÎÊý£¬²ÎÊýʵ¼Êº¬ÒåÓÉÎïÀí²ã¸ø³ö*/
DWORD dwVal2;
}T_zMmiaL1E_Zepcg_Req;
/**************************************************************************
Ô­ÓMMIA_L1E_ZEPCG_CNF
¹¦ÄÜ£º¶Ôͨ¹ýATÃüÁîÐÞ¸Ä/¶ÁÈ¡ÎïÀí²ãÅäÖòÎÊýÏìÓ¦
¶ÔÓ¦ATÃüÁ
**************************************************************************/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bCmd; /*ÃüÁîºÅ£¬¶ÔÓ¦²»Í¬µÄÎïÀí²ã¹¦ÄÜ*/
BYTE bMode; /*0±íʾÉèÖöÔÓ¦µÄÏìÓ¦£¬´Ëʱ£¬ºóÐø²ÎÊýbRsltÓÐЧ£¬bVal2Fg£¬bVal1£¬bVal2¾ùÎÞЧ
1±íʾ²éѯ¶ÔÓ¦µÄÏìÓ¦£¬´Ëʱ£¬ºóÐø²ÎÊýbRsltÎÞЧ£¬bVal2Fg£¬bVal1£¬bVal2¾ùÓÐЧ*/
BYTE bRslt; /*±íʾÉèÖýá¹û£¬Z_TRUEÉèÖóɹ¦£¬Z_FALSEÉèÖÃʧ°Ü,bMode=0ʱÓÐЧ*/
BYTE bVal1Fg[Z_ZEPCG_PARAM_NUMBER]; /*°´ÕÕϱêºÍdwValÖÐÖµÒ»Ò»¶ÔÓ¦£¬bVal1Fg[0]±íʾdwVal[0]ÊÇ·ñ´æÔÚ,ÒÀ´ÎÀàÍÆ£¬0±íʾ²»´æÔÚ£¬1±íʾ´æÔÚ*/
BYTE abPadding2[2];
LONG dwVal[Z_ZEPCG_PARAM_NUMBER]; /*²ÎÊý1/²ÎÊý2¡­£¬ÐÞ¸Ä/¶ÁÈ¡µÄÎïÀí²ã²ÎÊý£¬²ÎÊýʵ¼Êº¬ÒåÓÉÎïÀí²ã¸ø³ö*/
}T_zMmiaL1E_Zepcg_Cnf;
/*=================================================================
Ô­ÓMMIA_AS_B39_INFO_IND_EV (UMCR->ATI EUMCR->ATI)
˵Ã÷£ºUMCR. EUMCR֪ͨATI ÊÇ·ñÓÐB39³öÏÖ
=================================================================*/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bBand39Info; /* ȡֵ0±íʾûÓÐBAND39. 1±íʾÓÐBAND39*/
BYTE bPadding;
}T_zMmiaAs_Band39_Info_Ind;
/*=================================================================
Ô­ÓMMIA_AS_B39_INFO_REQ_EV (ATI->GRR)
˵Ã÷£ºATI½«½ÓÈë²ãÉϱ¨µÄBAND39ÐÅϢ͸´«µ½GSMÒ»´ýµÄGRR
=================================================================*/
typedef struct {
BYTE bBand39Info; /*ȡֵ0±íʾûÓÐBAND39. 1±íʾÓÐBAND39*/
} T_zMmiaAs_Band39_Info_Req;
/*============================================================
Ô­Óï:MMIA_AS_RSSI_QUERY_REQ_EV(ATI->EUMCR)
MMIA_AS_SINR_QUERY_REQ_EV(ATI->EUMCR)
RRAT_RXSTAT_REQ(ATI->GRR)
MMIA_AS_QUERY_RXLEV_REQ_EV(ATI->MCR/WMCR/EUMCR)
˵Ã÷:ATI·¢ËͲéѯÇëÇó»ñÈ¡ÐźÅÇ¿¶Èָʾֵ
=============================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
}T_zMmiaAs_Rssi_Qry_Req, T_zMmiaAs_Sinr_Qry_Req,
T_zMmiaAs_CellInfo_Qry_Req;
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bAtType;
BYTE bPadding;
}T_zMmiaAs_Csq_Qry_Req;
typedef struct {
CHAR cSinrInt; /*ȡֵ·¶Î§ -20~40*/
BYTE bSinrDec; /*ȡֵ·¶Î§ 0~9*/
BYTE abPadding[2];
}T_zMmiaAs_LTE_P_Sinr;
typedef struct {
SHORT sRssiInt; /*ȡֵ·¶Î§ -129~-4*/
BYTE bRssiDec; /*ȡֵ·¶Î§ 0~9*/
BYTE bPadding;
}T_zMmiaAs_LTE_P_Rssi;
/*============================================================
Ô­Óï:MMIA_AS_RSSI_QUERY_CNF_EV(EUMCR->ATI)
˵Ã÷:ATI·¢ËͲéѯÇëÇó»ñÈ¡LTEµÄÐźÅÇ¿¶Èָʾֵ
=============================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
T_zMmiaAs_LTE_P_Rssi tRssi[MMIA_AS_LTE_MAX_RSSI_NUM];
}T_zMmiaAs_Rssi_Qry_Cnf;
/*============================================================
Ô­Óï:MMIA_AS_SINR_QUERY_CNF_EV(EUMCR->ATI)
˵Ã÷:ATI·¢ËͲéѯÇëÇó»ñÈ¡LTEµÄÐźÅÇ¿¶Èָʾֵ
=============================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
T_zMmiaAs_LTE_P_Sinr tSinr[MMIA_AS_LTE_MAX_SINR_NUM];
}T_zMmiaAs_Sinr_Qry_Cnf;
typedef struct
{
BYTE bAsCellInfoFg;/*»ñÈ¡³É¹¦±ê־λ,0ʧ°Ü,1³É¹¦*/
T_z_TAC tTac; /*TAC*/
DWORD dwScellId; /*CELLID*/
T_z_PlmnId tcellPrimaryPlmnId;/*PLMNID*/
}T_zMmiaAs_CellInfo;
/*============================================================
Ô­Óï:MMIA_AS_TMGI_ACTIVATE_REQ_EV(ATI->ECER)
˵Ã÷:ATI֪ͨRRC¼¤»îÒ»¸öTMGI·þÎñ
=============================================================*/
typedef struct {
BYTE bSessionIdFg;
BYTE bSessionId;
BYTE abPadding[2];
T_zMbms_Tmgi tTmgi;
}T_zAtiAs_Mbms_Service_Info;
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
T_zAtiAs_Mbms_Service_Info tTmgiActInfo;
}T_zAtiAs_Tmgi_Activate_Req;
/*============================================================
Ô­Óï:MMIA_AS_TMGI_ACTIVATE_CNF_EV(ECER->ATI)
˵Ã÷:RRCÏìÓ¦ATIµÄTMGI·þÎñ¼¤»îÇëÇó
=============================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bActStatus;
BYTE bPadding;
T_zAtiAs_Mbms_Service_Info tTmgiActInfo;
}T_zAtiAs_Tmgi_Activate_Cnf;
/*============================================================
Ô­Óï:MMIA_AS_TMGI_DEACTIVATE_REQ_EV(ATI->ECER)
˵Ã÷:ATI֪ͨRRCÈ¥¼¤»îÒ»¸öTMGI·þÎñ
=============================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bDeactAll;
BYTE bPadding;
T_zAtiAs_Mbms_Service_Info tTmgiDeactInfo;
}T_zAtiAs_Tmgi_Deactivate_Req;
/*============================================================
Ô­Óï:MMIA_AS_TMGI_DEACTIVATE_CNF_EV(ECER->ATI)
˵Ã÷:RRCÏìÓ¦ATIµÄTMGI·þÎñÈ¥¼¤»îÇëÇó
=============================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bDeactStatus;
BYTE bPadding;
T_zAtiAs_Mbms_Service_Info tTmgiDeactInfo;
}T_zAtiAs_Tmgi_Deactivate_Cnf;
/*============================================================
Ô­Óï:MMIA_AS_SAI_LIST_QUERY_REQ_EV(ATI->ECER)
˵Ã÷:ATIÇëÇóRRC»ñÈ¡µ±Ç°¿É»ñµÃµÄSAI List·þÎñ
=============================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
}T_zAtiAs_SaiListQueryReq;
/*============================================================
Ô­Óï:MMIA_AS_SAI_LIST_QUERY_RESP_EV(ECER->ATI)
˵Ã÷:RRCÏìÓ¦ATIµÄSAI List²éѯ
=============================================================*/
/*============================================================
Ô­Óï:MMIA_AS_SAI_LIST_IND_EV(ECER->ATI)
˵Ã÷:µ±ÐèÒªÖ÷¶¯Éϱ¨Ê±£¬EURRCÐ¡Çø×¤Áô¡¢ÖØÑ¡¡¢Çл»¡¢SIB15¸üеÈÇé¿öÏ£¬EUSIR¶Áµ½SIB15ºóÁ¢¿ÌÉϱ¨¸ÃÏûÏ¢.Éϱ¨µ±Ç°ÎªÌṩMBMS·þÎñ¿ÉÒÔ»ñÈ¡µ½µÄSAIÁбí
=============================================================*/
typedef struct {
BYTE bIsServFreq;
BYTE bSaiNum;
BYTE abPadding[2];
WORD awSai[Z_MAX_SAI_NUM_PER_FREQ];
DWORD dwFreq;
}T_zAtiAs_Spec_Freq_Sai_List_Info;
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bFreqNum;
BYTE bPadding;
T_zAtiAs_Spec_Freq_Sai_List_Info atSpecFreqSaiListInfo[Z_MAX_LTE_FREQ_NUM];
}T_zAtiAs_SaiListQueryResp,T_zAtiAs_SaiListInd;
/*============================================================
Ô­Óï:MMIA_AS_TMGI_LIST_QUERY_REQ_EV(ATI->ECER)
˵Ã÷:ATIÇëÇóRRC»ñÈ¡µ±Ç°¿É»ñµÃµÄTMGI List·þÎñ
=============================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bTmgiListType;
BYTE bPadding;
}T_zAtiAs_TmgiListQueryReq;
/*============================================================
Ô­Óï:MMIA_AS_TMGI_LIST_QUERY_RESP_EV(ECER->ATI)
˵Ã÷:µ±Éϲã²éѯʱ£¬Éϱ¨RRCµ±Ç°¼¤»îµÄTMGI»ò¿É»ñµÃµÄTMGI List·þÎñ
=============================================================*/
/*============================================================
Ô­Óï:MMIA_AS_TMGI_LIST_IND_EV(ECER->ATI)
˵Ã÷:Éϱ¨RRCµ±Ç°¼¤»îµÄTMGI»ò¿É»ñµÃµÄTMGI List·þÎñ
=============================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bTmgiListType;
BYTE bWarnReasonFg;
BYTE bWarnReason;
BYTE bPadding;
WORD wTmgiNum;
//T_zAtiAs_Mbms_Service_Info atTmgiList[Z_MAX_TMGI_NUM_IN_MBSFN_AREA * Z_MAX_MBSFN_AREA_NUM_IN_CELL];/*8¸ömbsfnarea*/
T_zAtiAs_Mbms_Service_Info atTmgiList[Z_MAX_MBMS_TMGI_LIST_NUM];
}T_zAtiAs_TmgiListQueryResp,T_zAtiAs_TmgiListInd;
/*============================================================
Ô­Óï:MMIA_AS_TMGI_LIST_SET_REQ_EV(ATI->ECER)
˵Ã÷:APÏ·¢¸ÐÐËȤµÄTMGI List·þÎñ£¨Ó¦¸ÃÊôÓÚͬһMBSFN Area£©
=============================================================*/
typedef struct {
T_zMbms_Tmgi tTmgi;
WORD wSaiNum;
BYTE bFreqNum;
BYTE bPadding;
WORD awSai[Z_MAX_SAI_NUM_PER_TMGI];
DWORD adwFreq[Z_MAX_LTE_FREQ_NUM];
}T_zAtiAs_Interest_Tmgi_Info;
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
WORD wTmgiNum;
T_zAtiAs_Interest_Tmgi_Info atTmgiList[Z_MAX_TMGI_NUM_IN_MBSFN_AREA];
}T_zAtiAs_TmgiListReq;
/*============================================================
Ô­Óï:MMIA_AS_MBMS_PREFERENCE_REQ_EV(ATI->ECER)
˵Ã÷:ATI֪ͨAS£¬¸üÇãÏòÓÚÓÃÄÄÖÖ·½Ê½½ÓÊÕMBMS·þÎñ£¬unicast or multicast
=============================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bMbmsPreference;
BYTE bPadding;
}T_zAtiAs_MbmsPreferenceReq;
/*============================================================
Ô­Óï:MMIA_AS_TMGI_LIST_REPORT_REQ_EV(ATI->ECER)
˵Ã÷:ATI֪ͨAS£¬ÊÇ·ñÖ÷¶¯¸üÐÂÉϱ¨TMGI List
=============================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bTmgiListReport;
BYTE bPadding;
}T_zAtiAs_TmgiListReportReq;
/*============================================================
Ô­Óï:MMIA_AS_SAI_LIST_REPORT_REQ_EV(ATI->ECER)
˵Ã÷:ATI֪ͨAS£¬ÊÇ·ñÖ÷¶¯¸üÐÂÉϱ¨SAI List
=============================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bSaiListReport;
BYTE bPadding;
}T_zAtiAs_SaiListReportReq;
/*============================================================
Ô­Óï:MMIA_AS_MBMS_SERVICE_SUSPEND_IND_EV(ECER->ATI)
˵Ã÷:AS֪ͨATIÐèÒª¹ÒÆðµÄTMGI List
=============================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
WORD wTmgiNum;
T_zAtiAs_Mbms_Service_Info atTmgiList[Z_MAX_TMGI_NUM_IN_MBSFN_AREA];
}T_zAtiAs_MbmsServiceSuspendInd;
/*============================================================
Ô­Óï:MMIA_AS_MBMS_SERVICE_RESUME_IND_EV(ECER->ATI)
˵Ã÷:AS֪ͨATIÐèÒª»Ö¸´µÄTMGI List
=============================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
WORD wTmgiNum;
T_zAtiAs_Mbms_Service_Info atTmgiList[Z_MAX_TMGI_NUM_IN_MBSFN_AREA];
}T_zAtiAs_MbmsServiceResumeInd;
/*============================================================
Ô­Óï:MMIA_AS_COMMON_CFG_CNF_EV(ECER->ATI)
˵Ã÷:AS֪ͨATIÇëÇóµÄÅäÖÃÒѾ­ÉúЧ£¬Ò»°ãÓÃÓÚ´¿ÅäÖò»»áʧ°ÜµÄÇëÇó
=============================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
WORD wPadding;
}T_zAtiAs_CommonCfgCnf;
/*============================================================
Ô­Óï:MMIA_AS_NW_TIME_QUERY_REQ_EV(ATI->ECSR)
˵Ã÷:ATIÇëÇóRRC»ñÈ¡µ±Ç°SIB16ÖеÄUTCʱ¼ä
=============================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
}T_zAtiAs_NwTimeQueryReq;
/*============================================================
Ô­Óï:MMIA_AS_NW_TIME_QUERY_RESP_EV(ECSR->ATI)
˵Ã÷:AS֪ͨATI¶ÁÈ¡SIB16µÄ½á¹û
=============================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bResult;
BYTE bPadding;
UINT64 uUtcTimeInfo;
}T_zAtiAs_NwTimeQueryResp;
/*============================================================
Ô­Óï:MMIA_AS_QUERY_CESQ_REQ_EV/MMIA_AS_QUERY_ZCSQ_REQ_EV (ATI->AS)
˵Ã÷:ATI·¢ËͲéѯÇëÇó»ñÈ¡µ±Ç°ÖÆÊ½ÏµÄÐźÅÏà¹ØµÄÖµ
=============================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
} T_zMmiaAs_Cesq_Qry_Req,T_zMmiaAs_Zcsq_Qry_Req;
/*============================================================
Ô­Óï:MMIA_AS_SAI_LIST_REPORT_REQ_EV(AS->ATI)
˵Ã÷:AS·µ»ØµÄCESQ²éѯ½á¹ûÖµ
=============================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bAct; /*µ±Ç°ÖÆÊ½£º0x04-GSM¡¢0x01-TDSCDMA¡¢0x02-WCDMA¡¢0x10-LTE¡¢ÆäËûÖµ±£Áô*/
BYTE bRssi; /*GSMÖÆÊ½Ï´˲ÎÊý´æÔÚ£¬ÎÞЧֵ99*/
BYTE bBer; /*GSMÖÆÊ½Ï´˲ÎÊý´æÔÚ£¬ÎÞЧֵ99*/
BYTE bRscp; /*TD»òWÖÆÊ½Ï´˲ÎÊý´æÔÚ£¬ÎÞЧֵ255*/
BYTE bEcno; /*WÖÆÊ½Ï´˲ÎÊý´æÔÚ£¬ ÎÞЧֵ255*/
BYTE bRsrq; /*LTEÖÆÊ½Ï´˲ÎÊý´æÔÚ£¬ÎÞЧֵ255*/
BYTE bRsrp; /*LTEÖÆÊ½Ï´˲ÎÊý´æÔÚ£¬ÎÞЧֵ255*/
BYTE abpadding[3];
} T_zMmiaAs_Cesq_Qry_Cnf;
/*============================================================
Ô­Óï:MMIA_AS_QUERY_ZCSQ_CNF_EV(AS->ATI)
˵Ã÷:AS·µ»ØµÄCESQ²éѯ½á¹ûÖµ
=============================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bAct; /*µ±Ç°ÖÆÊ½£º0x04-GSM¡¢0x01-TDSCDMA¡¢0x02-WCDMA¡¢0x10-LTE¡¢ÆäËûÖµ±£Áô*/
BYTE bRssi; /*¸÷¸öÖÆÊ½ÏµÄRSSI(TDÏÂÉϱ¨RSCP)£¬ÎÞЧֵ99(LTEÏÂÎÞЧÕß255)*/
BYTE bBer; /*GSMÖÆÊ½Ï´˲ÎÊý´æÔÚ£¬ÎÞЧֵ99*/
BYTE abpadding[3];
} T_zMmiaAs_Zcsq_Qry_Cnf;
/*==============================================================================
Ô­ÓMMIA_AS_EM_LTE_HO_SET_REQ_EV ( ATI->EUCER )
MMIA_AS_EM_LTE_HO_SET_QUERY_CNF_EV( EUCER->ATI)
˵Ã÷£ºÍ¨Öª´ò¿ª»òÕ߹رÕÇл»ÐÅÏ¢µÄÖ÷¶¯Éϱ¨
==============================================================================*/
typedef struct{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bAction;/*Çл»ÐÅÏ¢µÄÉϱ¨¿ª¹Ø£¬0:¹Ø±Õ£¬1:´ò¿ª*/
BYTE bPadding;
}T_zMmiaAs_EM_LteHoSet_Req,T_zMmiaAs_EM_LteHoSet_Qry_Cnf;
/*==============================================================================
Ô­ÓMMIA_AS_EM_LTE_HO_SET_QUERY_REQ_EV ( ATI->EUCER )
˵Ã÷£º²éѯÇл»ÐÅÏ¢µÄÖ÷¶¯Éϱ¨µÄ¿ª¹ØÖµÇëÇóÏûÏ¢
==============================================================================*/
typedef struct{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
}T_zMmiaAs_EM_LteHoSet_Qry_Req;
/*==============================================================================
Ô­ÓMMIA_AS_EM_LTE_HO_INFO_IND_EV ( EUCER->ATI)
˵Ã÷£ºÖ÷¶¯Éϱ¨Çл»ÐÅÏ¢
==============================================================================*/
typedef struct{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
DWORD dwTotalHoCount;
DWORD dwSuccHoCount;
}T_zMmiaAs_EM_LteHo_Info_Ind;
#ifdef BTRUNK_SUPPORT
/*============================================================
Ô­Óï:ATI_EUCSR_HIGHT_CALL_IND_EV(EUCSR->ATI)
˵Ã÷:֪ͨ¸ßÓÅÏȼ¶ºô½Ð
=============================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex; /*Ä¿µÄË÷Òý¹Ì¶¨Ìî³É255¼´¿É*/
BYTE bCallmode; /*µ¥ºô£¬×éºô,°ëË«¹¤µ¥ºô*/
BYTE bSn;
BYTE bCallPriLevel;
BYTE abpadding[3];
T_zAtiTsm_BCDNumber tCalledNUmber; /*µ¥ºôÊÇÖ÷½ÐNUMBER,×éºôÊÇÖ¸×é¶ÔÓ¦µÄNUMBER*/
}T_zAtiAs_Hight_Call_Ind;
#define T_zAtiAs_Busy_Alerting_Ind T_zAtiTsm_Busy_Alerting_Ind
#endif
/*============================================================
Ô­Óï:MMIA_UMM_XCELLINFO_REQ_EV(ATI->UMM)
˵Ã÷:´¥·¢ÁÚÇøÐÅÏ¢»ñÈ¡Á÷³Ì
=============================================================*/
typedef struct {
BYTE bSrcIndex; // Ô´Ë÷Òý
BYTE bDesIndex; // Ä¿µÄË÷Òý
BYTE abPadding[2];
} T_zMmiaUmm_XCellInfo_Req;
/*============================================================
Ô­Óï:MMIA_UMM_XCELLINFO_CNF_EV(UMM->ATI)
˵Ã÷:ÁÚÇøÐÅÏ¢»ñÈ¡Á÷³ÌµÄ½á¹û
=============================================================*/
typedef struct {
BYTE bSrcIndex; // Ô´Ë÷Òý
BYTE bDesIndex; // Ä¿µÄË÷Òý
BYTE bGsmNum; // GSMÐ¡Çø¸öÊý
BYTE bUtranNum; // UTRANÐ¡Çø¸öÊý
BYTE bLteNum; // LTEÐ¡Çø¸öÊý
T_zGsm_XCellInfo atGCell[Z_NAS_MAX_GSM_XCELL_NUM]; // GSMÐ¡ÇøÐÅÏ¢
T_zUtran_XCellInfo atUCell[Z_NAS_MAX_UTRAN_XCELL_NUM]; // UTRANÐ¡ÇøÐÅÏ¢
T_zLte_XCellInfo atLteCell[Z_NAS_MAX_LTE_XCELL_NUM]; // LTEÐ¡ÇøÐÅÏ¢
} T_zMmiaUmm_XCellInfo_Cnf;
/**************************************************************************
Ô­ÓMMIA_L1T_ZTPCG_REQ_EV/MMIA_L1W_ZWPCG_REQ_EV
¹¦ÄÜ£ºÍ¨¹ýATÃüÁîÐÞ¸Ä/²éѯTD/WÎïÀí²ãÅäÖòÎÊý
¶ÔÓ¦ATÃüÁ+ZTPCG£¬+ZWPCG
**************************************************************************/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bCmd; /*ÃüÁîºÅ£¬¶ÔÓ¦²»Í¬µÄÎïÀí²ã¹¦ÄÜ*/
BYTE bPadding;
BYTE abValFg[Z_ZUPCG_VALFG_NUMBER]; /*±íʾdwValÊÇ·ñ´æÔÚ£¬0±íʾ²»´æÔÚ£¬1±íʾ´æÔÚ*/
DWORD adwVal[Z_ZUPCG_VALFG_NUMBER]; /*²ÎÊýÁÐ±í£¬ÐÞ¸Ä/¶ÁÈ¡µÄÎïÀí²ã²ÎÊý£¬²ÎÊýʵ¼Êº¬ÒåÓÉÎïÀí²ã¸ø³ö*/
}T_zMmiaL1T_Ztpcg_Req, T_zMmiaL1W_Zwpcg_Req;
/**************************************************************************
Ô­ÓMMIA_L1T_ZTPCG_CNF_EV/MMIA_L1W_ZWPCG_CNF_EV
¹¦ÄÜ£º¶Ôͨ¹ýATÃüÁîÐÞ¸Ä/¶ÁÈ¡TD/WÎïÀí²ãÅäÖòÎÊýÏìÓ¦
¶ÔÓ¦ATÃüÁ
**************************************************************************/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bCmd; /*ÃüÁîºÅ£¬¶ÔÓ¦²»Í¬µÄÎïÀí²ã¹¦ÄÜ*/
BYTE bRslt; /*±íʾÉèÖýá¹û£¬Z_TRUEÉèÖóɹ¦£¬Z_FALSEÉèÖÃʧ°Ü£¬bCmdΪÉèÖÃÃüÁîʱÓÐЧ*/
BYTE abValFg[Z_ZUPCG_PARAM_NUMBER]; /*°´ÕÕϱêºÍdwValÖÐÖµÒ»Ò»¶ÔÓ¦£¬bVal1Fg[0]±íʾdwVal[0]ÊÇ·ñ´æÔÚ,ÒÀ´ÎÀàÍÆ£¬0±íʾ²»´æÔÚ£¬1±íʾ´æÔÚ*/
BYTE abPadding[3];
LONG alVal[Z_ZUPCG_PARAM_NUMBER]; /*²ÎÊý1/²ÎÊý2¡­£¬ÐÞ¸Ä/¶ÁÈ¡µÄÎïÀí²ã²ÎÊý£¬²ÎÊýʵ¼Êº¬ÒåÓÉÎïÀí²ã¸ø³ö*/
}T_zMmiaL1T_Ztpcg_Cnf,T_zMmiaL1W_Zwpcg_Cnf;
/**************************************************************************
Ô­ÓMMIA_GRR_ZGPCG_REQ_EV
¹¦ÄÜ£ºÍ¨¹ýATÃüÁîÐÞ¸Ä/²éѯGSMÎïÀí²ãÅäÖòÎÊý
¶ÔÓ¦ATÃüÁ+ZGPCG
**************************************************************************/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bCmd; /*ÃüÁîºÅ£¬¶ÔÓ¦²»Í¬µÄÎïÀí²ã¹¦ÄÜ*/
BYTE bVal1Fg; /*±íʾVal1/Val2ÊÇ·ñ´æÔÚ£¬0±íʾ²»´æÔÚ£¬1±íʾ´æÔÚ*/
BYTE bVal2Fg;
BYTE abPadding[3];
DWORD dwVal1; /*²ÎÊý1/²ÎÊý2£¬ÐÞ¸Ä/¶ÁÈ¡µÄÎïÀí²ã²ÎÊý£¬²ÎÊýʵ¼Êº¬ÒåÓÉÎïÀí²ã¸ø³ö*/
DWORD dwVal2;
}T_zMmiaGrr_Zgpcg_Req;
/**************************************************************************
Ô­ÓMMIA_GRR_ZGPCG_CNF_EV
¹¦ÄÜ£º¶Ôͨ¹ýATÃüÁîÐÞ¸Ä/¶ÁÈ¡GSMÎïÀí²ãÅäÖòÎÊýÏìÓ¦
¶ÔÓ¦ATÃüÁ
**************************************************************************/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bCmd; /*ÃüÁîºÅ£¬¶ÔÓ¦²»Í¬µÄÎïÀí²ã¹¦ÄÜ*/
BYTE bRslt; /*±íʾÉèÖýá¹û£¬Z_TRUEÉèÖóɹ¦£¬Z_FALSEÉèÖÃʧ°Ü£¬bCmdΪÉèÖÃÃüÁîʱÓÐЧ*/
BYTE abValFg[Z_ZGPCG_PARAM_NUMBER]; /*°´ÕÕϱêºÍdwValÖÐÖµÒ»Ò»¶ÔÓ¦£¬bVal1Fg[0]±íʾdwVal[0]ÊÇ·ñ´æÔÚ,ÒÀ´ÎÀàÍÆ£¬0±íʾ²»´æÔÚ£¬1±íʾ´æÔÚ*/
BYTE abPadding2[3];
LONG alVal[Z_ZGPCG_PARAM_NUMBER]; /*²ÎÊý1/²ÎÊý2¡­£¬ÐÞ¸Ä/¶ÁÈ¡µÄÎïÀí²ã²ÎÊý£¬²ÎÊýʵ¼Êº¬ÒåÓÉÎïÀí²ã¸ø³ö*/
}T_zMmiaGrr_Zgpcg_Cnf;
/**************************************************************************
Ô­ÓMMIA_AS_LBS_REQ_EV
¹¦ÄÜ£º²éѯLBSÐÅÏ¢
¶ÔÓ¦ATÃüÁ+ZLBS
**************************************************************************/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
WORD wRspTime; /*LBS²éѯÇëÇóµÄ×î´óÏìӦʱ³¤£¬µ¥Î»:Ãë*/
}T_zMmiaAs_LBS_Req;
/**************************************************************************
Ô­ÓMMIA_AS_LBS_CNF_EV
¹¦ÄÜ£ºLBSÐÅÏ¢Éϱ¨
¶ÔÓ¦ATÃüÁ+ZLBS
**************************************************************************/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bAct; /* ÖÆÊ½ÐÅϢȡֵ:Z_LTE_ACT...*/
BYTE bCellNum;
T_zLBS_CellInfo atLbsCell[Z_MAX_LBS_CELL_NUM];/*·þÎñÐ¡ÇøÔÚµÚ0λÖÃ*/
}T_zMmiaAs_LBS_Cnf;
/**************************************************
*Ô­Óï: MMIA_AS_IMS_DATA_DELETE_REQ_EV
*¹¦ÄÜ: ֪ͨEPDCPɾ³ý¶ÔÓ¦CIDµÄÊý¾Ý
*¶ÔÓ¦ÃüÁî:+ZIMSDATADEL
*************************************************/
typedef struct {
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bCid;
BYTE bPadding;
}T_zMmiaEpdcp_DataDel_Req;
typedef struct {
BYTE bAct;
T_z_LAC tLac;
T_z_CellId tCellId;
T_z_PlmnId tPlmn;
}T_zMmiaNas_CellInfo;
/*==============================================================================
Ô­ÓMMIA_AS_UL_PARAM_IND_EV
˵Ã÷£º
==============================================================================*/
/* ASYNC --> ATI */
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
DWORD dwMCS; //save new value, report new value
DWORD dwAckCnt; //save total cnt, , report avearage value
DWORD dwNackCnt; //save total cnt,report avearage value
DWORD dwBSR; //save new value, , report new value
DWORD dwTBS; //save total cnt, report avearage value
}T_zAtiAs_UlParamInd;
/*================================================================
Ô­Óï:MMIA_AS_CARD_SWITCH_REQ_EV
˵Ã÷:APÏ·¢µÄÇп¨ÇëÇó(+ZCARDSWITCHREQ)
================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bSim1Act;/*0-È¥»î,1-¼¤»î*/
BYTE bSim2Act;/*0-È¥»î,1-¼¤»î*/
}T_zMmiaAs_CardSwitch_Req;
/*================================================================
Ô­Óï:MMIA_AS_CARD_SWITCH_CNF_EV
˵Ã÷:Çп¨ÇëÇóÏìÓ¦
================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bResult;/*0-Z_SUCC,1-Z_FAIL*/
BYTE bPadding;
}T_zMmiaAs_CardSwitch_Cnf;
/*================================================================
Ô­Óï:MMIA_AS_CARD_SWITCH_IND_EV
˵Ã÷:֪ͨEUCERÒµÎñÒòÇп¨ÒµÎñÐèÒª¹ÒÆð»òÕ߻ָ´
×¢ÊÍ:¸ÃÏûÏ¢²»ÐèÒª»Ø¸´
=================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bActStat;/*0-¹ÒÆð,1-»Ö¸´*/
BYTE bIsReEst;/*0-²»Öؽ¨,1ÖØ½¨*/
}T_zMmiaAs_CardSwitch_Ind;
/*==============================================================
Ô­Óï:MMIA_UMM_CARDSWITCH_REQ_IND_EV
˵Ã÷:UMM´¥·¢µÄÇп¨ÇëÇóÖ÷¶¯Éϱ¨
===============================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bSim1Act;/*0-È¥»î,1-¼¤»î*/
BYTE bSim2Act;/*0-È¥»î,1-¼¤»î*/
BYTE bSwitchStat;/*0-ÒµÎñ¿ªÊ¼ÇëÇóµÄÇп¨,1-ÒµÎñ½áÊø»ØÍË״̬µÄÇп¨*/
}T_zMmiaUmm_CardSwitchReq_Ind;
/*=========================º¯ÊýÉùÃ÷==========================*/
/* ==================================================================
º¯ÊýÃû³Æ: zUmm_IsSameOperPlmn
º¯Êý¹¦ÄÜ: ÅжÏÁ½¸öÍøÂçÊÇ·ñÊÇͬһ¸öÔËÓªÉÌÍøÂç
Êä Èë: ptPlmnId1,ptPlmnId2,ÐèÒª±È½ÏµÄÁ½¸öPLMNID
bInsNo,´ý»ú²àָʾ0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
Êä ³ö:
·µ »Ø: Z_VALIDͬһÔËÓªÉÌ,Z_INVALID²»Í¬ÔËÓªÉÌ
×¢ ÊÍ:
================================================================== */
extern BYTE zAti_IsSameOperPlmn(T_z_PlmnId *ptPlmnId1, T_z_PlmnId *ptPlmnId2, BYTE bInsNo);
/* ==================================================================
º¯ÊýÃû³Æ: zAti_IsCmccPlmnId
º¯Êý¹¦ÄÜ: ÅжÏÍøÂçÊÇ·ñΪÖÐÒÆÍø
Êä Èë: ptPlmnId,ÐèÒªÅжϵÄPLMNID
bInsNo,´ý»ú²àָʾ0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
Êä ³ö:
·µ »Ø: Z_VALIDÖÐÒÆ,Z_INVALID·ÇÖÐÒÆ
×¢ ÊÍ:
================================================================== */
extern BYTE zAti_IsCmccPlmnId(T_z_PlmnId *ptPlmnId, BYTE bInsNo);
/*********************************************
*º¯ÊýÃû³Æ:zAti_IsCTPlmnId
*º¯Êý¹¦ÄÜ:ÅжÏPLMNIDÊÇ·ñΪµçÐÅÍøÂç
*********************************************/
extern BYTE zAti_IsCTPlmnId(T_z_PlmnId *ptPlmnId, BYTE bInsNo);
/* ==================================================================
º¯ÊýÃû³Æ: zAti_GetOperByPlmnId
º¯Êý¹¦ÄÜ: ¸ù¾ÝÍøÂçÅжÏÔËÓªÉÌ
Êä Èë: ptPlmnId,ÐèÒªÅжϵÄPLMNID
bInsNo,´ý»ú²àָʾ0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
Êä ³ö:
·µ »Ø: 0ÒÆ¶¯1µçÐÅ2ÁªÍ¨3ÆäËû
×¢ ÊÍ:
================================================================== */
BYTE zAti_GetOperByPlmnId(T_z_PlmnId *ptPlmnId, BYTE bInsNo);
/*==================================================================
º¯ÊýÃû³Æ:zAti_GetAppointedOperPlmnbyOperPlmnId
º¯Êý¹¦ÄÜ:¸ù¾ÝÒ»¸öPLMNID»ñȡͬÊôÒ»¸öÔËÓªÉ̵ÄPLMNID
Êä Èë: ptPlmnIdËù¸ù¾ÝµÄPLMNID
bInsNo,´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
pVal,»ñÈ¡µÄͬһÔËÓªÉ̵ÄPLMNIDÊý¾Ý,Óɵ÷ÓÃÕßÉêÇëÄÚ´æ
Êä ³ö:
·µ »Ø: Z_VALID³É¹¦,Z_INVALIDʧ°Ü
×¢ ÊÍ:
==================================================================*/
extern BYTE zAti_GetAppointedOperPlmnByOperPlmnId(T_z_PlmnId *ptPlmnId, BYTE *pVal, BYTE bInsNo);
/*==================================================================
º¯ÊýÃû³Æ:zAti_GetAppointedOperPlmnByOperName
º¯Êý¹¦ÄÜ:¸ù¾ÝÔËÓªÉÌÃû³Æ»ñȡͬÊôÒ»¸öÔËÓªÉ̵ÄPLMNID
Êä Èë: bNameFg,Ãû³ÆÀàÐÍָʾ0³¤Ãû1¶ÌÃû
pNameÔËÓªÉÌÃû³Æ×Ö·û´®
bInsNo,´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
pVal,»ñÈ¡µÄͬһÔËÓªÉ̵ÄPLMNIDÊý¾Ý,Óɵ÷ÓÃÕßÉêÇëÄÚ´æ
Êä ³ö:
·µ »Ø: Z_VALID³É¹¦,Z_INVALIDʧ°Ü
×¢ ÊÍ:
==================================================================*/
extern BYTE zAti_GetAppointedOperPlmnByOperName(BYTE bNameFg, BYTE *pName, BYTE *pVal, BYTE bInsNo);
/*========================================================================================
º¯ÊýÃû³Æ:zAti_GetDualCardStat
º¯Êý¹¦ÄÜ:»ñȡʵÌ忨ºÍÔÆ¿¨µ±Ç°µÄ״̬
·µ»ØÖµ:
*pbSim1Stat:ʵÌ忨µÄ״̬0-È¥»î1-¼¤»î
*pbSim2Stat:ÔÆ¿¨µÄ״̬0-È¥»î1-¼¤»î
*pbIsCardSwitching:Ë«¿¨ÊÇ·ñÔÚÇл»¹ý³ÌÖÐ0-²»ÔÚ,1-ÔÚÇп¨
*×¢ÊÍ:Èç¹ûµ±Ç°ÔÚÇп¨¹ý³ÌÖÐ,pbSim1Stat/pbSim2StatÊǸôÎÇп¨Ç°µÄ״̬
=========================================================================================*/
extern BYTE zAti_GetDualCardStat(PBYTE pbSim1Stat, PBYTE pbSim2Stat, PBYTE pbIsCardSwitching);
/*========================================================================================
º¯ÊýÃû³Æ:zAt_IsBeepCallNum
º¯Êý¹¦ÄÜ:ÅжÏÊÇ·ñÊôÓÚ´óͨµÄECALLºÅÂë
=========================================================================================*/
extern BYTE zAt_IsBeepCallNum(T_z_CallNum *ptCheckedNum);
/*==================================================================
º¯ÊýÃû³Æ:zUmm_IsOtherPsSptSrvMove
º¯Êý¹¦ÄÜ:ÅжÏÁíÒ»´ý»ú²àÊÇ·ñÖ§³ÖÒµÎñ°áǨ
Êä Èë: bInsIdx,´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
Êä ³ö:
·µ »Ø: Z_VALIDÖ§³Ö,Z_INVALID²»Ö§³Ö
×¢ ÊÍ:
==================================================================*/
#ifdef Z_DUALSTANDBY
extern BYTE zUmm_IsOtherPsSptSrvMove(BYTE bInsIdx);
#endif
/*==================================================================
º¯ÊýÃû³Æ:zUmm_IsPlmnIdEqual
º¯Êý¹¦ÄÜ:ÅжÏÁ½¸öPLMNIDÊÇ·ñÏàͬ
Êä Èë: ptFstPlmn,ptSndPlmn´ý±È½ÏµÄÁ½¸öPLMNID
Êä ³ö:
·µ »Ø: Z_VALIDÏàͬ,Z_INVALID²»Ïàͬ
×¢ ÊÍ:
==================================================================*/
extern BYTE zUmm_IsPlmnIdEqual(T_z_PlmnId* ptFstPlmn, T_z_PlmnId* ptSndPlmn, BYTE bPsId);
/*==================================================================
º¯ÊýÃû³Æ:zUmm_GetCurAct_NasCom_ByIndex
º¯Êý¹¦ÄÜ:»ñÈ¡µ±Ç°ÖÆÊ½ÐÅÏ¢
Êä Èë: bInsIdx,´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
Êä ³ö:
·µ »Ø: ²Î¼ûatipscom.h(Z_NO_ACT/Z_TD_ACT/Z_W_ACT/Z_GSM_ACT/Z_LTE_ACT/Z_GSM_COMPACT_ACT)
×¢ ÊÍ:
==================================================================*/
extern BYTE __ps_static_func zUmm_GetCurAct_NasCom_ByIndex(BYTE bInsIdx);
/*****************************************************************************
* º¯ÊýÃû £ºzUmm_IsSysconfigSptSpecAct
* ¹¦ÄÜ £ºSysconfigÊÇ·ñÖ§³ÖÏìÓ¦µÄÖÆÊ½
* ÊäÈë²ÎÊý £ºÎÞ
* Êä³ö²ÎÊý £ºÎÞ
* ·µ»ØÖµËµÃ÷ Z_VALID\Z_INVALID
* ÆäËû˵Ã÷ £ºÎÞ
* linshengwei
*****************************************************************************/
BYTE zUmm_IsSysconfigSptSpecAct(BYTE bAct, BYTE bCurPsId);
/* ==================================================================
º¯ÊýÃû³Æ: zUmm_IsNeedChangeCfg
º¯Êý¹¦ÄÜ: Ë«¿¨Ë«´ýÅжÏÁ½ÕÅ¿¨ÊÇ·ñÐèÒª½»»»¿¨²Û
Êä Èë:
Êä ³ö:
·µ »Ø: Z_NO_NEED_CHANGE²»ÐèÒª½»»»/Z_NEED_CHANGEÐèÒª½»»»/Z_NEED_USER_DECIDEÓÉÓû§¾ö¶¨
×¢ ÊÍ:
================================================================== */
BYTE zUmm_IsNeedChangeCfg(VOID);
/*****************************************************************************
* º¯ÊýÃû : zUmm_IsCsfbProc
* ¹¦ÄÜ £ºµ±Ç°ÊÇ·ñ´¦ÓÚCsFb¹ý³Ì
* ÊäÈë²ÎÊý £º
* Êä³ö²ÎÊý £º
* ·µ»ØÖµËµÃ÷ £ºZ_VALID ÊÇCSFB¹ý³Ì / Z_INVALID£º²»ÊÇCSFB¹ý³Ì
* ÆäËû˵Ã÷ £ºÎÞ
*****************************************************************************/
extern BYTE zUmm_IsCsfbProc(BYTE bCurInsDex);
/*****************************************************************************
* º¯ÊýÃû : zUmm_IsInterRatChg
* ¹¦ÄÜ £ºµ±Ç°ÊÇ·ñ´¦ÓÚ¿çÖÆÊ½¹ý³Ì
* ÊäÈë²ÎÊý £º
* Êä³ö²ÎÊý £º
* ·µ»ØÖµËµÃ÷ £ºZ_VALID ÊÇ¿çÖÆÊ½¹ý³ÌÖÐ / Z_INVALID£º²»ÊÇ¿çÖÆÊ½¹ý³Ì
* ÆäËû˵Ã÷ £ºÎÞ
*****************************************************************************/
extern BYTE zUmm_IsInterRatChg(BYTE bCurInsDex);
extern BYTE zUmm_GetEnvelopLoci(T_zMmiaNas_CellInfo* ptLocation);
/*===========================================================
º¯ÊýÃû³Æ:zSm_IsDefPdpContextUsing
º¯Êý¹¦ÄÜ:ÅжÏCIDÊÇ·ñÔÚʹÓÃ
Êä Èë: bCid,´ýÅжϵÄCID
bInsNo,´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
Êä ³ö:
·µ »Ø: Z_SUCCÔÚʹÓÃ,Z_FAILδÔÚʹÓÃ
×¢ ÊÍ:
============================================================*/
extern BYTE zSm_IsDefPdpContextUsing(BYTE bInsNo, BYTE bCid);
/*===========================================================
º¯ÊýÃû³Æ:zEsm_IsDefPdpContextUsing
º¯Êý¹¦ÄÜ:ÅжÏCIDÊÇ·ñÔÚʹÓÃ
Êä Èë: bCid,´ýÅжϵÄCID
bInsNo,´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
Êä ³ö:
·µ »Ø: Z_SUCCÔÚʹÓÃ,Z_FAILδÔÚʹÓÃ
×¢ ÊÍ:
============================================================*/
extern BYTE zEsm_IsDefPdpContextUsing(BYTE bInsNo, BYTE bCid);
/*===========================================================
º¯ÊýÃû³Æ:zSm_GetPdpInfoByCid
º¯Êý¹¦ÄÜ:ÅжÏCIDÊÇ·ñ¼¤»î²¢»ñÈ¡¼¤»îÐÅÏ¢
Êä Èë: bCid,´ýÅжϵÄCID
bInsNo,´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
Êä ³ö: ptSaveAddr¼¤»îµÄµØÖ·ÐÅÏ¢,Óɵ÷ÓÃÕßÉêÇëÄÚ´æ
ptPcoOut¼¤»îµÄPCOÐÅÏ¢,Óɵ÷ÓÃÕßÉêÇëÄÚ´æ
·µ »Ø: Z_SUCCÒѾ­¼¤»î,Z_FAILδ¼¤»î
×¢ ÊÍ:
============================================================*/
extern BYTE zSm_GetPdpInfoByCid(BYTE bInsNo, BYTE bCid, T_zMmiaSm_PdpAddr *ptSaveAddr, T_zMmiaSm_PcoInfo *ptPcoOut);
/*===========================================================
º¯ÊýÃû³Æ:zEsm_GetPdpInfoByCid
º¯Êý¹¦ÄÜ:ÅжÏCIDÊÇ·ñ¼¤»î²¢»ñÈ¡¼¤»îÐÅÏ¢
Êä Èë: bCid,´ýÅжϵÄCID
bInsNo,´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
Êä ³ö: ptMmiaPdpAddr¼¤»îµÄµØÖ·ÐÅÏ¢,Óɵ÷ÓÃÕßÉêÇëÄÚ´æ
ptMmiaPcoInfo¼¤»îµÄPCOÐÅÏ¢,Óɵ÷ÓÃÕßÉêÇëÄÚ´æ
·µ »Ø: Z_SUCCÒѾ­¼¤»î,Z_FAILδ¼¤»î
×¢ ÊÍ:
============================================================*/
extern BYTE zEsm_GetPdpInfoByCid(BYTE bInsNo, BYTE bCid, T_zMmiaSm_PdpAddr *ptMmiaPdpAddr, T_zMmiaSm_PcoInfo *ptMmiaPcoInfo);
/*=========================================================
º¯ÊýÃû³Æ:zEsm_SendEsmATCommand
º¯Êý¹¦ÄÜ:Åжϵ±Ç°ÏûÏ¢ÊÇ·ñ·¢¸ø4GÄ£¿é
Êä Èë: bInsNo,´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
Êä ³ö:
·µ »Ø: Z_VALIDÊÇ,Z_INVALID·ñ
×¢ ÊÍ:
==========================================================*/
extern BYTE zEsm_SendEsmATCommand(BYTE bInsNo);
/*=========================================================
º¯ÊýÃû³Æ:zEsm_IsImsBearer
º¯Êý¹¦ÄÜ:ÅжÏÖ¸¶¨CidÊÇ·ñÊÇIMS³ÐÔØ
Êä Èë: bCid
bInsNo ´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
Êä ³ö:
·µ »Ø: Z_VALIDÊÇ,Z_INVALID·ñ
×¢ ÊÍ:
==========================================================*/
extern BYTE zEsm_IsImsBearer(BYTE bCid, BYTE bInsNo);
/*=========================================================
º¯ÊýÃû³Æ:zStm_CardLostInd
º¯Êý¹¦ÄÜ:֪ͨµ±Ç°ÒѾ­°Î¿¨
Êä Èë: tTaskIdx,´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
==========================================================*/
extern VOID zStm_CardLostInd(T_zStm_TaskIdx tTaskIdx);
/*===========================================================
º¯ÊýÃû³Æ:zStmPb_SetMode
º¯Êý¹¦ÄÜ:֪ͨÊÇ·ñΪMTNET ²âÊÔģʽ
Êä Èë: isMTNetTest,1ÊÇ,0·ñ
tTaskIdx,´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
==========================================================*/
extern VOID zStmPb_SetMode(BOOL isMTNetTest, T_zStm_TaskIdx bIndex);
/*==================================================================
º¯ÊýÃû³Æ:zStm_MmiaSms_CmglReq_Proc
º¯Êý¹¦ÄÜ:¶ÌÐÅÁбíÇëÇó
Êä Èë: msgData,ÇëÇóÏûÏ¢ÄÚÈÝ,²Î¼ûT_zApMmia_ListSm_Req,Óɵ÷ÓÃÕßÉêÇëÄÚ´æ
msgLen,ÇëÇóÏûÏ¢³¤¶È
tTaskIdx,´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
===================================================================*/
extern VOID zStm_MmiaSms_CmglReq_Proc(const VOID *msgData, UINT16 msgLen,T_zStm_TaskIdx tTaskIdx);
/*==================================================================
º¯ÊýÃû³Æ:zStm_MmiaPb_AddUserEn_Proc
º¯Êý¹¦ÄÜ:Ôö¼Ó½ô¼±ºÅÂë
Êä Èë: msgData,ÇëÇóÏûÏ¢ÄÚÈÝ,²Î¼ûT_ZAti_EmerNum_Req,Óɵ÷ÓÃÕßÉêÇëÄÚ´æ
msgLen,ÇëÇóÏûÏ¢³¤¶È
tTaskIdx,´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
===================================================================*/
extern VOID zStm_MmiaPb_AddUserEn_Proc(const VOID *msgData, UINT16 msgLen,T_zStm_TaskIdx tTaskIdx);
/*==================================================================
º¯ÊýÃû³Æ:zStm_AtiSms_CmgdTest_Proc
º¯Êý¹¦ÄÜ:¶ÌÐŲâÊÔÃüÁîÇëÇó
Êä Èë: msgData,ÇëÇóÏûÏ¢ÄÚÈÝ,²Î¼ûT_zApMmia_ListSm_Req,Óɵ÷ÓÃÕßÉêÇëÄÚ´æ
msgLen,ÇëÇóÏûÏ¢³¤¶È
tTaskIdx,´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
===================================================================*/
extern VOID zStm_AtiSms_CmgdTest_Proc(const VOID *msgData, UINT16 msgLen,T_zStm_TaskIdx tTaskIdx);
/*==================================================================
º¯ÊýÃû³Æ:zStmPb_CpbrSynHandle
º¯Êý¹¦ÄÜ:µç»°±¾¶ÁÈ¡ÇëÇó
Êä Èë: pCpbrReq,ÇëÇóÏûÏ¢ÄÚÈÝ,Óɵ÷ÓÃÕßÉêÇëÄÚ´æ²¢ÌîдÇëÇóÄÚÈÝ
pCpbrCnf,¶ÁÈ¡µÄ½á¹û,Óɵ÷ÓÃÕßÉêÇëÄÚ´æ²¢³õʼ»¯
tTaskIdx,´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
Êä ³ö: pCpbrCnf,¶ÁÈ¡µÄ½á¹û
===================================================================*/
extern VOID zStmPb_CpbrSynHandle(const T_zStm_Cpbr_Req *pCpbrReq, T_zStm_Cpbr_Cnf *pCpbrCnf,T_zStm_TaskIdx tTaskIdx);
/*==================================================================
º¯ÊýÃû³Æ:zStmPb_FindNumByName
º¯Êý¹¦ÄÜ:ͨ¹ýÃû³Æ²éÕҵ绰±¾ÖÐËù¶ÔÓ¦µÄºÅÂë
Êä Èë: ptPhoneText,Ãû³Æ×Ö·û,Óɵ÷ÓÃÕßÉêÇëÄÚ´æ²¢ÌîдÄÚÈÝ
ptQryPbResult,µ÷ÓÃÕßÉêÇëÄÚ´æ,±»µ÷ÓÃÕßÌîд²éÕÒµÄÄÚÈÝ
tTaskIdx,´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
Êä ³ö: ptQryPbResult,²éÕҵĽá¹û
===================================================================*/
extern VOID zStmPb_FindNumByName(const T_zApMmia_PhoneText *ptPhoneText,T_zApMmia_QryPhoneResult *ptQryPbResult,T_zStm_TaskIdx tTaskIdx);
/**************************************************************************
* º¯ÊýÃû³Æ: zStmSms_MtSmStrgFullHandle
* ¹¦ÄÜÃèÊö: ´æ´¢SM´æ´¢Æ÷ÓöÂúµÄÇé¿ö´¦Àí
* ²ÎÊý˵Ã÷: (IN)
* (OUT)
* ·µ »Ø Öµ:
* ÆäËü˵Ã÷: Ìṩ¸øATIµÄ½Ó¿Ú£¬MT=2,APÂú£¬CSMS=0ʱ£¬Í¨ÖªÍø²à²»¿ÉÓã¬
* STMÖÃMCENF
**************************************************************************/
extern VOID zStmSms_MtStrgFullHandle(T_zStm_TaskIdx tTaskIdx);
/*============================================================
º¯ÊýÃû³Æ:zStmSms_GetMemStatus
º¯Êý¹¦ÄÜ: ²éѯ¶ÌÏûÏ¢´æ´¢Æ÷״̬
Êä Èë: bMem: ´æ´¢Æ÷ID
Êä ³ö: pwMemCapacity: ´æ´¢Æ÷ÈÝÁ¿
pwMemUsed: ÒÑÓô洢Æ÷¿Õ¼ä
·µ »Ø Öµ: ÎÞ
=============================================================*/
extern VOID zStmSms_GetMemStatus(BYTE bMem, WORD *pwMemCapacity, WORD *pwMemUsed,T_zStm_TaskIdx tTaskIdx);
/*============================================================================
º¯ÊýÃû³Æ:zStmPb_QueryNumType
º¯Êý¹¦ÄÜ: ²éѯµ±Ç°ºÅÂëÊÇ·ñΪ½ô¼±ºÅÂë
Êä Èë: ptBcdNum: ºÅÂë,Óɵ÷ÓÃÕßÉêÇëÄÚ´æ²¢Ìîд
tPlmnAct:µ±Ç°×¤ÁôµÄPLMNID
tTaskIdx,´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
Êä ³ö: ptNumType: »ñÈ¡µÄºÅÂëÀàÐÍ,Z_APMMIA_NUMTYPE_ECCCALLµÈºêÖµ¶¨Òå²Î¼ûatipsint.h
·µ »Ø Öµ: ÎÞ
==============================================================================*/
extern VOID zStmPb_QueryNumType(const T_z_CallNum *ptBcdNum, T_zApMmia_NumType *ptNumType, T_zPS_PlmnId tPlmnAct, T_zStm_TaskIdx tTaskIdx);
/*============================================================
º¯ÊýÃû³Æ:zStmPb_FindNumByIndex
º¯Êý¹¦ÄÜ: ͨ¹ýË÷ÒýÖµ²éÕҵ绰±¾ÖеĺÅÂë
Êä Èë: ptIndexReq: Ë÷ÒýÖµ,Óɵ÷ÓÃÕßÉêÇëÄÚ´æ²¢Ìîд
ptQryPbResult,²éѯµÄ½á¹û,Óɵ÷ÓÃÕßÉêÇëÄÚ´æ²¢³õʼ»¯
tTaskIdx,´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
Êä ³ö: ptQryPbResult: ²éÕҵĽá¹û,Óɱ»µ÷ÓõÄÒ»·½Ìîд
·µ »Ø Öµ: ÎÞ
=============================================================*/
extern VOID zStmPb_FindNumByIndex(const T_zApMmia_PbFindIndex *ptIndexReq, T_zApMmia_QryPhoneResult *ptQryPbResult,T_zStm_TaskIdx tTaskIdx);
/*============================================================
º¯ÊýÃû³Æ:zStmPb_FindNameByNum
º¯Êý¹¦ÄÜ: ͨ¹ýºÅÂë²éѯµç»°±¾ÀïµÄÃû³Æ
Êä Èë: T_z_CallNum: Ë÷ÒýÖµ,Óɵ÷ÓÃÕßÉêÇëÄÚ´æ²¢Ìîд
ptQryPbResult,²éѯµÄ½á¹û,Óɵ÷ÓÃÕßÉêÇëÄÚ´æ²¢³õʼ»¯
tTaskIdx,´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
Êä ³ö: ptQryPbResult: ²éÕҵĽá¹û,Óɱ»µ÷ÓõÄÒ»·½Ìîд
·µ »Ø Öµ: ÎÞ
=============================================================*/
extern VOID zStmPb_FindNameByNum(const T_z_CallNum *ptBcdNum, T_zApMmia_QryPhoneResult *ptQryPbResult,T_zStm_TaskIdx tTaskIdx);
/*============================================================
º¯ÊýÃû³Æ:zStmPb_GetEccNum
º¯Êý¹¦ÄÜ: »ñÈ¡½ô¼±ºÅÂëÁбí
Êä Èë: pEmerNumList: ²éѯµÄ½á¹û,Óɵ÷ÓÃÕßÉêÇëÄÚ´æ²¢³õʼ»¯
tTaskIdx,´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
Êä ³ö: pEmerNumList: ²éÕҵĽá¹û,Óɱ»µ÷ÓõÄÒ»·½Ìîд²éÕÒ½á¹û
·µ »Ø Öµ: ÎÞ
=============================================================*/
extern VOID zStmPb_GetEccNum(T_zApMmia_EmerNumList *pEmerNumList,T_zStm_TaskIdx tTaskIdx);
/*============================================================
º¯ÊýÃû³Æ:zStmPb_EmerNumListInd_Proc
º¯Êý¹¦ÄÜ: ±£´æ½ô¼±ºÅÂëÁбí
Êä Èë: emerNumList_Ind: ½ô¼±ºÅÂëÁбí,Óɵ÷ÓÃÕßÉêÇëÄÚ´æ²¢Ìîд
tTaskIdx,´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
Êä ³ö: ÎÞ
·µ »Ø Öµ: TRUE,ºÅÂë±£´æ³É¹¦²¢ÐèÒªÏòAP²àÉϱ¨½ô¼±ºÅÂë
FALSE,²»ÐèÒªÉϱ¨½ô¼±ºÅÂë
=============================================================*/
extern BOOL zStmPb_EmerNumListInd_Proc(T_zApMmia_PbEmerNumList_Ind emerNumList_Ind, T_zStm_TaskIdx tTaskIdx);
/*=========================================================
º¯ÊýÃû³Æ:zEucsr_GetBandInfo
º¯Êý¹¦ÄÜ:»ñÈ¡µ±Ç°LTEÖÆÊ½×¤ÁôµÄƵ¶Î
Êä Èë: pbBand,פÁôƵ¶Î,Óɵ÷ÓÃÕßÉêÇëÄÚ´æ²¢³õʼ»¯
Êä ³ö: pbBand,µ±Ç°×¤ÁôµÄƵ¶Î,Óɱ»µ÷ÓÃÕßÌîд
·µ »Ø Öµ: ÎÞ
==========================================================*/
extern VOID zEucsr_GetBandInfo(PBYTE pbBand);
/*==========================================================================
º¯ÊýÃû³Æ:zUrbc_GetBandInfo
º¯Êý¹¦ÄÜ:»ñÈ¡TDÖÆÊ½Ï£¬Ö÷ƵºÍ¸¨Æµ¶ÔÓ¦µÄƵ¶ÎÐÅÏ¢
Êä Èë: ÎÞ
Êä ³ö: pbPriBand:Ö÷ƵµãËùÊôƵ¶ÎÖ¸Õ룬pbSupBand:¸¨ÆµµãËùÊôƵ¶ÎÖ¸Õë
·µ »Ø Öµ:ÎÞ
============================================================================*/
extern VOID zUrbc_GetBandInfo(PBYTE pbPriBand, PBYTE pbSupBand);
/*==========================================================================
º¯ÊýÃû³Æ:zWrbc_GetBandInfo
º¯Êý¹¦ÄÜ:»ñÈ¡WÖÆÊ½Ïµ±Ç°×¤ÁôµÄƵ¶Î
Êä Èë: ÎÞ
Êä ³ö: pbPriBand:ƵµãËùÊôƵ¶ÎÖ¸Õë
·µ»ØÖµËµÃ÷ £ºÎÞ
ÆäËû˵Ã÷ £ºÎÞ
============================================================================*/
#ifdef PS_RAT_FDD
extern VOID zWrbc_GetBandInfo(PBYTE pbPriBand);
#endif
/*=======================================================
º¯ÊýÃû³Æ:zEucer_GetRrcStateForMmia
º¯Êý¹¦ÄÜ:»ñÈ¡RRC״̬
Êä Èë: bInsNo´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
Êä ³ö: ÎÞ
·µ »Ø Öµ:1 - RRC Idle
3- RRC Connected
=======================================================*/
extern BYTE zEucer_GetRrcStateForMmia(BYTE bInsNo);
/*=======================================================
º¯ÊýÃû³Æ:zEmm_GetCurState
º¯Êý¹¦ÄÜ:»ñÈ¡EMM״̬
Êä Èë: ÎÞ
Êä ³ö: ÎÞ
·µ »Ø Öµ:
0 - EMM-NULL
1 - EMM-DEREGISTERED
2 - EMM- EMM-REGISTERED
3 - EMM- REGISTERED-INITIATED
4 - EMM- TRACKING-AREA-UPDATING-INITIATED
5 - EMM- SERVICE-REQUEST-INITIATED
6 - EMM- DEREGISTERED-INITIATED
7 - EMM- MTDEREGISTERED-INITATED
8 - EMM- EXTEND-SERVICE-REQUEST -INITATED
=======================================================*/
extern BYTE zEmm_GetCurState(BYTE bInsNo);
/*=======================================================
º¯ÊýÃû³Æ:zCc_CbstCheck
º¯Êý¹¦ÄÜ:¼ì²é+CBST¸÷ÃüÁî²ÎÊýµÄºÏ·¨ÐÔ
Êä Èë:pSpeed £­ËÙÂÊ
pName £­Í¬²½/Òì²½
pCe £­Í¸Ã÷/·Ç͸Ã÷
Êä ³ö: ÎÞ
·µ »Ø Öµ:Z_FAIL,²ÎÊý·Ç·¨
Z_SUCC,²ÎÊýºÏ·¨
=======================================================*/
extern BYTE zCc_CbstCheck(PBYTE pSpeed, PBYTE pName, PBYTE pCe);
extern BYTE zCc_GetCallState(BYTE bInsIdx);
#ifdef ECALL_SUPPORT
extern BYTE zCc_IsWaitMsdUpdate(BYTE bInsIdx);
extern BYTE zUmm_GetUeeCallSpt(BYTE bIndex);
#endif
/*============================================================
º¯ÊýÃû : zEusir_GetAtiLastCellSIBInfo
º¯Êý¹¦ÄÜ:·µ»Ø×îºóÒ»´Î¶ÁÈ¡SIB1³É¹¦ºóÐ¡ÇøÐÅÏ¢,¹©ATIµ÷ÓÃ
Êä Èë: bInsNo´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
·µ »Ø Öµ:
=============================================================*/
extern T_zMmiaAs_CellInfo zEusir_GetAtiLastCellSIBInfo(BYTE bInsNo);
/*==================================================================
º¯ÊýÃû³Æ: zApMmia_SmsListMsgConversion
º¯Êý¹¦ÄÜ: ½«PBµÄÁоٶÌÐÅ»ØÓ¦µÄ½á¹¹Ìåת»»ÎªATI´¦ÀíµÄ½á¹¹Ìå
Êä Èë: ptListSmRltÁоٶÌÐÅÈ·ÈϵÄÏûÏ¢½á¹¹Ìå
bInstance´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
Êä ³ö: pSmsMsgContentת»»ºóµÄÏûÏ¢Óë½á¹¹Ìå
·µ»Ø Öµ: ת»»½á¹û£º
Z_APMMIA_OPERATION_FAILURE
Z_APMMIA_OPERATION_SUCCESS
===================================================================*/
extern BYTE zApMmia_SmsListMsgConversion(T_zApMmia_ListSmRlt *ptListSmRlt, T_zApMmia_SmsMsgContent *ptSmsMsgContent, BYTE bInstance);
/*=========================================================
º¯ÊýÃû³Æ:zAt_GetZcwaSetFlg
º¯Êý¹¦ÄÜ:»ñÈ¡µ±Ç°ZCWAÉèÖõÄÖµ
Êä Èë: bInsNo´ý»ú²àָʾ,0±íʾ´ý»ú²à1,1±íʾ´ý»ú²à2
Êä ³ö:
·µ »Ø Öµ: 0:ÊÕµ½waiting callʱֱ½Ó¾Ü¾ø²»Éϱ¨£¬1:Õý³£Éϱ¨
==========================================================*/
#ifdef USE_VOICE_SUPPORT
extern BYTE zAt_GetZcwaSetFlg(BYTE bInsNo);
#endif
extern UINT16 zAt2_UtilNp7bitToAscii( const UINT8 *pStr7bitPtr, UINT8 *pAsciiStrPtr, UINT16 i7bitLength);
extern T_z_PlmnId zAti_GetCurrPlmn(BYTE bInsIdx);
extern int get_cid_state(unsigned char cid);
extern BYTE zAti_GetS0Value(VOID);
extern DWORD zAti_GetUlRateIndTimerVal(BYTE bInsIdx);
extern VOID zAs_AddNasTraceInfo(BYTE bRat, WORD bCeer, BYTE ModeId, BYTE bDomain);
#endif