blob: 57d364fef3560d443c1aaff17c599727fdfb7625 [file] [log] [blame]
/*****************************************************************************
*°æ±¾ËùÓÐ (C)2007ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾
* Ä£¿éÃû £º
* ÎļþÃû £ºapUiccInt.h
* Îļþ±êʶ£º
* Ïà¹ØÎļþ£º
* ʵÏÖ¹¦ÄÜ£ºUICC¶ÔÍâÌṩµÄ½Ó¿ÚÊý¾Ý½á¹¹¶¨Òå
* ×÷Õß £º
* °æ±¾ £º1.0.0
* Íê³ÉÈÕÆÚ£º2007.10.1
* ÆäËü˵Ã÷£º
*
* Ð޸ļǼ1£º
* ÈÕ ÆÚ£º2008.7.24
* ÐÞ¸ÄÈË£ºluhuan
* ÐÞ¸ÄÄÚÈÝ£¨×¢:°üÀ¨Ð޸ĵÄÔ­Òò¼°º¯Êý£©£º
* 1)Efecc Efad EfsstµÈ½á¹¹ÒÔÂú×ã2G3G½á¹¹µÄºÏ²¢
* 2)ÐÞ¸ÄÁËkeyid
* 3)½«Ô­¶¨ÒåÔÚ±à½âÂë³öµÄ2GÎļþ½á¹¹ÌáÈ¡³ö²¢·ÅÈëapUiccInit.hÖÐ
* Ð޸ļǼ2£º
* ÈÕ ÆÚ£º2008.9.4
* ÐÞ¸ÄÈË£ºluhuan
* ÐÞ¸ÄÄÚÈÝ£¨×¢:°üÀ¨Ð޸ĵÄÔ­Òò¼°º¯Êý£©£º
* 1)Ϊ×ñÑ­½á¹¹4×Ö½Ú¶ÔÆë£¬¶ÔÏÂÁнṹÔö¼ÓÌî³ä×Ö½Ú£º
T_zPS_UICC_ACMmax¡¢T_zPS_UICC_GID1¡¢T_zPS_UICC_GID2¡¢T_zPS_UICC_CBMI¡¢
T_zPS_UICC_Cbmid¡¢T_zPS_UICC_Ext2¡¢T_zPS_UICC_Ext3¡¢T_zPS_UICC_Sll
2)ÏÂÁÐ½á¹¹ÒÆÈëpsCom.h£º
T_zPS_UICC_HpPlmnSrhPrd£½¡·T_zPS_UiccId_HpPlmnSrhPrd
T_zPS_UICC_ACC£½¡·T_zPS_UiccId_ACC
T_zPS_UICC_Aaem£½¡·T_zPS_UiccId_Aaem
* Ð޸ļǼ3£º
* ÈÕ ÆÚ£º2008.10.15
* ÐÞ¸ÄÈË£ºluhuan
* ÐÞ¸ÄÄÚÈÝ£º
* 1)Ϊ֧³Ö¿¨ÖÐRFU×ֶα䳤´¦Àí£¬½á¹¹T_zPS_UICC_SmssÖÐÔö¼ÓbRfuNum²ÎÊý¡£
* Ð޸ļǼ4£º
* ÈÕ ÆÚ£º2008.10.27
* ÐÞ¸ÄÈË£ºluhuan
* ÐÞ¸ÄÄÚÈÝ£º
* 1)ust½á¹¹Ð޸쬽«Ô­ÏÈûÓж¨ÒåµÄextensionÎļþ±ê¼Ç붨Òå½øÈ¥
* 2)Ôö¼ÓCBMIDÊý×éÉÏÏÞ
* 3ÐÞ¸ÄEFplmnsel½á¹¹£¬Ð޸ķ½Ê½·ÂÔìFPLMN
* Ð޸ļǼ5£º
* ÈÕ ÆÚ£º2008.12.15
* ÐÞ¸ÄÈË£ºyangyun
* ÐÞ¸ÄÄÚÈÝ£º
* 1)T_zPS_ApUicc_Auth_Cnf½á¹¹Ð޸ģ¬Ôö¼ÓbResLen²ÎÊý£¬ÒÔָʾʵ¼ÊRESÓÐЧ¸öÊý
* Ð޸ļǼ6£º
* ÈÕ ÆÚ£º2009.01.13
* ÐÞ¸ÄÈË£ºluhuan
* ÐÞ¸ÄÄÚÈÝ£º
* 1)Ð޸ĽṹÌåVgcs Vbs Cpbcch½á¹¹ÒÔ±ÜÃâWORD´óС¶ËÎÊÌâ
* Ð޸ļǼ7£º
* ÈÕ ÆÚ£º2009.02.16
* ÐÞ¸ÄÈË£ºluhuan
* ÐÞ¸ÄÄÚÈÝ£º
* 1)Ô­°Î¿¨ÏûÏ¢£¬ÏÔʽʹÓÃNoCardIndÏûϢ֪ͨЭÒéÕ»ºÍMMI¡£ÏÖMMIÒªÇó²å¡¢°Î¿¨ºÏÓÃÒ»ÌõÏûÏ¢¡£
ÔòNoCardInd½öÓÃÓÚЭÒéÕ»£¬¹Êɾ³ýÔ­½á¹¹ÖÐbSrcIndex¡¢bDestIndex£¬¸Ä±äΪ¿ÕÏûÏ¢¡£
* Ð޸ļǼ8£º
* ÈÕ ÆÚ£º2009.02.23
* ÐÞ¸ÄÈË£ºjiangzhaochun
* ÐÞ¸ÄÄÚÈÝ£º
* 1)T_zPS_UICC_SimPlmnsel½á¹¹±»Òƶ¯µ½psCom.hÖУ¬´Ë½á¹¹±»É¾³ý¡£
* Ð޸ļǼ9£º
* ÈÕ ÆÚ£º2008.02.24
* ÐÞ¸ÄÈË: luhuan
* ÐÞ¸ÄÄÚÈÝ£º
* 1)Ö§³ÖUSAT¹¦ÄÜ
* 2)ɾ³ýÈßÓàµÄRFU¶¨Òå×ֶΣºT_zPS_UICC_Ad¡¢T_zPS_UICC_SimCCP
* Ð޸ļǼ9£º
* ÈÕ ÆÚ£º2009.03.18
* ÐÞ¸ÄÈË: wangxiaojin
* ÐÞ¸ÄÄÚÈÝ£º
* 1)Ð޸ĺêÖµZPS_APUICC_USAT_MAX_REMADDR_LEN,ZPS_APUICC_USAT_MAX_ITEM_NUM£»
* 2)ɾ³ý½á¹¹T_zPS_ApUicc_USAT_SmsDownCnfµÄbComRlt£»
* 3)ÔڽṹT_zPS_ApUicc_USAT_EnvelopCmd_CnfÖÐÔö¼Ó´íÎóÂ룻
* 4)ɾ³ý½á¹¹T_zPS_ApUicc_USAT_CallCtrlActµÄbStructFg, ÓÉbUnion±íʾ´æÔÚÐÔ;
* 5)ɾ³ý½á¹¹T_zPS_ApUicc_USAT_CallCtrlµÄCtrStrFg,ÓÉ bUnion±íʾ´æÔÚÐÔ;
* 6)Ôö¼Óusat½á¹¹ÖÐunionȡֵ±êʶλµÄ×¢ÊÍ£»
* 7)½«USATÃüÁî½á¹¹ÖеÄÔ´Ä¿µÄË÷Òýɾ³ý£¬²¢×Ö½Ú¶ÔÆë£»
* Ð޸ļǼ10£º
* ÈÕ ÆÚ£º2009.03.30
* ÐÞ¸ÄÈË: luhuan
* ÐÞ¸ÄÄÚÈÝ£º
* 1)Ð޸ĺêÖµZPS_UICC_LEN_FPLMN´Ó6µ½85,°´¿¨ÖÐÎļþ×î´ó³¤¶È¶¨Òå
* Ð޸ļǼ11£º
* ÈÕ ÆÚ£º2009.04.08
* ÐÞ¸ÄÈË: luhuan
* ÐÞ¸ÄÄÚÈÝ£º
* 1)ΪÁ˱ÜÃâÓëpsCom.hÖнṹ¶¨Òå³åÍ»£¬ÌØÒƳýÒÔϽṹ£º
Efad EFkeys EFkeysps EFkc EFkcgprs Efhplmn EFuplmn Efoplmn Efstart Efthreshold
* Ð޸ļǼ12£º
* ÈÕ ÆÚ£º2009.04.21
* ÐÞ¸ÄÈË: luhuan
* ÐÞ¸ÄÄÚÈÝ£ºÐ޸ĽṹT_zPS_UICC_CBMI£¬T_zPS_UICC_Cbmir
* Ð޸ļǼ13£º
* ÈÕ ÆÚ£º2009.4.28
* ÐÞ¸ÄÈË£ºluhuan
* ÐÞ¸ÄÄÚÈÝ£¨×¢:°üÀ¨Ð޸ĵÄÔ­Òò¼°º¯Êý£©£º
* Ϊʹ¶ÁÈ¡¸üгɹ¦£¬ ÔÝʱÔö´ó²¿·ÖºêÖµ£¬
* ZPS_UICC_LEN_LIDATA , ZPS_UICC_LEN_FDN , ZPS_UICC_LEN_SDN,
ZPS_UICC_LEN_ICI, ZPS_UICC_LEN_OCI , ZPS_UICC_LEN_CCP2, ZPS_UICC_LEN_BDN ,
ZPS_UICC_LEN_EST, ZPS_UICC_LEN_ACL, ZPS_UICC_LEN_NIA, ZPS_UICC_LEN_IAP,
ZPS_UICC_LEN_ADN, ZPS_UICC_LEN_AAS , ZPS_UICC_LEN_GAS, ZPS_UICC_LEN_SNE ,
ZPS_UICC_LEN_CCP1, ZPS_UICC_LEN_EMAIL, ZPS_UICC_SIM_LP , ZPS_UICC_SIM_LND
* Ð޸ļǼ14£º
* ÈÕ ÆÚ£º2009.07.02
* ÐÞ¸ÄÈË: luhuan
* ÐÞ¸ÄÄÚÈÝ£ºÔö¼Ó½á¹¹
T_zPS_ApUicc_PinEnableQuery_Req
T_zPS_ApUicc_PinEnableQuery_Cnf
T_zPS_ApUicc_PinStatQurey_Req
T_zPS_ApUicc_PinStatQurey_Cnf
T_zPS_ApUicc_CardMode_Req
T_zPS_ApUicc_CardMode_Cnf
Ð޸Ľṹ: T_zPS_ApUicc_NoCard_Ind
Ôö¼Óºê:
ZPS_ApUicc_SET_OK
ZPS_ApUicc_PIN_READY
ZPS_ApUicc_PIN_SIMPIN
ZPS_ApUicc_PIN_SIMPUK
ZPS_ApUicc_PIN_SIMPIN2
ZPS_ApUicc_PIN_SIMPUK2
ZPS_ApUicc_PIN_NOTACTIVE
ZPS_ApUicc_PIN_ACTIVE
ZPS_ApUicc_CARD_STAUTS_INVALID
ZPS_ApUicc_CARD_STAUTS_NOCARD
ZPS_ApUicc_CARD_STAUTS_PINERROR
ZPS_ApUicc_CARD_STAUTS_NEEDUNBLPIN
ZPS_ApUicc_CARD_STAUTS_EVULSION
ZPS_ApUicc_CARD_TYPE_UICC
ZPS_ApUicc_CARD_TYPE_SIM
ZPS_ApUicc_CARD_TYPE_NULL
* Ð޸ļǼ15£º
* ÈÕ ÆÚ£º2009.07.16
* ÐÞ¸ÄÈË: luhuan
* ÐÞ¸ÄÄÚÈÝ£ºÐ޸Ľṹ
T_zPS_ApUicc_PinStatQurey_Cnf
T_zPS_ApUicc_PinEnableQuery_Cnf
½«¿¨×´Ì¬ºêÖµÒÆÈëpsCom.hÖÐ
* Ð޸ļǼ16£º
* ÈÕ ÆÚ£º2009.07.21
* ÐÞ¸ÄÈË: luhuan
* ÐÞ¸ÄÄÚÈÝ£ºÐÞ¸Ä SMSÎļþ½á¹¹
* Ð޸ļǼ17£º
* ÈÕ ÆÚ£º2009.07.27
* ÐÞ¸ÄÈË: luhuan
* ÐÞ¸ÄÄÚÈÝ£ºÐ޸ij¤¶ÈÎÞ±êʾÇé¿ö£¬Ð޸ĽṹÈçÏÂ
T_zPS_UICC_SimLND
T_zPS_UICC_Dir
T_zPS_UICC_Fdn
T_zPS_UICC_Msisdn
T_zPS_UICC_Sdn
T_zPS_UICC_Ici
T_zPS_UICC_Oci
T_zPS_UICC_Bdn
T_zPS_UICC_Cmi
T_zPS_UICC_Mbdn
T_zPS_UICC_Adn
T_zPS_UICC_Sne
T_zPS_UICC_Aas
T_zPS_UICC_Gas
T_zPS_UICC_Email
T_zPS_UICC_ApPbEntry
T_zPS_UICC_ApEmail;T_zPS_UICC_ApSne
* Ð޸ļǼ17£º
* ÈÕ ÆÚ£º2009.11.17
* ÐÞ¸ÄÈË: ³ÂÎÄ
* ÐÞ¸ÄÄÚÈÝ£ºÐ޸ij¤¶ÈÎÞ±êʾÇé¿ö£¬Ð޸ĽṹÈçÏ£¬É¾³ýÁËbAlphaIdLen²ÎÊý
T_zPS_UICC_SimLND
T_zPS_UICC_Dir
T_zPS_UICC_Fdn
T_zPS_UICC_Msisdn
T_zPS_UICC_Sdn
T_zPS_UICC_Ici
T_zPS_UICC_Oci
T_zPS_UICC_Bdn
T_zPS_UICC_Cmi
T_zPS_UICC_Mbdn
T_zPS_UICC_Adn
T_zPS_UICC_Sne
T_zPS_UICC_Aas
T_zPS_UICC_Gas
T_zPS_UICC_Email
T_zPS_UICC_ApPbEntry
T_zPS_UICC_ApEmail;T_zPS_UICC_ApSne
ÐÞ¸ÄÁËT_zPS_UICC_SPNµÄ½á¹¹
* Ð޸ļǼ19£º
* ÈÕ ÆÚ£º2009.12.03
* ÐÞ¸ÄÈË: chenwen
* ÐÞ¸ÄÄÚÈÝ£ºÔö¼Ó AT ÃüÁî CRSM Ëù¶ÔÓ¦µÄÏûÏ¢½á¹¹Ìå
Ôö¼Ó T_zPS_ApUicc_Common_Cnf ÏûÏ¢
µ÷Õû ZPS_ApUicc_MAX_DATA_VAL ´óСΪ2028£¬Ê¹½á¹¹Ìå×ܳ¤²»³¬¹ý2048
* Ð޸ļǼ20£º
* ÈÕ ÆÚ£º2010.01.05
* ÐÞ¸ÄÈË: chenwen
* ÐÞ¸ÄÄÚÈÝ£ºÐÞ¸ÄZPS_UICC_LEN_MSISDN µÄºêÖµ
* ÐÞ¸Ä IMG µÄ½á¹¹Ìå
Ôö¼Ó IMGÏà¹ØµÄID
* Ð޸ļǼ21£º
* ÈÕ ÆÚ£º2010.04.15
* ÐÞ¸ÄÈË: luhuan
* ÐÞ¸ÄÄÚÈÝ£ºÔö¼ÓLTEÖ§³Ö
* Ð޸ļǼ22£º
* ÈÕ ÆÚ£º2010.04.27
* ÐÞ¸ÄÈË: chenwen
* ÐÞ¸ÄÄÚÈÝ£ºµ÷Õû½Ó¿Ú×¢ÊÍ£¬Ôö¼ÓNoCard´íÎóÂëָʾ£¬Éæ¼°½Ó¿ÚÓÐ
T_zPS_ApUicc_UiccOk_Ind
T_zPS_ApUicc_Pin_Cnf
T_zPS_ApUicc_Read_Cnf
T_zPS_ApUicc_PinRemainNum_Cnf
T_zPS_ApUicc_Update_Cnf
T_zPS_ApUicc_GetInfo_Cnf
* Ð޸ļǼ23£º
* ÈÕ ÆÚ£º2010.05.14
* ÐÞ¸ÄÈË: wangxiaojin
* ÐÞ¸ÄÄÚÈÝ£ºÐÞ¸ÄUSATÏà¹Ø½Ó¿Ú£¬¼ÆÈëcmdDetails
T_zPS_ApUicc_USAT_GetInkeyCmd,T_zPS_ApUicc_USAT_MTimeCmd,T_zPS_ApUicc_USAT_PlayToneCmd,
T_zPS_ApUicc_USAT_PollCmd,T_zPS_ApUicc_USAT_SndSsCmd,T_zPS_ApUicc_USAT_SndUssdCmd,
T_zPS_ApUicc_USAT_PollOffCmd,T_zPS_ApUicc_USAT_SetUpEvtListCmd,T_zPS_ApUicc_USAT_PerformCardApduCmd,
T_zPS_ApUicc_USAT_PwrOffCardCmd,T_zPS_ApUicc_USAT_PwrOnCardCmd,T_zPS_ApUicc_USAT_SetIdleModTxtCmd,
T_zPS_ApUicc_USAT_RunATCmd,T_zPS_ApUicc_USAT_RsvDataCmd,T_zPS_ApUicc_USAT_GetChnlStatusCmd,
T_zPS_ApUicc_USAT_SrvSearchCmd,T_zPS_ApUicc_USAT_GetSrvInfoCmd
* Ð޸ļǼ24£º
* ÈÕ ÆÚ£º2010.05.22
* ÐÞ¸ÄÈË: chenwen
* ÐÞ¸ÄÄÚÈÝ£ºÔö¼ÓT_zPS_ApUicc_ActiveOrDeactiveFile_Req/T_zPS_ApUicc_ActiveOrDeactiveFile_Cnf
* Ð޸ļǼ25£º
* ÈÕ ÆÚ£º2010.06.08
* ÐÞ¸ÄÈË: wangxiaojin
* ÐÞ¸ÄÄÚÈÝ: ΪusatÃüÁîÔÚ90 00ʱÔö¼ÓÖ÷¶¯Éϱ¨ÏûÏ¢T_zPS_ApUicc_USAT_NoprocNotify_Ind
ΪÏÂÁнӿڵ÷Õû´íÎóÂë:
T_zPS_ApUicc_Pin_Cnf,T_zPS_ApUicc_PinEnableQuery_Cnf,T_zPS_ApUicc_PinStatQurey_Cnf
,T_zPS_ApUicc_Read_Cnf,T_zPS_ApUicc_PinRemainNum_Cnf,T_zPS_ApUicc_Update_Cnf
T_zPS_ApUicc_GetInfo_Cnf,T_zPS_ApUicc_PinApplSet_Cnf,
* Ð޸ļǼ26£º
* ÈÕ ÆÚ£º2010.07.9
* ÐÞ¸ÄÈË: wangxiaojin
* ÐÞ¸ÄÄÚÈÝ£ºÊµÏÖÐÂ3Gµç»°±¾·½°¸£¬ÐÞ¸ÄÈçϽṹ
T_zPS_UICC_PbrBasic,T_zPS_UICC_Pbr_Type,T_zPS_UICC_Pbr,T_zPS_ApUicc_Read_Req,T_zPS_ApUicc_Read_Cnf
,T_zPS_ApUicc_Update_Req,T_zPS_ApUicc_Update_Cnf,T_zPS_ApUicc_GetInfo_Req,T_zPS_ApUicc_GetInfo_Cnf
Ôö¼Ó½á¹¹:
T_zPS_ApUicc_USAT_NoprocNotify_Ind, T_zPS_ApUicc_EfStatusQuery_Req,T_zPS_ApUicc_EfStatusQuery_Cnf,
T_zPS_ApUicc_EfStatusModify_Req,T_zPS_ApUicc_EfStatusModify_Cnf
ɾ³ýÈçϽṹ:
T_zPS_UICC_ApPbEntry,T_zPS_UICC_ApEmail,T_zPS_UICC_ApSne,T_zPS_UICC_ApAnr
Ôö¼ÓÈçϺ궨Òå:
ZPS_ApUicc_USIM_PB_BASE ZPS_ApUicc_KEYID_PB_ENTRY
ZPS_ApUicc_KEYID_PBELEM_BASE ZPS_ApUicc_KEYID_PB_ADN
ZPS_ApUicc_KEYID_PB_IAP ZPS_ApUicc_KEYID_PB_EXT1
ZPS_ApUicc_KEYID_PB_SNE ZPS_ApUicc_KEYID_PB_ANRA
ZPS_ApUicc_KEYID_PB_PBC ZPS_ApUicc_KEYID_PB_GRP
ZPS_ApUicc_KEYID_PB_AAS ZPS_ApUicc_KEYID_PB_GAS
ZPS_ApUicc_KEYID_PB_UID ZPS_ApUicc_KEYID_PB_EMAIL
ZPS_ApUicc_KEYID_PB_CCP1 ZPS_ApUicc_KEYID_PB_ANRB
ZPS_ApUicc_KEYID_PB_ANRC ZPS_ApUicc_KEYID_PBELEM_END
ZPS_ApUicc_KEYID_PB_END
ZPS_ApUicc_USIM_PB_BASE ZPS_ApUicc_KEYID_PB_EXT1
ZPS_ApUicc_KEYID_PB_AAS ZPS_ApUicc_KEYID_PB_GAS
ZPS_ApUicc_KEYID_PB_CCP1 ZPS_ApUicc_KEYID_PB_ADN_1
ZPS_ApUicc_KEYID_PB_ADN_2 ZPS_ApUicc_KEYID_PB_ADN_3
ZPS_ApUicc_KEYID_PB_IAP_1 ZPS_ApUicc_KEYID_PB_IAP_2
ZPS_ApUicc_KEYID_PB_IAP_3
ZPS_ApUicc_KEYID_PB_SNE_1 ZPS_ApUicc_KEYID_PB_SNE_2
ZPS_ApUicc_KEYID_PB_SNE_3 ZPS_ApUicc_KEYID_PB_PBC_1
ZPS_ApUicc_KEYID_PB_PBC_2 ZPS_ApUicc_KEYID_PB_PBC_3
ZPS_ApUicc_KEYID_PB_GRP_1 ZPS_ApUicc_KEYID_PB_GRP_2
ZPS_ApUicc_KEYID_PB_GRP_3 ZPS_ApUicc_KEYID_PB_UID_1
ZPS_ApUicc_KEYID_PB_UID_2 ZPS_ApUicc_KEYID_PB_UID_3
ZPS_ApUicc_KEYID_PB_EMAIL_1 ZPS_ApUicc_KEYID_PB_EMAIL_2
ZPS_ApUicc_KEYID_PB_EMAIL_3 ZPS_ApUicc_KEYID_PB_ANRA_1
ZPS_ApUicc_KEYID_PB_ANRA_2 ZPS_ApUicc_KEYID_PB_ANRA_3
ZPS_ApUicc_KEYID_PB_ANRB_1 ZPS_ApUicc_KEYID_PB_ANRB_2
ZPS_ApUicc_KEYID_PB_ANRB_3 ZPS_ApUicc_KEYID_PB_ANRC_1
ZPS_ApUicc_KEYID_PB_ANRC_2 ZPS_ApUicc_KEYID_PB_ANRC_3
ZPS_ApUicc_KEYID_PB_END
* Ð޸ļǼ26£º
* ÈÕ ÆÚ£º2010.09.25
* ÐÞ¸ÄÈË: wangxiaojin
ÐÞ¸ÄÄÚÈÝ: ½â¾ö֪ͨstmËø¿¨ºÍ½âËøÔö¼ÓT_zPS_ApUicc_CardlockStatus_Ind
ZPS_ApUicc_CardStatus_Lock,ZPS_ApUicc_CardStatus_Unlock
* Ð޸ļǼ26£º
* ÈÕ ÆÚ£º2010.09.25
* ÐÞ¸ÄÈË: wangxiaojin
ÐÞ¸ÄÄÚÈÝ: Ôö¼ÓT_zPS_ApUicc_WriteItem_Ind,T_zPS_ApUicc_ItemData,
T_zPS_ApUicc_UpdateItem_Req,T_zPS_ApUicc_UpdateItem_Cnf
* Ð޸ļǼ27£º
* ÈÕ ÆÚ£º2010.12.31
* ÐÞ¸ÄÈË: wangxiaojin
ÐÞ¸ÄÄÚÈÝ: 1)ΪlteÎļþ°æ±¾Éý¼¶ÐÞ¸Äkeyidºê
2)Ôö¼Ósearch¹¦ÄÜ£¬Ôö¼Ó½á¹¹T_zPS_ApUicc_PrePersnRecSrch_Req£¬T_zPS_ApUicc_PrePersnRecSrch_Cnf
* Ð޸ļǼ28£º
* ÈÕ ÆÚ£º2011.2.11
* ÐÞ¸ÄÈË: wangxiaojin
ÐÞ¸ÄÄÚÈÝ: pin2ÑéÖ¤£¬Ôö¼Ó T_zPS_ApUicc_VerifyPin2_Req£¬T_zPS_ApUicc_VerifyPin2_Cnf
* Ð޸ļǼ29:
* ÈÕÆÚ 2011.03.01
* ÐÞ¸ÄÈË: ÕÔÕñ»Ô
* ÐÞ¸ÄÄÚÈÝ: Ôö¼Ó½á¹¹T_zPS_ApUicc_Zpuk_Req
* Ð޸ļǼ30£º
* ÈÕ ÆÚ£º2011.3.2
* ÐÞ¸ÄÈË: wangxiaojin
ÐÞ¸ÄÄÚÈÝ:Ôö¼Ó¼Æ·Ñ¹¦ÄÜ
Ôö¼Ó½á¹¹T_zPS_ApUicc_Increase_Req£¬T_zPS_ApUicc_ResetAcm_Req
Ð޸ĽṹT_zPS_UICC_Acm£¬T_zPS_UICC_ACMmax
* Ð޸ļǼ31:
* ÈÕÆÚ 2011.03.23
* ÐÞ¸ÄÈË: ÍõС½ø
* ÐÞ¸ÄÄÚÈÝ: Ð޸ĺêÖµZPS_APUICC_USAT_MAX_TXTSTR_LEN
Ϊli/PL ÐÞ¸Ä ZPS_UICC_LEN_PLCODE£¬ZPS_UICC_LEN_LIDATA£¬ ½á¹¹ T_zPS_ApUicc_Init_Cnf
* Ð޸ļǼ32:
* ÈÕÆÚ 2011.04.26
* ÐÞ¸ÄÈË: ÍõС½ø
* ÐÞ¸ÄÄÚÈÝ: Ð޸ĺêÖµZPS_UICC_LEN_CBMIR, ZPS_UICC_LEN_CBMI
* Ð޸ļǼ33:
* ÈÕÆÚ 2011.05.24
* ÐÞ¸ÄÈË: ÍõС½ø
ÐÞ¸ÄÄÚÈÝ: uiccÓÅ»¯
Ôö¼Ó½á¹¹ T_zApUicc_PbSearch_Req£¬ T_zApUicc_PbSearch_Cnf
ɾ³ý½á¹¹ T_zPS_ApUicc_ActiveOrDeactiveFile_Req,T_zPS_ApUicc_ActiveOrDeactiveFile_Cnf
* Ð޸ļǼ34£º
* ÈÕÆÚ£º2011.08.02
* ÐÞ¸ÄÈË£ºÓȺ£Ó¢
* ÐÞ¸ÄÄÚÈÝ£ºÔö¼Ó¼øÈ¨´íÎóÂëZPS_ApUicc_AUTH_OTHERFAIL
* Ð޸ļǼ35£º
* ÈÕÆÚ£º2011.08.29
* ÐÞ¸ÄÈË£ºÓȺ£Ó¢
* ÐÞ¸ÄÄÚÈÝ£ºrefreshÐÞ¸Ä
* Ð޸ļǼ36£º
* ÈÕÆÚ£º2011.11.8
* ÐÞ¸ÄÈË£ºÓȺ£Ó¢
* ÐÞ¸ÄÄÚÈÝ£º¼ÓÃÜ¿¨Éè¼ÆÐ޸ĽṹT_zApUicc_USAT_TermnlProfil_Req
Ôö¼Ó½á¹¹ÌåT_zApUicc_ToReadCard_Req
* Ð޸ļǼ37£º
* ÈÕÆÚ£º2011.12.27
* ÐÞ¸ÄÈË£ºÓȺ£Ó¢
* ÐÞ¸ÄÄÚÈÝ£ºEC617001233782 Ôö¼ÓZPS_ApUicc_MSGTYPE_SMSCTR_CNFµÈºêÖµ,
envelopÓÐÏìÓ¦Êý¾Ýʱ·µ»ØµÄmsgtype
* Ð޸ļǼ38£º
* ÈÕÆÚ£º2012.3.29
* ÐÞ¸ÄÈË£ºÓȺ£Ó¢
* ÐÞ¸ÄÄÚÈÝ£ºEC617001394014 Ôö¼ÓSimReader¹¦ÄÜÏà¹Ø½á¹¹ÌåºÍºêÖµ
* Ð޸ļǼ39£º
* ÈÕÆÚ£º2012.7.13
* ÐÞ¸ÄÈË£ºÓȺ£Ó¢
* ÐÞ¸ÄÄÚÈÝ£º617001591416 ¡¾ÖÇÄÜ»úÐèÇó¡¿- ÖÇÄÜ»úÐèÇóV3°æ±¾Í¬²½ÊµÏÖ-cfun=5
Ôö¼Ó T_zApUicc_ApPwrOff_Req
* Ð޸ļǼ40£º
* ÈÕÆÚ£º2012.8.2
* ÐÞ¸ÄÈË£ºÍõС½ø
* ÐÞ¸ÄÄÚÈÝ£º617001662142 ¡¾ÖÇÄÜ»úÐèÇó¡¿¡¾uicc v3¡¿CSIM,CRSM,CCHOµÈÏà¹ØATʵÏÖ
Ôö¼Ó½Ó¿Ú: T_zApUicc_USAT_Fetch_Ind;T_zApUicc_Crsm_Cnf;T_zApUicc_Crsm_Req;
T_zApUicc_CGla_Cnf;T_zApUicc_CGla_Req;T_zApUicc_Cchc_Req;T_zApUicc_Ccho_Cnf;
* Ð޸ļǼ41£º
* ÈÕÆÚ£º2012.10.30
* ÐÞ¸ÄÈË£ºÍõС½ø
* ÐÞ¸ÄÄÚÈÝ£º617001814347 CRSMÕûºÏ´æ´¢¹ÜÀí
* Ð޸ļǼ42£º
* ÈÕÆÚ£º2012.10.31
* ÐÞ¸ÄÈË£ºÐí³¬
* ÐÞ¸ÄÄÚÈÝ£º617001820140 +ZRAPÃüÁîÐÞ¸Ä
* Ð޸ļǼ43£º
* ÈÕÆÚ£º2013.3.26
* ÐÞ¸ÄÈË£ºÀîÑÒ
* ÐÞ¸ÄÄÚÈÝ£º617002071273 +ZUTRÃüÁî½âÂëProtoId×ֶΣ¬ÀàÐÍÓÉBYTE¸ÄΪWORD
* Ð޸ļǼ44£º
* ÈÕÆÚ£º2013.10.30
* ÐÞ¸ÄÈË£ºÍõС½ø
* ÐÞ¸ÄÄÚÈÝ£º617002467311 ÓÅ»¯Ð޸ģ¬ÕûÀíkeyid¡¢½á¹¹
*****************************************************************************/
#ifndef ZPS_AP_UICC_INTERFACE_H
#define ZPS_AP_UICC_INTERFACE_H
/**************************************************************************
* Í·Îļþ°üº¬ *
**************************************************************************/
#include "ps.h"
/**************************************************************************
* ³£Á¿¶¨Òå *
**************************************************************************/
/**************************************************************************
* È«¾Öºê¶¨Òå *
**************************************************************************/
/*============================================================
keyid»®·Ö˵Ã÷£º
simרÓÐ
simרÓÐkeyid
±¸ÓÃÖµ
simרÓнáÊø
usim£¬sim¹²ÓÐ
usim sim¹²ÓÐ
±¸ÓÃÖµ
usim£¬sim¹²ÓнáÊø
usimרÓÐ
usimרÓÐ
usimרÓнáÊø
=============================================================*/
#define Z_APUICC_KEYID_BASE (WORD)(0)
#define Z_APUICC_KEYID_SIM_BASE (WORD)(Z_APUICC_KEYID_BASE)
//½öSIMÓµÓÐ
#define Z_APUICC_KEYID_CCP (WORD)(Z_APUICC_KEYID_SIM_BASE + 0)
#define Z_APUICC_KEYID_LP (WORD)(Z_APUICC_KEYID_SIM_BASE + 1)
#define Z_APUICC_KEYID_PLMNSEL (WORD)(Z_APUICC_KEYID_SIM_BASE + 2)
#define Z_APUICC_KEYID_SST (WORD)(Z_APUICC_KEYID_SIM_BASE + 3)
#define Z_APUICC_KEYID_BCCH (WORD)(Z_APUICC_KEYID_SIM_BASE + 4)
#define Z_APUICC_KEYID_PHASE (WORD)(Z_APUICC_KEYID_SIM_BASE + 5)
#define Z_APUICC_KEYID_SIMADN (WORD)(Z_APUICC_KEYID_SIM_BASE + 6)
#define Z_APUICC_KEYID_SIMEXT1 (WORD)(Z_APUICC_KEYID_SIM_BASE + 7)
#define Z_APUICC_KEYID_ECCP (WORD)(Z_APUICC_KEYID_SIM_BASE + 8)
#define Z_APUICC_KEYID_SIM_END (WORD)(Z_APUICC_KEYID_ECCP)
//SIMºÍUSIM¹²ÓÃ
#define Z_APUICC_KEYID_COM_BASE (WORD)(Z_APUICC_KEYID_SIM_END + 5)
#define Z_APUICC_KEYID_USIM_BASE (WORD)(Z_APUICC_KEYID_COM_BASE)
#define Z_APUICC_KEYID_LND (WORD)(Z_APUICC_KEYID_COM_BASE + 0)
#define Z_APUICC_KEYID_SUME (WORD)(Z_APUICC_KEYID_COM_BASE + 1)
#define Z_APUICC_KEYID_SAI (WORD)(Z_APUICC_KEYID_COM_BASE + 2)
#define Z_APUICC_KEYID_SLL (WORD)(Z_APUICC_KEYID_COM_BASE + 3)
#define Z_APUICC_KEYID_ORPK (WORD)(Z_APUICC_KEYID_COM_BASE + 4)
#define Z_APUICC_KEYID_ARPK (WORD)(Z_APUICC_KEYID_COM_BASE + 5)
#define Z_APUICC_KEYID_TPRK (WORD)(Z_APUICC_KEYID_COM_BASE + 6)
#define Z_APUICC_KEYID_CPBCCH (WORD)(Z_APUICC_KEYID_COM_BASE + 7)
#define Z_APUICC_KEYID_INVSCAN (WORD)(Z_APUICC_KEYID_COM_BASE + 8)
#define Z_APUICC_KEYID_DCK (WORD)(Z_APUICC_KEYID_COM_BASE + 9)
#define Z_APUICC_KEYID_CNL (WORD)(Z_APUICC_KEYID_COM_BASE + 10)
#define Z_APUICC_KEYID_ACMMAX (WORD)(Z_APUICC_KEYID_COM_BASE + 11)
#define Z_APUICC_KEYID_FDN (WORD)(Z_APUICC_KEYID_COM_BASE + 12)
#define Z_APUICC_KEYID_SMS (WORD)(Z_APUICC_KEYID_COM_BASE + 13)
#define Z_APUICC_KEYID_GID1 (WORD)(Z_APUICC_KEYID_COM_BASE + 14)
#define Z_APUICC_KEYID_GID2 (WORD)(Z_APUICC_KEYID_COM_BASE + 15)
#define Z_APUICC_KEYID_MSISDN (WORD)(Z_APUICC_KEYID_COM_BASE + 16)
#define Z_APUICC_KEYID_PUCT (WORD)(Z_APUICC_KEYID_COM_BASE + 17)
#define Z_APUICC_KEYID_SMSP (WORD)(Z_APUICC_KEYID_COM_BASE + 18)
#define Z_APUICC_KEYID_SMSS (WORD)(Z_APUICC_KEYID_COM_BASE + 19)
#define Z_APUICC_KEYID_CBMI (WORD)(Z_APUICC_KEYID_COM_BASE + 20)
#define Z_APUICC_KEYID_SPN (WORD)(Z_APUICC_KEYID_COM_BASE + 21)
#define Z_APUICC_KEYID_SMSR (WORD)(Z_APUICC_KEYID_COM_BASE + 22)
#define Z_APUICC_KEYID_SDN (WORD)(Z_APUICC_KEYID_COM_BASE + 23)
#define Z_APUICC_KEYID_EXT2 (WORD)(Z_APUICC_KEYID_COM_BASE + 24)
#define Z_APUICC_KEYID_EXT3 (WORD)(Z_APUICC_KEYID_COM_BASE + 25)
#define Z_APUICC_KEYID_BDN (WORD)(Z_APUICC_KEYID_COM_BASE + 26)
#define Z_APUICC_KEYID_CBMIR (WORD)(Z_APUICC_KEYID_COM_BASE + 27)
#define Z_APUICC_KEYID_EXT4 (WORD)(Z_APUICC_KEYID_COM_BASE + 28)
#define Z_APUICC_KEYID_CMI (WORD)(Z_APUICC_KEYID_COM_BASE + 29)
#define Z_APUICC_KEYID_EMLPP (WORD)(Z_APUICC_KEYID_COM_BASE + 30)
#define Z_APUICC_KEYID_AAEM (WORD)(Z_APUICC_KEYID_COM_BASE + 31)
#define Z_APUICC_KEYID_MBDN (WORD)(Z_APUICC_KEYID_COM_BASE + 32)
#define Z_APUICC_KEYID_EXT6 (WORD)(Z_APUICC_KEYID_COM_BASE + 33)
#define Z_APUICC_KEYID_MBI (WORD)(Z_APUICC_KEYID_COM_BASE + 34)
#define Z_APUICC_KEYID_MWIS (WORD)(Z_APUICC_KEYID_COM_BASE + 35)
#define Z_APUICC_KEYID_CFIS (WORD)(Z_APUICC_KEYID_COM_BASE + 36)
#define Z_APUICC_KEYID_EXT7 (WORD)(Z_APUICC_KEYID_COM_BASE + 37)
#define Z_APUICC_KEYID_MMSN (WORD)(Z_APUICC_KEYID_COM_BASE + 38)
#define Z_APUICC_KEYID_EXT8 (WORD)(Z_APUICC_KEYID_COM_BASE + 39)
#define Z_APUICC_KEYID_MMSICP (WORD)(Z_APUICC_KEYID_COM_BASE + 40)
#define Z_APUICC_KEYID_MMSUP (WORD)(Z_APUICC_KEYID_COM_BASE + 41)
#define Z_APUICC_KEYID_MMSUCP (WORD)(Z_APUICC_KEYID_COM_BASE + 42)
#define Z_APUICC_KEYID_NIA (WORD)(Z_APUICC_KEYID_COM_BASE + 43)
#define Z_APUICC_KEYID_VGCS (WORD)(Z_APUICC_KEYID_COM_BASE + 44)
#define Z_APUICC_KEYID_VGCSS (WORD)(Z_APUICC_KEYID_COM_BASE + 45)
#define Z_APUICC_KEYID_VBS (WORD)(Z_APUICC_KEYID_COM_BASE + 46)
#define Z_APUICC_KEYID_VBSS (WORD)(Z_APUICC_KEYID_COM_BASE + 47)
#define Z_APUICC_KEYID_IMG (WORD)(Z_APUICC_KEYID_COM_BASE + 48)
#define Z_APUICC_KEYID_IMGINST_1 (WORD)(Z_APUICC_KEYID_COM_BASE + 49)
#define Z_APUICC_KEYID_IMGINST_2 (WORD)(Z_APUICC_KEYID_COM_BASE + 50)
#define Z_APUICC_KEYID_IMGINST_3 (WORD)(Z_APUICC_KEYID_COM_BASE + 51)
#define Z_APUICC_KEYID_IMGINST_4 (WORD)(Z_APUICC_KEYID_COM_BASE + 52)
#define Z_APUICC_KEYID_IMGINST_5 (WORD)(Z_APUICC_KEYID_COM_BASE + 53)
#define Z_APUICC_KEYID_IMGINST_6 (WORD)(Z_APUICC_KEYID_COM_BASE + 54)
#define Z_APUICC_KEYID_IMGINST_7 (WORD)(Z_APUICC_KEYID_COM_BASE + 55)
#define Z_APUICC_KEYID_IMGINST_8 (WORD)(Z_APUICC_KEYID_COM_BASE + 56)
#define Z_APUICC_KEYID_IMGINST_9 (WORD)(Z_APUICC_KEYID_COM_BASE + 57)
#define Z_APUICC_KEYID_IMGINST_10 (WORD)(Z_APUICC_KEYID_COM_BASE + 58)
#define Z_APUICC_KEYID_IMGINST_11 (WORD)(Z_APUICC_KEYID_COM_BASE + 59)
#define Z_APUICC_KEYID_IMGINST_12 (WORD)(Z_APUICC_KEYID_COM_BASE + 60)
#define Z_APUICC_KEYID_IMGINST_13 (WORD)(Z_APUICC_KEYID_COM_BASE + 61)
#define Z_APUICC_KEYID_IMGINST_14 (WORD)(Z_APUICC_KEYID_COM_BASE + 62)
#define Z_APUICC_KEYID_IMGINST_15 (WORD)(Z_APUICC_KEYID_COM_BASE + 63)
#define Z_APUICC_KEYID_IMGINST_16 (WORD)(Z_APUICC_KEYID_COM_BASE + 64)
#define Z_APUICC_KEYID_IMGINST_17 (WORD)(Z_APUICC_KEYID_COM_BASE + 65)
#define Z_APUICC_KEYID_IMGINST_18 (WORD)(Z_APUICC_KEYID_COM_BASE + 66)
#define Z_APUICC_KEYID_IMGINST_19 (WORD)(Z_APUICC_KEYID_COM_BASE + 67)
#define Z_APUICC_KEYID_IMGINST_20 (WORD)(Z_APUICC_KEYID_COM_BASE + 68)
#define Z_APUICC_KEYID_IMGINST_21 (WORD)(Z_APUICC_KEYID_COM_BASE + 69)
#define Z_APUICC_KEYID_IMGINST_22 (WORD)(Z_APUICC_KEYID_COM_BASE + 70)
#define Z_APUICC_KEYID_IMGINST_23 (WORD)(Z_APUICC_KEYID_COM_BASE + 71)
#define Z_APUICC_KEYID_IMGINST_24 (WORD)(Z_APUICC_KEYID_COM_BASE + 72)
#define Z_APUICC_KEYID_IMGINST_25 (WORD)(Z_APUICC_KEYID_COM_BASE + 73)
#define Z_APUICC_KEYID_IMGINST_26 (WORD)(Z_APUICC_KEYID_COM_BASE + 74)
#define Z_APUICC_KEYID_IMGINST_27 (WORD)(Z_APUICC_KEYID_COM_BASE + 75)
#define Z_APUICC_KEYID_IMGINST_28 (WORD)(Z_APUICC_KEYID_COM_BASE + 76)
#define Z_APUICC_KEYID_MEXEST (WORD)(Z_APUICC_KEYID_COM_BASE + 77)
#define Z_APUICC_KEYID_ICCID (WORD)(Z_APUICC_KEYID_COM_BASE + 78)
#define Z_APUICC_KEYID_PL (WORD)(Z_APUICC_KEYID_COM_BASE + 79)
#define Z_APUICC_KEYID_ECC (WORD)(Z_APUICC_KEYID_COM_BASE + 80)
#define Z_APUICC_KEYID_AD (WORD)(Z_APUICC_KEYID_COM_BASE + 81)
#define Z_APUICC_KEYID_IMSI (WORD)(Z_APUICC_KEYID_COM_BASE + 82)
#define Z_APUICC_KEYID_PLMNWACT (WORD)(Z_APUICC_KEYID_COM_BASE + 83)
#define Z_APUICC_KEYID_PSLOCI (WORD)(Z_APUICC_KEYID_COM_BASE + 84)
#define Z_APUICC_KEYID_LOCI (WORD)(Z_APUICC_KEYID_COM_BASE + 85)
#define Z_APUICC_KEYID_FPLMN (WORD)(Z_APUICC_KEYID_COM_BASE + 86)
#define Z_APUICC_KEYID_CBMID (WORD)(Z_APUICC_KEYID_COM_BASE + 87)
#define Z_APUICC_KEYID_OPLMNWACT (WORD)(Z_APUICC_KEYID_COM_BASE + 88)
#define Z_APUICC_KEYID_HPPLMN (WORD)(Z_APUICC_KEYID_COM_BASE + 89)
#define Z_APUICC_KEYID_HPLMNWACT (WORD)(Z_APUICC_KEYID_COM_BASE + 90)
#define Z_APUICC_KEYID_PNN (WORD)(Z_APUICC_KEYID_COM_BASE + 91)
#define Z_APUICC_KEYID_OPL (WORD)(Z_APUICC_KEYID_COM_BASE + 92)
#define Z_APUICC_KEYID_SPDI (WORD)(Z_APUICC_KEYID_COM_BASE + 93)
#define Z_APUICC_KEYID_ACM (WORD)(Z_APUICC_KEYID_COM_BASE + 94)
#define Z_APUICC_KEYID_KC (WORD)(Z_APUICC_KEYID_COM_BASE + 95)
#define Z_APUICC_KEYID_KCGPRS (WORD)(Z_APUICC_KEYID_COM_BASE + 96)
#define Z_APUICC_KEYID_ACC (WORD)(Z_APUICC_KEYID_COM_BASE + 97)
#define Z_APUICC_KEYID_COM_END (WORD)(Z_APUICC_KEYID_ACC)
//ÐÂÔöרÓÃÓÚusimÓ¦ÓÃʱ²éѯgsmĿ¼ÏµÄspn
#define Z_APUICC_KEYID_GSM_SPN (WORD)(Z_APUICC_KEYID_COM_END + 1)
#define Z_APUICC_KEYID_GSM_SPDI (WORD)(Z_APUICC_KEYID_COM_END + 2)
//½öUSIM
#define Z_APUICC_KEYID_USIMONLY_BASE (WORD)(Z_APUICC_KEYID_COM_END + 10)
#define Z_APUICC_KEYID_LI (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 0)
#define Z_APUICC_KEYID_UST (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 1)
#define Z_APUICC_KEYID_EST (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 2)
#define Z_APUICC_KEYID_KEYS (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 3)
#define Z_APUICC_KEYID_KEYSPS (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 4)
#define Z_APUICC_KEYID_STARTHFN (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 5)
#define Z_APUICC_KEYID_THRESHOLD (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 6)
#define Z_APUICC_KEYID_ICI (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 7)
#define Z_APUICC_KEYID_OCI (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 8)
#define Z_APUICC_KEYID_CCP2 (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 9)
#define Z_APUICC_KEYID_USIMARR (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 10)
#define Z_APUICC_KEYID_EPSLOCI (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 11)
#define Z_APUICC_KEYID_EPSNSC (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 12)
#define Z_APUICC_KEYID_ACSGL (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 13)
#define Z_APUICC_KEYID_CSGT (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 14)
#define Z_APUICC_KEYID_HNBN (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 15)
#define Z_APUICC_KEYID_DIR (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 16)
#define Z_APUICC_KEYID_MFARR (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 17)
#define Z_APUICC_KEYID_OCSGL (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 18)
#define Z_APUICC_KEYID_OCSGT (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 19)
#define Z_APUICC_KEYID_OHNBN (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 20)
#define Z_APUICC_KEYID_EHPLMN (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 21)
#define Z_APUICC_KEYID_EXT5 (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 22)
#define Z_APUICC_KEYID_ACL (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 23)
#define Z_APUICC_KEYID_ICT (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 24)
#define Z_APUICC_KEYID_OCT (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 25)
#define Z_APUICC_KEYID_HIDDENKEY (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 26)
#define Z_APUICC_KEYID_NETPAR (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 27)
#define Z_APUICC_KEYID_TELEARR (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 28)
#define Z_APUICC_KEYID_PSISMSC (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 29)
#define Z_APUICC_KEYID_LRPLMNSI (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 30)
#define Z_APUICC_KEYID_RMA (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 31)
#define Z_APUICC_KEYID_ICEDN (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 32)
#define Z_APUICC_KEYID_ICEFF (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 33)
#define Z_APUICC_KEYID_PSEUDO (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 34)
#define Z_APUICC_KEYID_UPLMNWLAN (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 35)
#define Z_APUICC_KEYID_OPLMNWLAN (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 36)
#define Z_APUICC_KEYID_UWSIDL (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 37)
#define Z_APUICC_KEYID_OWSIDL (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 38)
#define Z_APUICC_KEYID_WRI (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 39)
#define Z_APUICC_KEYID_HWSIDL (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 40)
#define Z_APUICC_KEYID_WEHPLMNPI (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 41)
#define Z_APUICC_KEYID_WHPI (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 42)
#define Z_APUICC_KEYID_WLRPLMN (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 43)
#define Z_APUICC_KEYID_HPLMNDAI (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 44)
#define Z_APUICC_KEYID_MML (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 45)
#define Z_APUICC_KEYID_MMDF (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 46)
#define Z_APUICC_KEYID_MFADN (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 47)
#define Z_APUICC_KEYID_MFEXT1 (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 48)
#define Z_APUICC_KEYID_MFFDN (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 49)
#define Z_APUICC_KEYID_MFSMS (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 50)
#define Z_APUICC_KEYID_MFMSISDN (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 51)
#define Z_APUICC_KEYID_MFSMSP (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 52)
#define Z_APUICC_KEYID_MFSMSS (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 53)
#define Z_APUICC_KEYID_MFSMSR (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 54)
#define Z_APUICC_KEYID_MFSDN (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 55)
#define Z_APUICC_KEYID_MFEXT2 (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 56)
#define Z_APUICC_KEYID_MFEXT3 (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 57)
#define Z_APUICC_KEYID_MFBDN (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 58)
#define Z_APUICC_KEYID_MFEXT4 (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 59)
#define Z_APUICC_KEYID_VGCSCA (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 60)
#define Z_APUICC_KEYID_VBCSCA (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 61)
#define Z_APUICC_KEYID_GBABP (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 62)
#define Z_APUICC_KEYID_MSK (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 63)
#define Z_APUICC_KEYID_MUK (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 64)
#define Z_APUICC_KEYID_GBANL (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 65)
#define Z_APUICC_KEYID_EHPLMNPI (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 66)
#define Z_APUICC_KEYID_NAFKCA (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 67)
#define Z_APUICC_KEYID_SPNI (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 68)
#define Z_APUICC_KEYID_PNNI (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 69)
#define Z_APUICC_KEYID_NCPIP (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 70)
#define Z_APUICC_KEYID_ICEG (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 71)
#define Z_APUICC_KEYID_TKCDF_1 (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 72) /* EFTKCDF¿ÉÒÔÓжà¸ö£¬½«À´¸ù¾ÝÐèÇó¿ÉÀ©³ä */
#define Z_APUICC_KEYID_TKCDF_2 (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 73)
#define Z_APUICC_KEYID_TKCDF_3 (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 74)
#define Z_APUICC_KEYID_LSADF_1 (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 75) /* LSA Descriptor files¿ÉÒÔÓжà¸ö£¬½«À´¸ù¾ÝÐèÇó¿ÉÀ©³ä */
#define Z_APUICC_KEYID_LSADF_2 (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 76)
#define Z_APUICC_KEYID_LSADF_3 (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 77)
#define Z_APUICC_KEYID_FDNURI (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 78)
#define Z_APUICC_KEYID_SDNURI (WORD)(Z_APUICC_KEYID_USIMONLY_BASE + 79)
#define Z_APUICC_KEYID_SM_BASE (WORD)(Z_APUICC_KEYID_SDNURI + 1)
#define Z_APUICC_KEYID_SM_PSC (WORD)(Z_APUICC_KEYID_SM_BASE + 0)
#define Z_APUICC_KEYID_SM_CC (WORD)(Z_APUICC_KEYID_SM_BASE + 1)
#define Z_APUICC_KEYID_SM_PUID (WORD)(Z_APUICC_KEYID_SM_BASE + 2)
#define Z_APUICC_KEYID_SM_PBR (WORD)(Z_APUICC_KEYID_SM_BASE + 3)
#define Z_APUICC_KEYID_SM_EXT1 (WORD)(Z_APUICC_KEYID_SM_BASE + 4)
#define Z_APUICC_KEYID_SM_AAS (WORD)(Z_APUICC_KEYID_SM_BASE + 5)
#define Z_APUICC_KEYID_SM_GAS (WORD)(Z_APUICC_KEYID_SM_BASE + 6)
#define Z_APUICC_KEYID_SM_CCP1 (WORD)(Z_APUICC_KEYID_SM_BASE + 7)
#define Z_APUICC_KEYID_SM_ADN_1 (WORD)(Z_APUICC_KEYID_SM_BASE + 8)
#define Z_APUICC_KEYID_SM_ADN_2 (WORD)(Z_APUICC_KEYID_SM_BASE + 9)
#define Z_APUICC_KEYID_SM_ADN_3 (WORD)(Z_APUICC_KEYID_SM_BASE + 10)
#define Z_APUICC_KEYID_SM_IAP_1 (WORD)(Z_APUICC_KEYID_SM_BASE + 11)
#define Z_APUICC_KEYID_SM_IAP_2 (WORD)(Z_APUICC_KEYID_SM_BASE + 12)
#define Z_APUICC_KEYID_SM_IAP_3 (WORD)(Z_APUICC_KEYID_SM_BASE + 13)
#define Z_APUICC_KEYID_SM_PBC_1 (WORD)(Z_APUICC_KEYID_SM_BASE + 14)
#define Z_APUICC_KEYID_SM_PBC_2 (WORD)(Z_APUICC_KEYID_SM_BASE + 15)
#define Z_APUICC_KEYID_SM_PBC_3 (WORD)(Z_APUICC_KEYID_SM_BASE + 16)
#define Z_APUICC_KEYID_SM_GRP_1 (WORD)(Z_APUICC_KEYID_SM_BASE + 17)
#define Z_APUICC_KEYID_SM_GRP_2 (WORD)(Z_APUICC_KEYID_SM_BASE + 18)
#define Z_APUICC_KEYID_SM_GRP_3 (WORD)(Z_APUICC_KEYID_SM_BASE + 19)
#define Z_APUICC_KEYID_SM_UID_1 (WORD)(Z_APUICC_KEYID_SM_BASE + 20)
#define Z_APUICC_KEYID_SM_UID_2 (WORD)(Z_APUICC_KEYID_SM_BASE + 21)
#define Z_APUICC_KEYID_SM_UID_3 (WORD)(Z_APUICC_KEYID_SM_BASE + 22)
#define Z_APUICC_KEYID_SM_SNE_1 (WORD)(Z_APUICC_KEYID_SM_BASE + 23)
#define Z_APUICC_KEYID_SM_SNE_2 (WORD)(Z_APUICC_KEYID_SM_BASE + 24)
#define Z_APUICC_KEYID_SM_SNE_3 (WORD)(Z_APUICC_KEYID_SM_BASE + 25)
#define Z_APUICC_KEYID_SM_EMAIL_1 (WORD)(Z_APUICC_KEYID_SM_BASE + 26)
#define Z_APUICC_KEYID_SM_EMAIL_2 (WORD)(Z_APUICC_KEYID_SM_BASE + 27)
#define Z_APUICC_KEYID_SM_EMAIL_3 (WORD)(Z_APUICC_KEYID_SM_BASE + 28)
#define Z_APUICC_KEYID_SM_ANR_1 (WORD)(Z_APUICC_KEYID_SM_BASE + 29)
#define Z_APUICC_KEYID_SM_ANR_2 (WORD)(Z_APUICC_KEYID_SM_BASE + 30)
#define Z_APUICC_KEYID_SM_ANR_3 (WORD)(Z_APUICC_KEYID_SM_BASE + 31)
#define Z_APUICC_KEYID_SM_ANR_4 (WORD)(Z_APUICC_KEYID_SM_BASE + 32)
#define Z_APUICC_KEYID_SM_ANR_5 (WORD)(Z_APUICC_KEYID_SM_BASE + 33)
#define Z_APUICC_KEYID_SM_ANR_6 (WORD)(Z_APUICC_KEYID_SM_BASE + 34)
#define Z_APUICC_KEYID_SM_ANR_7 (WORD)(Z_APUICC_KEYID_SM_BASE + 35)
#define Z_APUICC_KEYID_SM_ANR_8 (WORD)(Z_APUICC_KEYID_SM_BASE + 36)
#define Z_APUICC_KEYID_SM_ANR_9 (WORD)(Z_APUICC_KEYID_SM_BASE + 37)
#define Z_APUICC_KEYID_SM_END (WORD)(Z_APUICC_KEYID_SM_ANR_9)
#define Z_APUICC_KEYID_AP_BASE (WORD)(Z_APUICC_KEYID_SM_END + 1)
#define Z_APUICC_KEYID_AP_PSC (WORD)(Z_APUICC_KEYID_AP_BASE + 0)
#define Z_APUICC_KEYID_AP_CC (WORD)(Z_APUICC_KEYID_AP_BASE + 1)
#define Z_APUICC_KEYID_AP_PUID (WORD)(Z_APUICC_KEYID_AP_BASE + 2)
#define Z_APUICC_KEYID_AP_PBR (WORD)(Z_APUICC_KEYID_AP_BASE + 3)
#define Z_APUICC_KEYID_AP_EXT1 (WORD)(Z_APUICC_KEYID_AP_BASE + 4)
#define Z_APUICC_KEYID_AP_AAS (WORD)(Z_APUICC_KEYID_AP_BASE + 5)
#define Z_APUICC_KEYID_AP_GAS (WORD)(Z_APUICC_KEYID_AP_BASE + 6)
#define Z_APUICC_KEYID_AP_CCP1 (WORD)(Z_APUICC_KEYID_AP_BASE + 7)
#define Z_APUICC_KEYID_AP_ADN_1 (WORD)(Z_APUICC_KEYID_AP_BASE + 8)
#define Z_APUICC_KEYID_AP_ADN_2 (WORD)(Z_APUICC_KEYID_AP_BASE + 9)
#define Z_APUICC_KEYID_AP_ADN_3 (WORD)(Z_APUICC_KEYID_AP_BASE + 10)
#define Z_APUICC_KEYID_AP_IAP_1 (WORD)(Z_APUICC_KEYID_AP_BASE + 11)
#define Z_APUICC_KEYID_AP_IAP_2 (WORD)(Z_APUICC_KEYID_AP_BASE + 12)
#define Z_APUICC_KEYID_AP_IAP_3 (WORD)(Z_APUICC_KEYID_AP_BASE + 13)
#define Z_APUICC_KEYID_AP_PBC_1 (WORD)(Z_APUICC_KEYID_AP_BASE + 14)
#define Z_APUICC_KEYID_AP_PBC_2 (WORD)(Z_APUICC_KEYID_AP_BASE + 15)
#define Z_APUICC_KEYID_AP_PBC_3 (WORD)(Z_APUICC_KEYID_AP_BASE + 16)
#define Z_APUICC_KEYID_AP_GRP_1 (WORD)(Z_APUICC_KEYID_AP_BASE + 17)
#define Z_APUICC_KEYID_AP_GRP_2 (WORD)(Z_APUICC_KEYID_AP_BASE + 18)
#define Z_APUICC_KEYID_AP_GRP_3 (WORD)(Z_APUICC_KEYID_AP_BASE + 19)
#define Z_APUICC_KEYID_AP_UID_1 (WORD)(Z_APUICC_KEYID_AP_BASE + 20)
#define Z_APUICC_KEYID_AP_UID_2 (WORD)(Z_APUICC_KEYID_AP_BASE + 21)
#define Z_APUICC_KEYID_AP_UID_3 (WORD)(Z_APUICC_KEYID_AP_BASE + 22)
#define Z_APUICC_KEYID_AP_SNE_1 (WORD)(Z_APUICC_KEYID_AP_BASE + 23)
#define Z_APUICC_KEYID_AP_SNE_2 (WORD)(Z_APUICC_KEYID_AP_BASE + 24)
#define Z_APUICC_KEYID_AP_SNE_3 (WORD)(Z_APUICC_KEYID_AP_BASE + 25)
#define Z_APUICC_KEYID_AP_EMAIL_1 (WORD)(Z_APUICC_KEYID_AP_BASE + 26)
#define Z_APUICC_KEYID_AP_EMAIL_2 (WORD)(Z_APUICC_KEYID_AP_BASE + 27)
#define Z_APUICC_KEYID_AP_EMAIL_3 (WORD)(Z_APUICC_KEYID_AP_BASE + 28)
#define Z_APUICC_KEYID_AP_ANR_1 (WORD)(Z_APUICC_KEYID_AP_BASE + 29)
#define Z_APUICC_KEYID_AP_ANR_2 (WORD)(Z_APUICC_KEYID_AP_BASE + 30)
#define Z_APUICC_KEYID_AP_ANR_3 (WORD)(Z_APUICC_KEYID_AP_BASE + 31)
#define Z_APUICC_KEYID_AP_ANR_4 (WORD)(Z_APUICC_KEYID_AP_BASE + 32)
#define Z_APUICC_KEYID_AP_ANR_5 (WORD)(Z_APUICC_KEYID_AP_BASE + 33)
#define Z_APUICC_KEYID_AP_ANR_6 (WORD)(Z_APUICC_KEYID_AP_BASE + 34)
#define Z_APUICC_KEYID_AP_ANR_7 (WORD)(Z_APUICC_KEYID_AP_BASE + 35)
#define Z_APUICC_KEYID_AP_ANR_8 (WORD)(Z_APUICC_KEYID_AP_BASE + 36)
#define Z_APUICC_KEYID_AP_ANR_9 (WORD)(Z_APUICC_KEYID_AP_BASE + 37)
#define Z_APUICC_KEYID_AP_END (WORD)(Z_APUICC_KEYID_AP_ANR_9)
/* ±íʾSM¡¢APĿ¼µÄËùÓÐÎļþ */
#define Z_APUICC_KEYID_SMPB (WORD)(Z_APUICC_KEYID_AP_END + 1)
#define Z_APUICC_KEYID_APPB (WORD)(Z_APUICC_KEYID_AP_END + 2)
/*ISIMרÓÐÎļþ*/
#define Z_APUICC_ISIM_KEYID_BASE (WORD)(Z_APUICC_KEYID_APPB + 1)
#define Z_APUICC_ISIM_KEYID_IST (WORD)(Z_APUICC_ISIM_KEYID_BASE + 0)
#define Z_APUICC_ISIM_KEYID_IMPI (WORD)(Z_APUICC_ISIM_KEYID_BASE + 1)
#define Z_APUICC_ISIM_KEYID_IMPU (WORD)(Z_APUICC_ISIM_KEYID_BASE + 2)
#define Z_APUICC_ISIM_KEYID_DOMAIN (WORD)(Z_APUICC_ISIM_KEYID_BASE + 3)
#define Z_APUICC_ISIM_KEYID_PCSCF (WORD)(Z_APUICC_ISIM_KEYID_BASE + 4)
#define Z_APUICC_ISIM_KEYID_GBABP (WORD)(Z_APUICC_ISIM_KEYID_BASE + 5)
#define Z_APUICC_ISIM_KEYID_GBANL (WORD)(Z_APUICC_ISIM_KEYID_BASE + 6)
#define Z_APUICC_ISIM_KEYID_AD (WORD)(Z_APUICC_ISIM_KEYID_BASE + 7)
#define Z_APUICC_ISIM_KEYID_ARR (WORD)(Z_APUICC_ISIM_KEYID_BASE + 8)
#define Z_APUICC_ISIM_KEYID_NAFKCA (WORD)(Z_APUICC_ISIM_KEYID_BASE + 9)
#define Z_APUICC_ISIM_KEYID_SMS (WORD)(Z_APUICC_ISIM_KEYID_BASE + 10)
#define Z_APUICC_ISIM_KEYID_SMSR (WORD)(Z_APUICC_ISIM_KEYID_BASE + 11)
#define Z_APUICC_ISIM_KEYID_SMSP (WORD)(Z_APUICC_ISIM_KEYID_BASE + 12)
#define Z_APUICC_ISIM_KEYID_SMSS (WORD)(Z_APUICC_ISIM_KEYID_BASE + 13)
#define Z_APUICC_ISIM_KEYID_UICCIARI (WORD)(Z_APUICC_ISIM_KEYID_BASE + 14)
#define Z_APUICC_ISIM_KEYID_DIR (WORD)(Z_APUICC_ISIM_KEYID_BASE + 15)
#define Z_APUICC_ISIM_KEYID_PSISMSC (WORD)(Z_APUICC_ISIM_KEYID_BASE + 16)
#define Z_APUICC_ISIM_KEYID_END (WORD)(Z_APUICC_ISIM_KEYID_PSISMSC)
#define Z_APUICC_KEYID_END (WORD)(Z_APUICC_ISIM_KEYID_END)
/**************************************************************************
* PIN TYPE ºê¶¨Òå *
**************************************************************************/
/*USIM PIN1*/
#define ZPS_ApUicc_PIN1_BASE (BYTE)0x01
#define Z_APUICC_PIN1_BASE ZPS_ApUicc_PIN1_BASE
#define ZPS_ApUicc_KEYREF_PIN11 (BYTE)(ZPS_ApUicc_PIN1_BASE + 0)
#define Z_APUICC_KEYREF_PIN11 ZPS_ApUicc_KEYREF_PIN11
#define ZPS_ApUicc_KEYREF_PIN12 (BYTE)(ZPS_ApUicc_PIN1_BASE + 1)
#define Z_APUICC_KEYREF_PIN12 ZPS_ApUicc_KEYREF_PIN12
#define ZPS_ApUicc_KEYREF_PIN13 (BYTE)(ZPS_ApUicc_PIN1_BASE + 2)
#define Z_APUICC_KEYREF_PIN13 ZPS_ApUicc_KEYREF_PIN13
#define ZPS_ApUicc_KEYREF_PIN14 (BYTE)(ZPS_ApUicc_PIN1_BASE + 3)
#define Z_APUICC_KEYREF_PIN14 ZPS_ApUicc_KEYREF_PIN14
#define ZPS_ApUicc_KEYREF_PIN15 (BYTE)(ZPS_ApUicc_PIN1_BASE + 4)
#define Z_APUICC_KEYREF_PIN15 ZPS_ApUicc_KEYREF_PIN15
#define ZPS_ApUicc_KEYREF_PIN16 (BYTE)(ZPS_ApUicc_PIN1_BASE + 5)
#define Z_APUICC_KEYREF_PIN16 ZPS_ApUicc_KEYREF_PIN16
#define ZPS_ApUicc_KEYREF_PIN17 (BYTE)(ZPS_ApUicc_PIN1_BASE + 6)
#define Z_APUICC_KEYREF_PIN17 ZPS_ApUicc_KEYREF_PIN17
#define ZPS_ApUicc_KEYREF_PIN18 (BYTE)(ZPS_ApUicc_PIN1_BASE + 7)
#define Z_APUICC_KEYREF_PIN18 ZPS_ApUicc_KEYREF_PIN18
#define ZPS_ApUicc_PIN1_END (BYTE)ZPS_ApUicc_KEYREF_PIN18
#define Z_APUICC_PIN1_END ZPS_ApUicc_PIN1_END
/*USIM universal PIN*/
#define ZPS_ApUicc_KEYREF_UNVSL_PIN (BYTE)0x11
#define Z_APUICC_KEYREF_UNVSL_PIN ZPS_ApUicc_KEYREF_UNVSL_PIN
/*USIM PIN2*/
#define ZPS_ApUicc_PIN2_BASE (BYTE)0x81
#define Z_APUICC_PIN2_BASE ZPS_ApUicc_PIN2_BASE
#define ZPS_ApUicc_KEYREF_PIN21 (BYTE)(ZPS_ApUicc_PIN2_BASE + 0)
#define Z_APUICC_KEYREF_PIN21 ZPS_ApUicc_KEYREF_PIN21
#define ZPS_ApUicc_KEYREF_PIN22 (BYTE)(ZPS_ApUicc_PIN2_BASE + 1)
#define Z_APUICC_KEYREF_PIN22 ZPS_ApUicc_KEYREF_PIN22
#define ZPS_ApUicc_KEYREF_PIN23 (BYTE)(ZPS_ApUicc_PIN2_BASE + 2)
#define Z_APUICC_KEYREF_PIN23 ZPS_ApUicc_KEYREF_PIN23
#define ZPS_ApUicc_KEYREF_PIN24 (BYTE)(ZPS_ApUicc_PIN2_BASE + 3)
#define Z_APUICC_KEYREF_PIN24 ZPS_ApUicc_KEYREF_PIN24
#define ZPS_ApUicc_KEYREF_PIN25 (BYTE)(ZPS_ApUicc_PIN2_BASE + 4)
#define Z_APUICC_KEYREF_PIN25 ZPS_ApUicc_KEYREF_PIN25
#define ZPS_ApUicc_KEYREF_PIN26 (BYTE)(ZPS_ApUicc_PIN2_BASE + 5)
#define Z_APUICC_KEYREF_PIN26 ZPS_ApUicc_KEYREF_PIN26
#define ZPS_ApUicc_KEYREF_PIN27 (BYTE)(ZPS_ApUicc_PIN2_BASE + 6)
#define Z_APUICC_KEYREF_PIN27 ZPS_ApUicc_KEYREF_PIN27
#define ZPS_ApUicc_KEYREF_PIN28 (BYTE)(ZPS_ApUicc_PIN2_BASE + 7)
#define Z_APUICC_KEYREF_PIN28 ZPS_ApUicc_KEYREF_PIN28
#define ZPS_ApUicc_PIN2_END (BYTE)ZPS_ApUicc_KEYREF_PIN28
#define Z_APUICC_PIN2_END ZPS_ApUicc_PIN2_END
/*SIM PIN*/
#define ZPS_ApUicc_SIM_CMD_CHV1 (BYTE)0x01
#define Z_APUICC_SIM_CMD_CHV1 ZPS_ApUicc_SIM_CMD_CHV1
#define ZPS_ApUicc_SIM_CMD_CHV2 (BYTE)0x02
#define Z_APUICC_SIM_CMD_CHV2 ZPS_ApUicc_SIM_CMD_CHV2
/**************************************************************************
* EFÖг£Á¿ºê¶¨Òå *
**************************************************************************/
#define ZPS_UICC_LEN_PLCODE (BYTE)127
#define Z_UICC_LEN_PLCODE ZPS_UICC_LEN_PLCODE
#define ZPS_UICC_LEN_LIDATA (BYTE)127 /*ԭֵΪ5*/
#define Z_UICC_LEN_LIDATA ZPS_UICC_LEN_LIDATA
#define ZPS_UICC_LEN_UST (BYTE)8
#define Z_UICC_LEN_UST ZPS_UICC_LEN_UST
#define ZPS_UICC_LEN_GID1 (BYTE)3
#define Z_UICC_LEN_GID1 ZPS_UICC_LEN_GID1
#define ZPS_UICC_LEN_GID2 (BYTE)3
#define Z_UICC_LEN_GID2 ZPS_UICC_LEN_GID2
#define ZPS_UICC_LEN_CBMI (BYTE)255
#define Z_UICC_LEN_CBMI ZPS_UICC_LEN_CBMI
//#define ZPS_UICC_LEN_FPLMN (BYTE)85
//#define Z_UICC_LEN_FPLMN ZPS_UICC_LEN_FPLMN
#define ZPS_UICC_LEN_AD (BYTE)1
#define Z_UICC_LEN_AD ZPS_UICC_LEN_AD
#define ZPS_UICC_LEN_CBMID (BYTE)20
#define Z_UICC_LEN_CBMID ZPS_UICC_LEN_CBMID
#define ZPS_UICC_LEN_CBMIR (BYTE)255
#define Z_UICC_LEN_CBMIR ZPS_UICC_LEN_CBMIR
#define ZPS_UICC_LEN_FDN (BYTE)250 /*Ô­ÏÈΪ14*/
#define Z_UICC_LEN_FDN ZPS_UICC_LEN_FDN
#define ZPS_UICC_LEN_MSISDN (BYTE)250 /*Ô­ÏÈΪ14*/
#define Z_UICC_LEN_MSISDN ZPS_UICC_LEN_MSISDN
#define ZPS_UICC_LEN_SDN (BYTE)252 /*Ô­ÏÈΪ8*/
#define Z_UICC_LEN_SDN ZPS_UICC_LEN_SDN
#define ZPS_UICC_LEN_ICI (BYTE)250 /*Ô­ÏÈΪ14*/
#define Z_UICC_LEN_ICI ZPS_UICC_LEN_ICI
#define ZPS_UICC_LEN_OCI (BYTE)250 /*Ô­ÏÈΪ14*/
#define Z_UICC_LEN_OCI ZPS_UICC_LEN_OCI
#define ZPS_UICC_LEN_CCP2 (BYTE)252 /*Ô­ÏÈΪ20*/
#define Z_UICC_LEN_CCP2 ZPS_UICC_LEN_CCP2
#define ZPS_UICC_LEN_BDN (BYTE)250 /*Ô­ÏÈΪ14*/
#define Z_UICC_LEN_BDN ZPS_UICC_LEN_BDN
#define ZPS_UICC_LEN_CMI (BYTE)14
#define Z_UICC_LEN_CMI ZPS_UICC_LEN_CMI
#define ZPS_UICC_LEN_EST (BYTE)252 /*Ô­ÏÈΪ8*/
#define Z_UICC_LEN_EST ZPS_UICC_LEN_EST
#define ZPS_UICC_LEN_ACL (BYTE)10 /*Ô­ÏÈΪ8*/
#define Z_UICC_LEN_ACL ZPS_UICC_LEN_ACL
#define ZPS_UICC_LEN_CNL (BYTE)8
#define Z_UICC_LEN_CNL ZPS_UICC_LEN_CNL
#define ZPS_UICC_LEN_NBDN (BYTE)14
#define Z_UICC_LEN_NBDN ZPS_UICC_LEN_NBDN
#define ZPS_UICC_LEN_SPDI (BYTE)16
#define Z_UICC_LEN_SPDI ZPS_UICC_LEN_SPDI
#define ZPS_UICC_LEN_MMSN (BYTE)50
#define Z_UICC_LEN_MMSN ZPS_UICC_LEN_MMSN
#define ZPS_UICC_LEN_EXT8 (BYTE)11
#define Z_UICC_LEN_EXT8 ZPS_UICC_LEN_EXT8
#define ZPS_UICC_LEN_NIA (BYTE)249 /*Ô­ÏÈΪ25*/
#define Z_UICC_LEN_NIA ZPS_UICC_LEN_NIA
#define ZPS_UICC_LEN_VGCS (BYTE)50
#define Z_UICC_LEN_VGCS ZPS_UICC_LEN_VGCS
#define ZPS_UICC_LEN_VBS (BYTE)50
#define Z_UICC_LEN_VBS ZPS_UICC_LEN_VBS
#define ZPS_UICC_LEN_SAI (BYTE)64
#define Z_UICC_LEN_SAI ZPS_UICC_LEN_SAI
#define ZPS_UICC_LEN_SLL (BYTE)32
#define Z_UICC_LEN_SLL ZPS_UICC_LEN_SLL
#define ZPS_UICC_LEN_LSA_DESCR (BYTE)64
#define Z_UICC_LEN_LSA_DESCR ZPS_UICC_LEN_LSA_DESCR
#define ZPS_UICC_LEN_IAP (BYTE)252 /*Ô­ÏÈΪ8*/
#define Z_UICC_LEN_IAP ZPS_UICC_LEN_IAP
#define ZPS_UICC_LEN_ADN (BYTE)250 /*Ô­ÏÈΪ14*/ /*ÖÐÒÆ¹æ·¶½¨ÒéÖµ*/
#define Z_UICC_LEN_ADN ZPS_UICC_LEN_ADN
#define ZPS_UICC_LEN_AAS (BYTE)250 /*Ô­ÏÈΪ14*/
#define Z_UICC_LEN_AAS ZPS_UICC_LEN_AAS
#define ZPS_UICC_LEN_GAS (BYTE)250 /*Ô­ÏÈΪ14*/
#define Z_UICC_LEN_GAS ZPS_UICC_LEN_GAS
#define ZPS_UICC_LEN_SNE (BYTE)250 /*Ô­ÏÈΪ14*/
#define Z_UICC_LEN_SNE ZPS_UICC_LEN_SNE
#define ZPS_UICC_LEN_CCP1 (BYTE)251 /*Ô­ÏÈΪ15*/
#define Z_UICC_LEN_CCP1 ZPS_UICC_LEN_CCP1
#define ZPS_UICC_LEN_EMAIL (BYTE)250 /*Ô­ÏÈΪ50*/
#define Z_UICC_LEN_EMAIL ZPS_UICC_LEN_EMAIL
#define ZPS_UICC_LEN_CPBCCH (BYTE)16
#define Z_UICC_LEN_CPBCCH ZPS_UICC_LEN_CPBCCH
#define ZPS_UICC_LEN_MEXEST (BYTE)9
#define Z_UICC_LEN_MEXEST ZPS_UICC_LEN_MEXEST
#define ZPS_UICC_LEN_SST (BYTE)15
#define Z_UICC_LEN_SST ZPS_UICC_LEN_SST
#define ZPS_UICC_LEN_ORPK (BYTE)64
#define Z_UICC_LEN_ORPK ZPS_UICC_LEN_ORPK
#define ZPS_UICC_LEN_TPRPK_ID (BYTE)32
#define Z_UICC_LEN_TPRPK_ID ZPS_UICC_LEN_TPRPK_ID
#define ZPS_UICC_LEN_TPRPK_CERT (BYTE)32
#define Z_UICC_LEN_TPRPK_CERT ZPS_UICC_LEN_TPRPK_CERT
#define ZPS_UICC_LEN_TKCDF (BYTE)32
#define Z_UICC_LEN_TKCDF ZPS_UICC_LEN_TKCDF
#define ZPS_UICC_LEN_SUME_ICON (BYTE)50
#define Z_UICC_LEN_SUME_ICON ZPS_UICC_LEN_SUME_ICON
#define ZPS_UICC_LEN_IMG (BYTE)20
#define Z_UICC_LEN_IMG ZPS_UICC_LEN_IMG
#define ZPS_UICC_LEN_IMGINST (BYTE)50
#define Z_UICC_LEN_IMGINST ZPS_UICC_LEN_IMGINST
#define ZPS_UICC_LEN_MMSICP (BYTE)8
#define Z_UICC_LEN_MMSICP ZPS_UICC_LEN_MMSICP
#define ZPS_UICC_LEN_MMSUCP (BYTE)8
#define Z_UICC_LEN_MMSUCP ZPS_UICC_LEN_MMSUCP
#define ZPS_UICC_LEN_ARPK (BYTE)64
#define Z_UICC_LEN_ARPK ZPS_UICC_LEN_ARPK
#define ZPS_UICC_LEN_PNN_FULL (BYTE)24
#define Z_UICC_LEN_PNN_FULL ZPS_UICC_LEN_PNN_FULL
#define ZPS_UICC_LEN_PNN_SHORT (BYTE)24
#define Z_UICC_LEN_PNN_SHORT ZPS_UICC_LEN_PNN_SHORT
#define ZPS_UICC_LEN_MMSUP_NAME (BYTE)24
#define Z_UICC_LEN_MMSUP_NAME ZPS_UICC_LEN_MMSUP_NAME
#define ZPS_UICC_LEN_MMSUP_INFORM (BYTE)64
#define Z_UICC_LEN_MMSUP_INFORM ZPS_UICC_LEN_MMSUP_INFORM
#define ZPS_UICC_LEN_MMSICP_VAL (BYTE)6
#define Z_UICC_LEN_MMSICP_VAL ZPS_UICC_LEN_MMSICP_VAL
#define ZPS_UICC_LEN_MMSICP_SERVER (BYTE)6
#define Z_UICC_LEN_MMSICP_SERVER ZPS_UICC_LEN_MMSICP_SERVER
#define ZPS_UICC_LEN_MMSICP_INTER (BYTE)4
#define Z_UICC_LEN_MMSICP_INTER ZPS_UICC_LEN_MMSICP_INTER
#define ZPS_UICC_LEN_MMSICP_GATEWAY (BYTE)6
#define Z_UICC_LEN_MMSICP_GATEWAY ZPS_UICC_LEN_MMSICP_GATEWAY
#define ZPS_UICC_LEN_ARR (BYTE)4
#define Z_UICC_LEN_ARR ZPS_UICC_LEN_ARR
#define ZPS_UICC_SIM_ECC (BYTE)5
#define Z_UICC_SIM_ECC ZPS_UICC_SIM_ECC
#define ZPS_UICC_SIM_LP (BYTE)253 /*Ô­ÏÈÊÇ5*/
#define Z_UICC_SIM_LP ZPS_UICC_SIM_LP
#define ZPS_UICC_SIM_AD (BYTE)1
#define Z_UICC_SIM_AD ZPS_UICC_SIM_AD
#define ZPS_UICC_SIM_PLMNSEL (BYTE)16
#define Z_UICC_SIM_PLMNSEL ZPS_UICC_SIM_PLMNSEL
#define ZPS_UICC_SIM_ECCP (BYTE)32
#define Z_UICC_SIM_ECCP ZPS_UICC_SIM_ECCP
#define ZPS_UICC_SIM_LND (BYTE)250 /*Ô­ÏÈΪ14*/
#define Z_UICC_SIM_LND ZPS_UICC_SIM_LND
#define ZPS_UICC_LEN_GROUPID (BYTE)4 /*GroupIdÊý×鳤¶È*/
#define Z_UICC_LEN_GROUPID ZPS_UICC_LEN_GROUPID
#define ZPS_ApUicc_MAX_IMG_DSCRP_NUM (BYTE)28
#define Z_APUICC_MAX_IMG_DSCRP_NUM ZPS_ApUicc_MAX_IMG_DSCRP_NUM
#define ZPS_UICC_PBR_MAX_PBRTYPENUM (BYTE)3
#define Z_UICC_PBR_MAX_PBRTYPENUM ZPS_UICC_PBR_MAX_PBRTYPENUM
#define ZPS_UICC_PBR_MAX_KEYIDNUM (BYTE)10
#define Z_UICC_PBR_MAX_KEYIDNUM ZPS_UICC_PBR_MAX_KEYIDNUM
#define ZPS_UICC_PBR_MAX_LEN (BYTE)255
#define Z_UICC_PBR_MAX_LEN ZPS_UICC_PBR_MAX_LEN
#define ZPS_UICC_LEN_APN (BYTE)101
#define Z_UICC_LEN_APN ZPS_UICC_LEN_APN
#define ZPS_UICC_LEN_FDNURI (BYTE)255
#define Z_UICC_LEN_FDNURI ZPS_UICC_LEN_FDNURI
#define ZPS_UICC_LEN_SDNURI (BYTE)255
#define Z_UICC_LEN_SDNURI ZPS_UICC_LEN_SDNURI
/**************************************************************************
* UiccManagerºÍAp½Ó¿ÚÖк궨Òå *
**************************************************************************/
/*======================= ¿¨²Û ====================================================*/
#define ZPS_ApUicc_SLOT0 (BYTE)0
#define Z_APUICC_SLOT0 ZPS_ApUicc_SLOT0
#define ZPS_ApUicc_SLOT1 (BYTE)1
#define Z_APUICC_SLOT1 ZPS_ApUicc_SLOT1
#define ZPS_ApUicc_SLOT2 (BYTE)2
#define Z_APUICC_SLOT2 ZPS_ApUicc_SLOT2
#define ZPS_ApUicc_MAX_CARD_NUM (BYTE)3
#define Z_APUICC_MAX_CARD_NUM ZPS_ApUicc_MAX_CARD_NUM
/*==================== the macro of card type ======================================*/
#define ZPS_ApUicc_CARDMODE_UICC (BYTE)2
#define Z_APUICC_CARDMODE_UICC ZPS_ApUicc_CARDMODE_UICC
#define ZPS_ApUicc_CARDMODE_SIM (BYTE)1
#define Z_APUICC_CARDMODE_SIM ZPS_ApUicc_CARDMODE_SIM
#define ZPS_ApUicc_CARDMOE_UNKNOWN (BYTE)0 /*δ³õʼ»¯Ç°Éϱ¨¸Ã״̬*/
#define Z_APUICC_CARDMOE_UNKNOWN ZPS_ApUicc_CARDMOE_UNKNOWN
/*====================== Ïֽ׶οÉÓõÄÓ¦ÓõÄÖÆÊ½ ==================================*/
#define ZPS_ApUicc_APPMODE_NULL (BYTE)0
#define Z_APUICC_APPMODE_NULL ZPS_ApUicc_APPMODE_NULL
#define ZPS_ApUicc_APPMODE_USIM (BYTE)1
#define Z_APUICC_APPMODE_USIM ZPS_ApUicc_APPMODE_USIM
#define ZPS_ApUicc_APPMODE_SIM (BYTE)2
#define Z_APUICC_APPMODE_SIM ZPS_ApUicc_APPMODE_SIM
#define ZPS_ApUicc_APPMODE_ISIM (BYTE)3
#define Z_APUICC_APPMODE_ISIM ZPS_ApUicc_APPMODE_ISIM
#define ZPS_ApUicc_MAX_INITAPPMODEVAL (BYTE)ZPS_ApUicc_APPMODE_ISIM
#define Z_APUICC_MAX_INITAPPMODEVAL ZPS_ApUicc_MAX_INITAPPMODEVAL
/*====================== sim¿¨µÄ°æ±¾ºÅ ============================================*/
#define ZPS_ApUicc_SIM_NO_PHASE (BYTE)4
#define Z_APUICC_SIM_NO_PHASE ZPS_ApUicc_SIM_NO_PHASE
#define ZPS_ApUicc_SIM_PHASE1 (BYTE)0
#define Z_APUICC_SIM_PHASE1 ZPS_ApUicc_SIM_PHASE1
#define ZPS_ApUicc_SIM_PHASE2 (BYTE)2
#define Z_APUICC_SIM_PHASE2 ZPS_ApUicc_SIM_PHASE2
#define ZPS_ApUicc_SIM_PHASE2_SPECIAL (BYTE)3
#define Z_APUICC_SIM_PHASE2_SPECIAL ZPS_ApUicc_SIM_PHASE2_SPECIAL
/*==================== the card action==============================================*/
#define ZPS_ApUicc_EVULSION_CARD (BYTE)0
#define Z_APUICC_EVULSION_CARD ZPS_ApUicc_EVULSION_CARD
#define ZPS_ApUicc_INSERT_CARD (BYTE)1
#define Z_APUICC_INSERT_CARD ZPS_ApUicc_INSERT_CARD
/*==================== the card action cause========================================*/
#define ZPS_ApUicc_CARD_PHY_OPER (BYTE)0
#define Z_APUICC_CARD_PHY_OPER ZPS_ApUicc_CARD_PHY_OPER
#define ZPS_ApUicc_CARD_OTHER_OPER (BYTE)1
#define Z_APUICC_CARD_OTHER_OPER ZPS_ApUicc_CARD_OTHER_OPER
/*==================== the macro of Authenticate=====================================*/
/*Authenticate length*/
#define ZPS_ApUicc_MAX_LEN_RAND (BYTE)16
#define Z_APUICC_MAX_LEN_RAND ZPS_ApUicc_MAX_LEN_RAND
#define ZPS_ApUicc_MAX_LEN_AUTN (BYTE)16
#define Z_APUICC_MAX_LEN_AUTN ZPS_ApUicc_MAX_LEN_AUTN
#define ZPS_ApUicc_MAX_LEN_KC (BYTE)8
#define Z_APUICC_MAX_LEN_KC ZPS_ApUicc_MAX_LEN_KC
#define ZPS_ApUicc_MAX_LEN_RES (BYTE)16
#define Z_APUICC_MAX_LEN_RES ZPS_ApUicc_MAX_LEN_RES
#define ZPS_ApUicc_MAX_LEN_AUTS (BYTE)14
#define Z_APUICC_MAX_LEN_AUTS ZPS_ApUicc_MAX_LEN_AUTS
/*the flag of Authenticate context*/
#define ZPS_ApUicc_AUTH_GSM (BYTE)0 /*GSM auth*/
#define Z_APUICC_AUTH_GSM ZPS_ApUicc_AUTH_GSM
#define ZPS_ApUicc_AUTH_UMTS (BYTE)1 /*UMTS auth*/
#define Z_APUICC_AUTH_UMTS ZPS_ApUicc_AUTH_UMTS
/*Authenticate err*/
#define ZPS_ApUicc_AUTH_MACFAIL (BYTE)20 /*MAC failure*/
#define Z_APUICC_AUTH_MACFAIL ZPS_ApUicc_AUTH_MACFAIL
#define ZPS_ApUicc_AUTH_SYNCFAIL (BYTE)21 /*Sync failure*/
#define Z_APUICC_AUTH_SYNCFAIL ZPS_ApUicc_AUTH_SYNCFAIL
#define ZPS_ApUicc_AUTH_GSMAUTHUNACCPT (BYTE)23 /*Gsm auth unaccept*/
#define Z_APUICC_AUTH_GSMAUTHUNACCPT ZPS_ApUicc_AUTH_GSMAUTHUNACCPT
#define ZPS_ApUicc_AUTH_OTHERFAIL (BYTE) 0xFF
#define Z_APUICC_AUTH_OTHERFAIL ZPS_ApUicc_AUTH_OTHERFAIL
/*==================== the macro of others ==========================================*/
#define ZPS_ApUicc_MAX_DIR_NUM (BYTE)4
#define Z_APUICC_MAX_DIR_NUM ZPS_ApUicc_MAX_DIR_NUM
#define ZPS_ApUicc_MAX_APPL_NUM (BYTE)8
#define Z_APUICC_MAX_APPL_NUM ZPS_ApUicc_MAX_APPL_NUM
#define ZPS_ApUicc_MAX_PIN_NUM (BYTE)8
#define Z_APUICC_MAX_PIN_NUM ZPS_ApUicc_MAX_PIN_NUM
#define ZPS_ApUicc_MAX_DATA_VAL (WORD)2028
#define Z_APUICC_MAX_DATA_VAL ZPS_ApUicc_MAX_DATA_VAL
#define ZPS_ApUicc_MAX_RD_KEYID_NUM (BYTE)10
#define Z_APUICC_MAX_RD_KEYID_NUM ZPS_ApUicc_MAX_RD_KEYID_NUM
#define ZPS_ApUicc_MAX_UPDATE_KEYID_NUM (BYTE)10
#define Z_APUICC_MAX_UPDATE_KEYID_NUM ZPS_ApUicc_MAX_UPDATE_KEYID_NUM
#define ZPS_ApUicc_MAX_LGCLCHNL_NUM (BYTE)3
#define Z_APUICC_MAX_LGCLCHNL_NUM ZPS_ApUicc_MAX_LGCLCHNL_NUM
/*====================USATÏà¹Øºê==================*/
/*9.1 BER-TLV tags in terminal to UICC direction */
#define ZPS_ApUicc_USAT_BER_PROACMD_TAG (BYTE)0xD0 /*Proactive UICC command tag */
#define Z_APUICC_USAT_BER_PROACMD_TAG ZPS_ApUicc_USAT_BER_PROACMD_TAG
#define ZPS_ApUicc_USAT_BER_SMSPP_TAG (BYTE)0xD1 /*Reserved for as_gsm/3G/3GPP2 (SMS-PP download tag) */
#define Z_APUICC_USAT_BER_SMSPP_TAG ZPS_ApUicc_USAT_BER_SMSPP_TAG
#define ZPS_ApUicc_USAT_BER_CBSDOWN_TAG (BYTE)0xD2 /*Reserved for as_gsm/3G/3GPP2 (Cell Broadcast download tag) */
#define Z_APUICC_USAT_BER_CBSDOWN_TAG ZPS_ApUicc_USAT_BER_CBSDOWN_TAG
#define ZPS_ApUicc_USAT_BER_MENUSEL_TAG (BYTE)0xD3 /*Menu Selection tag */
#define Z_APUICC_USAT_BER_MENUSEL_TAG ZPS_ApUicc_USAT_BER_MENUSEL_TAG
#define ZPS_ApUicc_USAT_BER_CALLCTRL_TAG (BYTE)0xD4 /*Call control tag */
#define Z_APUICC_USAT_BER_CALLCTRL_TAG ZPS_ApUicc_USAT_BER_CALLCTRL_TAG
#define ZPS_ApUicc_USAT_BER_SMSCTRL_TAG (BYTE)0xD5 /*Reserved for as_gsm/3G (MO Short message control tag) */
#define Z_APUICC_USAT_BER_SMSCTRL_TAG ZPS_ApUicc_USAT_BER_SMSCTRL_TAG
#define ZPS_ApUicc_USAT_BER_EVTDOWN_TAG (BYTE)0xD6 /*Event download tag */
#define Z_APUICC_USAT_BER_EVTDOWN_TAG ZPS_ApUicc_USAT_BER_EVTDOWN_TAG
#define ZPS_ApUicc_USAT_BER_TIMEXPIR_TAG (BYTE)0xD7 /*Timer expiration */
#define Z_APUICC_USAT_BER_TIMEXPIR_TAG ZPS_ApUicc_USAT_BER_TIMEXPIR_TAG
/*====USATÃüÁîÀàÐÍÏà¹Øºê¶¨Òå====*/
/*Execution of usat command +ZEUC ÃüÁîÖеÄÃüÁîÀàÐÍ*/
/*Ö÷¶¯Ê½ÃüÁî*/
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_REFRESH (WORD)0x01 /*102223 6.6.13 REFRESH */
#define Z_APUICC_USAT_PRO_MSGTYPE_REFRESH ZPS_ApUicc_USAT_PRO_MSGTYPE_REFRESH
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_MORETIME (WORD)0x02 /*102223 6.6.4 MORE TIME */
#define Z_APUICC_USAT_PRO_MSGTYPE_MORETIME ZPS_ApUicc_USAT_PRO_MSGTYPE_MORETIME
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_POLINTVL (WORD)0x03 /*102223 6.6.6 POLL INTERVAL */
#define Z_APUICC_USAT_PRO_MSGTYPE_POLINTVL ZPS_ApUicc_USAT_PRO_MSGTYPE_POLINTVL
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_POLLOFF (WORD)0x04 /*102223 6.6.14 POLLING OFF */
#define Z_APUICC_USAT_PRO_MSGTYPE_POLLOFF ZPS_ApUicc_USAT_PRO_MSGTYPE_POLLOFF
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_STUPEVNT (WORD)0x05 /*102223 6.6.16 SET UP EVENT LIST */
#define Z_APUICC_USAT_PRO_MSGTYPE_STUPEVNT ZPS_ApUicc_USAT_PRO_MSGTYPE_STUPEVNT
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_STUPCALL (WORD)0x10 /*102223 6.6.12 SET UP CALL */
#define Z_APUICC_USAT_PRO_MSGTYPE_STUPCALL ZPS_ApUicc_USAT_PRO_MSGTYPE_STUPCALL
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_SENDSS (WORD)0x11 /*31111 6.4.11 SEND SS*/
#define Z_APUICC_USAT_PRO_MSGTYPE_SENDSS ZPS_ApUicc_USAT_PRO_MSGTYPE_SENDSS
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_SENDUSSD (WORD)0x12 /*31111 6.4.12 SEND USSD*/
#define Z_APUICC_USAT_PRO_MSGTYPE_SENDUSSD ZPS_ApUicc_USAT_PRO_MSGTYPE_SENDUSSD
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_SENDSMS (WORD)0x13 /*102223 6.6.9 SEND SHORT MESSAGE */
#define Z_APUICC_USAT_PRO_MSGTYPE_SENDSMS ZPS_ApUicc_USAT_PRO_MSGTYPE_SENDSMS
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_SENDDTMF (WORD)0x14 /*102223 6.6.24 SEND DTMF COMMAND */
#define Z_APUICC_USAT_PRO_MSGTYPE_SENDDTMF ZPS_ApUicc_USAT_PRO_MSGTYPE_SENDDTMF
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_LCHBRWSR (WORD)0x15 /*102223 6.6.26 LAUNCH BROWSER */
#define Z_APUICC_USAT_PRO_MSGTYPE_LCHBRWSR ZPS_ApUicc_USAT_PRO_MSGTYPE_LCHBRWSR
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_PLAYTONE (WORD)0x20 /*102223 6.6.5 PLAY TONE */
#define Z_APUICC_USAT_PRO_MSGTYPE_PLAYTONE ZPS_ApUicc_USAT_PRO_MSGTYPE_PLAYTONE
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_DISPTEXT (WORD)0x21 /*102223 6.6.1 DISPLAY TEXT */
#define Z_APUICC_USAT_PRO_MSGTYPE_DISPTEXT ZPS_ApUicc_USAT_PRO_MSGTYPE_DISPTEXT
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_GETINKEY (WORD)0x22 /*102223 6.6.2 GET INKEY */
#define Z_APUICC_USAT_PRO_MSGTYPE_GETINKEY ZPS_ApUicc_USAT_PRO_MSGTYPE_GETINKEY
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_GETINPUT (WORD)0x23 /*102223 6.6.3 GET INPUT */
#define Z_APUICC_USAT_PRO_MSGTYPE_GETINPUT ZPS_ApUicc_USAT_PRO_MSGTYPE_GETINPUT
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_SELEITEM (WORD)0x24 /*102223 6.6.8 SELECT ITEM */
#define Z_APUICC_USAT_PRO_MSGTYPE_SELEITEM ZPS_ApUicc_USAT_PRO_MSGTYPE_SELEITEM
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_STUPMENU (WORD)0x25 /*102223 6.6.7 SET-UP MENU */
#define Z_APUICC_USAT_PRO_MSGTYPE_STUPMENU ZPS_ApUicc_USAT_PRO_MSGTYPE_STUPMENU
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_PLOCINFO (WORD)0x26 /*102223 6.6.15 PROVIDE LOCAL INFORMATION */
#define Z_APUICC_USAT_PRO_MSGTYPE_PLOCINFO ZPS_ApUicc_USAT_PRO_MSGTYPE_PLOCINFO
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_TIMERMNG (WORD)0x27 /*102223 6.6.21 TIMER MANAGEMENT */
#define Z_APUICC_USAT_PRO_MSGTYPE_TIMERMNG ZPS_ApUicc_USAT_PRO_MSGTYPE_TIMERMNG
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_STIDLTXT (WORD)0x28 /*102223 6.6.22 SET UP IDLE MODE TEXT */
#define Z_APUICC_USAT_PRO_MSGTYPE_STIDLTXT ZPS_ApUicc_USAT_PRO_MSGTYPE_STIDLTXT
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_PRCDAPDU (WORD)0x30 /*102223 6.6.17 PERFORM CARD APDU */
#define Z_APUICC_USAT_PRO_MSGTYPE_PRCDAPDU ZPS_ApUicc_USAT_PRO_MSGTYPE_PRCDAPDU
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_PONCARD (WORD)0x31 /*102223 6.6.19 POWER ON CARD */
#define Z_APUICC_USAT_PRO_MSGTYPE_PONCARD ZPS_ApUicc_USAT_PRO_MSGTYPE_PONCARD
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_POFFCARD (WORD)0x32 /*102223 6.6.18 POWER OFF CARD */
#define Z_APUICC_USAT_PRO_MSGTYPE_POFFCARD ZPS_ApUicc_USAT_PRO_MSGTYPE_POFFCARD
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_GTRDRSTA (WORD)0x33 /*102223 6.6.20 GET READER STATUS */
#define Z_APUICC_USAT_PRO_MSGTYPE_GTRDRSTA ZPS_ApUicc_USAT_PRO_MSGTYPE_GTRDRSTA
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_RUNATCMD (WORD)0x34 /*102223 6.6.23 RUN AT COMMAND */
#define Z_APUICC_USAT_PRO_MSGTYPE_RUNATCMD ZPS_ApUicc_USAT_PRO_MSGTYPE_RUNATCMD
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_LNGNOTFY (WORD)0x35 /*102223 6.6.25 LANGUAGE NOTIFICATION */
#define Z_APUICC_USAT_PRO_MSGTYPE_LNGNOTFY ZPS_ApUicc_USAT_PRO_MSGTYPE_LNGNOTFY
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_OPENCHNL (WORD)0x40 /*102223 6.6.27 OPEN CHANNEL */
#define Z_APUICC_USAT_PRO_MSGTYPE_OPENCHNL ZPS_ApUicc_USAT_PRO_MSGTYPE_OPENCHNL
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_CLOSCHNL (WORD)0x41 /*102223 6.6.28 CLOSE CHANNEL */
#define Z_APUICC_USAT_PRO_MSGTYPE_CLOSCHNL ZPS_ApUicc_USAT_PRO_MSGTYPE_CLOSCHNL
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_RECVDATA (WORD)0x42 /*102223 6.6.29 RECEIVE DATA */
#define Z_APUICC_USAT_PRO_MSGTYPE_RECVDATA ZPS_ApUicc_USAT_PRO_MSGTYPE_RECVDATA
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_SENDDATA (WORD)0x43 /*102223 6.6.30 SEND DATA */
#define Z_APUICC_USAT_PRO_MSGTYPE_SENDDATA ZPS_ApUicc_USAT_PRO_MSGTYPE_SENDDATA
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_GTCHSTAT (WORD)0x44 /*102223 6.6.31 GET CHANNEL STATUS */
#define Z_APUICC_USAT_PRO_MSGTYPE_GTCHSTAT ZPS_ApUicc_USAT_PRO_MSGTYPE_GTCHSTAT
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_SERVSRCH (WORD)0x45 /*102223 6.6.32 SERVICE SEARCH */
#define Z_APUICC_USAT_PRO_MSGTYPE_SERVSRCH ZPS_ApUicc_USAT_PRO_MSGTYPE_SERVSRCH
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_GTSERINF (WORD)0x46 /*102223 6.6.33 GET SERVICE INFORMATION */
#define Z_APUICC_USAT_PRO_MSGTYPE_GTSERINF ZPS_ApUicc_USAT_PRO_MSGTYPE_GTSERINF
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_DECLSERV (WORD)0x47 /*102223 6.6.34 DECLARE SERVICE */
#define Z_APUICC_USAT_PRO_MSGTYPE_DECLSERV ZPS_ApUicc_USAT_PRO_MSGTYPE_DECLSERV
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_SETFRAMES (WORD)0x50 /*102223 6.6.35 SET FRAMES */
#define Z_APUICC_USAT_PRO_MSGTYPE_SETFRAMES ZPS_ApUicc_USAT_PRO_MSGTYPE_SETFRAMES
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_SETFRAMESSTATUS (WORD)0x51 /*102223 6.6.36 SET FRAMES STATUS*/
#define Z_APUICC_USAT_PRO_MSGTYPE_SETFRAMESSTATUS ZPS_ApUicc_USAT_PRO_MSGTYPE_SETFRAMESSTATUS
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_RETMULTMSG (WORD)0x60 /*102223 6.6.37 RETREIVE MULTIMEDIA MESSAGE*/
#define Z_APUICC_USAT_PRO_MSGTYPE_RETMULTMSG ZPS_ApUicc_USAT_PRO_MSGTYPE_RETMULTMSG
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_SUBMULTMSG (WORD)0x61 /*102223 6.6.38 SUBMIT MULTIMEDIA MESSAGE*/
#define Z_APUICC_USAT_PRO_MSGTYPE_SUBMULTMSG ZPS_ApUicc_USAT_PRO_MSGTYPE_SUBMULTMSG
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_DISMULTMSG (WORD)0x62 /*102223 6.6.39 DISPLAY MULTIMEDIA MESSAGE*/
#define Z_APUICC_USAT_PRO_MSGTYPE_DISMULTMSG ZPS_ApUicc_USAT_PRO_MSGTYPE_DISMULTMSG
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_ACTIVE (WORD)0x70 /*102223 6.6.40 ACTIVE */
#define Z_APUICC_USAT_PRO_MSGTYPE_ACTIVE ZPS_ApUicc_USAT_PRO_MSGTYPE_ACTIVE
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_CONTSTATCHANGE (WORD)0x71 /*102223 6.6.41 CONTACTLESS STATE CHANGED */
#define Z_APUICC_USAT_PRO_MSGTYPE_CONTSTATCHANGE ZPS_ApUicc_USAT_PRO_MSGTYPE_CONTSTATCHANGE
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_CMDCONT (WORD)0x72 /*102223 6.6.42 COMMAND CONTAINER */
#define Z_APUICC_USAT_PRO_MSGTYPE_CCMDCONT ZPS_ApUicc_USAT_PRO_MSGTYPE_CMDCONT
#define ZPS_ApUicc_USAT_PRO_MSGTYPE_ENCSESSCONT (WORD)0x73 /*102223 6.6.43 ENCAPSULATED SESSION CONTROL */
#define Z_APUICC_USAT_PRO_MSGTYPE_ENCSESSCONT ZPS_ApUicc_USAT_PRO_MSGTYPE_ENCSESSCONT
/*evelopÃüÁî*/
#define ZPS_ApUicc_USAT_EVELP_MSGTYPE_SMSDOWN (WORD)0x01 /*31111 7.1.1.2 SMS-PP DOWNLOAD*/
#define Z_APUICC_USAT_EVELP_MSGTYPE_SMSDOWN ZPS_ApUicc_USAT_EVELP_MSGTYPE_SMSDOWN
#define ZPS_ApUicc_USAT_EVELP_MSGTYPE_CBSDOWN (WORD)0x02 /*31111 7.1.2.2 CELL BROADCAST DOWNLOAD*/
#define Z_APUICC_USAT_EVELP_MSGTYPE_CBSDOWN ZPS_ApUicc_USAT_EVELP_MSGTYPE_CBSDOWN
#define ZPS_ApUicc_USAT_EVELP_MSGTYPE_MENUSEL (WORD)0x03 /*102223 7.2 Menu selection */
#define Z_APUICC_USAT_EVELP_MSGTYPE_MENUSEL ZPS_ApUicc_USAT_EVELP_MSGTYPE_MENUSEL
#define ZPS_ApUicc_USAT_EVELP_MSGTYPE_CALLCTRL (WORD)0x04 /*102223 7.3 Call Control by NAA */
#define Z_APUICC_USAT_EVELP_MSGTYPE_CALLCTRL ZPS_ApUicc_USAT_EVELP_MSGTYPE_CALLCTRL
#define ZPS_ApUicc_USAT_EVELP_MSGTYPE_SMSCTR (WORD)0x05 /*31111 7.3.1.6 CALL CONTROL*/
#define Z_APUICC_USAT_EVELP_MSGTYPE_SMSCTR ZPS_ApUicc_USAT_EVELP_MSGTYPE_SMSCTR
#define ZPS_ApUicc_USAT_EVELP_MSGTYPE_TIMREXP (WORD)0x06 /*102223 7.4 Timer expiration */
#define Z_APUICC_USAT_EVELP_MSGTYPE_TIMREXP ZPS_ApUicc_USAT_EVELP_MSGTYPE_TIMREXP
#define ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_MTCAL (WORD)0x07 /*102223 7.5.1 MT call event */
#define Z_APUICC_USAT_EVELP_MSGTYPE_ET_MTCAL ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_MTCAL
#define ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_CCONT (WORD)0x08 /*102223 7.5.2 Call connected event */
#define Z_APUICC_USAT_EVELP_MSGTYPE_ET_CCONT ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_CCONT
#define ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_DCONT (WORD)0x09 /*102223 7.5.3 Call disconnected event */
#define Z_APUICC_USAT_EVELP_MSGTYPE_ET_DCONT ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_DCONT
#define ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_LOCST (WORD)0x0A /*102223 7.5.4 Location status event */
#define Z_APUICC_USAT_EVELP_MSGTYPE_ET_LOCST ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_LOCST
#define ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_USRAC (WORD)0x0B /*102223 7.5.5 User activity event */
#define Z_APUICC_USAT_EVELP_MSGTYPE_ET_USRAC ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_USRAC
#define ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_SCNAV (WORD)0x0C /*102223 7.5.6 Idle screen available event */
#define Z_APUICC_USAT_EVELP_MSGTYPE_ET_SCNAV ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_SCNAV
#define ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_CRSTA (WORD)0x0D /*102223 7.5.7 Card reader status event */
#define Z_APUICC_USAT_EVELP_MSGTYPE_ET_CRSTA ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_CRSTA
#define ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_LNGSL (WORD)0x0E /*102223 7.5.8 Language selection event */
#define Z_APUICC_USAT_EVELP_MSGTYPE_ET_LNGSL ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_LNGSL
#define ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_BRSTR (WORD)0x0F /*102223 7.5.9 Browser termination event */
#define Z_APUICC_USAT_EVELP_MSGTYPE_ET_BRSTR ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_BRSTR
#define ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_DATAV (WORD)0x10 /*102223 7.5.10 Data available event */
#define Z_APUICC_USAT_EVELP_MSGTYPE_ET_DATAV ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_DATAV
#define ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_CHSTA (WORD)0x11 /*102223 7.5.11 Channel status event */
#define Z_APUICC_USAT_EVELP_MSGTYPE_ET_CHSTA ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_CHSTA
#define ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_ACTCH (WORD)0x12 /*102223 7.5.12 Access technology change event */
#define Z_APUICC_USAT_EVELP_MSGTYPE_ET_ACTCH ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_ACTCH
#define ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_PARCH (WORD)0x13 /*102223 7.5.13 Display parameters changed event */
#define Z_APUICC_USAT_EVELP_MSGTYPE_ET_PARCH ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_PARCH
#define ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_LOCNT (WORD)0x14 /*102223 7.5.14 Local connection event */
#define Z_APUICC_USAT_EVELP_MSGTYPE_ET_LOCNT ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_LOCNT
#define ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_NWREJ (WORD)0x15 /*102223 7.5.17 Network Reject event */
#define Z_APUICC_USAT_EVELP_MSGTYPE_ET_NWREJ ZPS_ApUicc_USAT_EVELP_MSGTYPE_ET_NWREJ
/*envelop»Ø¸´ÏûÏ¢ÖеÄÃüÁîÀàÐÍ*/
#define ZPS_ApUicc_MSGTYPE_SMSCTR_CNF (WORD)0x01
#define Z_APUICC_MSGTYPE_SMSCTR_CNF ZPS_ApUicc_MSGTYPE_SMSCTR_CNF
#define ZPS_ApUicc_MSGTYPE_CALCTR_CNF (WORD)0x02
#define Z_APUICC_MSGTYPE_CALCTR_CNF ZPS_ApUicc_MSGTYPE_CALCTR_CNF
#define ZPS_ApUicc_MSGTYPE_SMSDOW_CNF (WORD)0x03
#define Z_APUICC_MSGTYPE_SMSDOW_CNF ZPS_ApUicc_MSGTYPE_SMSDOW_CNF
/*Terminal response*/
#define ZPS_ApUicc_USAT_TERMRSP_MSGTYPE_TERMLRSP (WORD)0x3D /*102223 6.8 Structure of TERMINAL RESPONSE */
#define Z_APUICC_USAT_TERMRSP_MSGTYPE_TERMLRSP ZPS_ApUicc_USAT_TERMRSP_MSGTYPE_TERMLRSP
/*Terminal profile*/
#define ZPS_ApUicc_USAT_TERMPRFL_MSGTYPE_TERMLPRO (WORD)0x3E /*102223 5.2 Structure and coding of TERMINAL PROFILE */
#define Z_APUICC_USAT_TERMPRFL_MSGTYPE_TERMLPRO ZPS_ApUicc_USAT_TERMPRFL_MSGTYPE_TERMLPRO
/*102223 8.52 Bearer description (bearer type)*/
#define ZPS_ApUicc_USAT_BEARTYPE_CSD (BYTE)0x01 /*reserved for as_gsm/3GPP CSD*/
#define Z_APUICC_USAT_BEARTYPE_CSD ZPS_ApUicc_USAT_BEARTYPE_CSD
#define ZPS_ApUicc_USAT_BEARTYPE_3GGPRS (BYTE)0x02 /*reserved for as_gsm/3GPP packet data service*/
#define Z_APUICC_USAT_BEARTYPE_3GGPRS ZPS_ApUicc_USAT_BEARTYPE_3GGPRS
#define ZPS_ApUicc_USAT_BEARTYPE_DEFAUT (BYTE)0x03 /*default bearer for requested transport layer*/
#define Z_APUICC_USAT_BEARTYPE_DEFAUT ZPS_ApUicc_USAT_BEARTYPE_DEFAUT
#define ZPS_ApUicc_USAT_BEARTYPE_LOCALINK (BYTE)0x04 /*local link technology independent*/
#define Z_APUICC_USAT_BEARTYPE_LOCALINK ZPS_ApUicc_USAT_BEARTYPE_LOCALINK
#define ZPS_ApUicc_USAT_BEARTYPE_BLUTOOTH (BYTE)0x05 /*Bluetooth*/
#define Z_APUICC_USAT_BEARTYPE_BLUTOOTH ZPS_ApUicc_USAT_BEARTYPE_BLUTOOTH
#define ZPS_ApUicc_USAT_BEARTYPE_IRDA (BYTE)0x06 /*IrDA*/
#define Z_APUICC_USAT_BEARTYPE_IRDA ZPS_ApUicc_USAT_BEARTYPE_IRDA
#define ZPS_ApUicc_USAT_BEARTYPE_RS232 (BYTE)0x07 /*RS232*/
#define Z_APUICC_USAT_BEARTYPE_RS232 ZPS_ApUicc_USAT_BEARTYPE_RS232
#define ZPS_ApUicc_USAT_BEARTYPE_TIAGPRS (BYTE)0x08 /*TIA/IS-820-A packet data service*/
#define Z_APUICC_USAT_BEARTYPE_TIAGPRS ZPS_ApUicc_USAT_BEARTYPE_TIAGPRS
#define ZPS_ApUicc_USAT_BEARTYPE_EMUPDS (BYTE)0x0B /*E-UTRAN/Mapped UTRAN packet data service*/
#define Z_APUICC_USAT_BEARTYPE_EMUPDS ZPS_ApUicc_USAT_BEARTYPE_EMUPDS
#define ZPS_ApUicc_USAT_BEARTYPE_USB (BYTE)0x10 /*USB*/
#define Z_APUICC_USAT_BEARTYPE_USB ZPS_ApUicc_USAT_BEARTYPE_USB
/*31111 8.6 ±¾µØÐÅϢѡÏî*/
#define ZPS_ApUicc_USAT_LOCINF_LOCAT (BYTE)0x00 /*Location Information (MCC, MNC, LAC, Cell Identity and Extended Cell Identity)*/
#define Z_APUICC_USAT_LOCINF_LOCAT ZPS_ApUicc_USAT_LOCINF_LOCAT
#define ZPS_ApUicc_USAT_LOCINF_IMEI (BYTE)0x01 /*IMEI of the terminal*/
#define Z_APUICC_USAT_LOCINF_IMEI ZPS_ApUicc_USAT_LOCINF_IMEI
#define ZPS_ApUicc_USAT_LOCINF_NMR (BYTE)0x02 /*Network Measurement results£¬°üÀ¨BCCH*/
#define Z_APUICC_USAT_LOCINF_NMR ZPS_ApUicc_USAT_LOCINF_NMR
#define ZPS_ApUicc_USAT_LOCINF_DTZ (BYTE)0x03 /*Date, time and time zone*/
#define Z_APUICC_USAT_LOCINF_DTZ ZPS_ApUicc_USAT_LOCINF_DTZ
#define ZPS_ApUicc_USAT_LOCINF_LANG (BYTE)0x04 /*Language setting*/
#define Z_APUICC_USAT_LOCINF_LANG ZPS_ApUicc_USAT_LOCINF_LANG
#define ZPS_ApUicc_USAT_LOCINF_TIMADV (BYTE)0x05 /*Timing Advance*/
#define Z_APUICC_USAT_LOCINF_TIMADV ZPS_ApUicc_USAT_LOCINF_TIMADV
#define ZPS_ApUicc_USAT_LOCINF_ACT (BYTE)0x06 /*Access Technology*/
#define Z_APUICC_USAT_LOCINF_ACT ZPS_ApUicc_USAT_LOCINF_ACT
#define ZPS_ApUicc_USAT_LOCINF_IMEISV (BYTE)0x08 /*ImeiSv*/
#define Z_APUICC_USAT_LOCINF_IMEISV ZPS_ApUicc_USAT_LOCINF_IMEISV
/*Êý¾Ý×î´óÖµ*/
#define ZPS_APUICC_USAT_MAX_BCDNUM_LEN (BYTE)40 /*ap-mmia½Ó¿Ú£¬ºêZPS_APMMIA_MAX_BCDNUM_LEN*/
#define Z_APUICC_USAT_MAX_BCDNUM_LEN ZPS_APUICC_USAT_MAX_BCDNUM_LEN
#define ZPS_APUICC_USAT_MAX_ALPHA_LEN (BYTE)241 /*ÖÐÒÆ¹æ·¶6.4.5.2*/
#define Z_APUICC_USAT_MAX_ALPHA_LEN ZPS_APUICC_USAT_MAX_ALPHA_LEN
#define ZPS_APUICC_USAT_MAX_SUBADR_LEN (BYTE)21 /*ƽ̨Ìṩ*/
#define Z_APUICC_USAT_MAX_SUBADR_LEN ZPS_APUICC_USAT_MAX_SUBADR_LEN
#define ZPS_APUICC_USAT_MAX_BC_LEN (BYTE)16 /*²ã3½á¹¹£¬T_zPS_L3_Bc(l3cc.h)*/
#define Z_APUICC_USAT_MAX_BC_LEN ZPS_APUICC_USAT_MAX_BC_LEN
#define ZPS_APUICC_USAT_MAX_TXTATTR_LEN (BYTE)4 /*102223 8.72*/
#define Z_APUICC_USAT_MAX_TXTATTR_LEN ZPS_APUICC_USAT_MAX_TXTATTR_LEN
#define ZPS_APUICC_USAT_MAX_SSSTR_LEN (BYTE)80 /*ƽ̨Ìṩ¾­ÑéÖµ*/
#define Z_APUICC_USAT_MAX_SSSTR_LEN ZPS_APUICC_USAT_MAX_SSSTR_LEN
#define ZPS_APUICC_USAT_MAX_USSDSTR_LEN (BYTE)80 /*ƽ̨Ìṩ¾­ÑéÖµ*/
#define Z_APUICC_USAT_MAX_USSDSTR_LEN ZPS_APUICC_USAT_MAX_USSDSTR_LEN
#define ZPS_APUICC_USAT_MAX_TXTSTR_LEN (BYTE)244 /*°´ÕÕ×îС¼¯£¬¼ÆËãµÄ×î´óÖµ*/
#define Z_APUICC_USAT_MAX_TXTSTR_LEN ZPS_APUICC_USAT_MAX_TXTSTR_LEN
#define ZPS_APUICC_USAT_MAX_FILELST_LEN (BYTE)64 /*ƽ̨Ìṩ¾­ÑéÖµ*/
#define Z_APUICC_USAT_MAX_FILELST_LEN ZPS_APUICC_USAT_MAX_FILELST_LEN
#define ZPS_APUICC_USAT_MAX_EVNTLST_LEN (BYTE)28 /*102223 8.25*/
#define Z_APUICC_USAT_MAX_EVNTLST_LEN ZPS_APUICC_USAT_MAX_EVNTLST_LEN
#define ZPS_APUICC_USAT_MAX_CREADRID_LEN (BYTE)255 /*Ôݶ¨*/
#define Z_APUICC_USAT_MAX_CREADRID_LEN ZPS_APUICC_USAT_MAX_CREADRID_LEN
#define ZPS_APUICC_USAT_MAX_CARDATR_LEN (BYTE)255 /*Ôݶ¨*/
#define Z_APUICC_USAT_MAX_CARDATR_LEN ZPS_APUICC_USAT_MAX_CARDATR_LEN
#define ZPS_APUICC_USAT_MAX_RPDUDATA_LEN (BYTE)237 /*102223 8.36*/
#define Z_APUICC_USAT_MAX_RPDUDATA_LEN ZPS_APUICC_USAT_MAX_RPDUDATA_LEN
#define ZPS_APUICC_USAT_MAX_ATRSP_LEN (BYTE)255 /*Ôݶ¨*/
#define Z_APUICC_USAT_MAX_ATRSP_LEN ZPS_APUICC_USAT_MAX_ATRSP_LEN
#define ZPS_APUICC_USAT_MAX_BEARPRAM_LEN (BYTE)13 /*ƽ̨Ìṩ¾­ÑéÖµ*/
#define Z_APUICC_USAT_MAX_BEARPRAM_LEN ZPS_APUICC_USAT_MAX_BEARPRAM_LEN
#define ZPS_APUICC_USAT_MAX_CHNLDATA_LEN (BYTE)255 /*Ôݶ¨*/
#define Z_APUICC_USAT_MAX_CHNLDATA_LEN ZPS_APUICC_USAT_MAX_CHNLDATA_LEN
#define ZPS_APUICC_USAT_MAX_OTHRADDR_LEN (BYTE)16 /*102223 8.58*/
#define Z_APUICC_USAT_MAX_OTHRADDR_LEN ZPS_APUICC_USAT_MAX_OTHRADDR_LEN
#define ZPS_APUICC_USAT_MAX_AID_LEN (BYTE)16 /*UICCMNG¾­ÑéÖµEFaid*/
#define Z_APUICC_USAT_MAX_AID_LEN ZPS_APUICC_USAT_MAX_AID_LEN
#define ZPS_APUICC_USAT_MAX_SRVRCRD_LEN (BYTE)255 /*Ôݶ¨*/
#define Z_APUICC_USAT_MAX_SRVRCRD_LEN ZPS_APUICC_USAT_MAX_SRVRCRD_LEN
#define ZPS_APUICC_USAT_MAX_DVCFLTR_LEN (BYTE)255 /*Ôݶ¨*/
#define Z_APUICC_USAT_MAX_DVCFLTR_LEN ZPS_APUICC_USAT_MAX_DVCFLTR_LEN
#define ZPS_APUICC_USAT_MAX_SRVSRCH_LEN (BYTE)255 /*Ôݶ¨*/
#define Z_APUICC_USAT_MAX_SRVSRCH_LEN ZPS_APUICC_USAT_MAX_SRVSRCH_LEN
#define ZPS_APUICC_USAT_MAX_ATTRINF_LEN (BYTE)255 /*Ôݶ¨*/
#define Z_APUICC_USAT_MAX_ATTRINF_LEN ZPS_APUICC_USAT_MAX_ATTRINF_LEN
#define ZPS_APUICC_USAT_MAX_SRVLST_LEN (BYTE)255 /*Ôݶ¨*/
#define Z_APUICC_USAT_MAX_SRVLST_LEN ZPS_APUICC_USAT_MAX_SRVLST_LEN
#define ZPS_APUICC_USAT_MAX_REMADDR_LEN (BYTE)6 /*ƽ̨Ìṩ¾­ÑéÖµ*/
#define Z_APUICC_USAT_MAX_REMADDR_LEN ZPS_APUICC_USAT_MAX_REMADDR_LEN
#define ZPS_APUICC_USAT_MAX_NETNAME_LEN (BYTE)100 /*ƽ̨Ìṩ¾­ÑéÖµ*/
#define Z_APUICC_USAT_MAX_NETNAME_LEN ZPS_APUICC_USAT_MAX_NETNAME_LEN
#define ZPS_APUICC_USAT_MAX_IMEI_LEN (BYTE)8 /* T_zPS_IMEI(psCom.h)*/
#define Z_APUICC_USAT_MAX_IMEI_LEN ZPS_APUICC_USAT_MAX_IMEI_LEN
#define ZPS_APUICC_USAT_MAX_IMEISV_LEN (BYTE)8 /* T_zPS_IMEI(psCom.h)*/
#define Z_APUICC_USAT_MAX_IMEISV_LEN ZPS_APUICC_USAT_MAX_IMEISV_LEN
#define ZPS_APUICC_USAT_MAX_MNRRLT_LEN (BYTE)16 /*31.111 8.22*/
#define Z_APUICC_USAT_MAX_MNRRLT_LEN ZPS_APUICC_USAT_MAX_MNRRLT_LEN
#define ZPS_APUICC_USAT_MAX_BCCHLST_LEN (BYTE)255 /*ƽ̨Ìṩ¾­ÑéÖµ*/
#define Z_APUICC_USAT_MAX_BCCHLST_LEN ZPS_APUICC_USAT_MAX_BCCHLST_LEN
#define ZPS_APUICC_USAT_MAX_ATSTR_LEN (BYTE)255 /*Ôݶ¨*/
#define Z_APUICC_USAT_MAX_ATSTR_LEN ZPS_APUICC_USAT_MAX_ATSTR_LEN
#define ZPS_APUICC_USAT_MAX_URL_LEN (BYTE)226 /*ƽ̨Ìṩ¾­ÑéÖµ*/
#define Z_APUICC_USAT_MAX_URL_LEN ZPS_APUICC_USAT_MAX_URL_LEN
#define ZPS_APUICC_USAT_MAX_PROFILE_LEN (BYTE)60 /*°´ÕÕ×îС¼¯£¬¼ÆËãµÄ×î´óÖµ*/
#define Z_APUICC_USAT_MAX_PROFILE_LEN ZPS_APUICC_USAT_MAX_PROFILE_LEN
#define ZPS_APUICC_USAT_MAX_BEARLST_LEN (BYTE)5 /*ƽ̨Ìṩ¾­ÑéÖµ*/
#define Z_APUICC_USAT_MAX_BEARLST_LEN ZPS_APUICC_USAT_MAX_BEARLST_LEN
#define ZPS_APUICC_USAT_MAX_DISCCAUS_LEN (BYTE)30 /*102223 8.26*/
#define Z_APUICC_USAT_MAX_DISCCAUS_LEN ZPS_APUICC_USAT_MAX_DISCCAUS_LEN
#define ZPS_APUICC_USAT_MAX_TPDU_LEN (BYTE)164 /*mmia-sms½Ó¿Ú£¬ZPS_MMIASMS_MAX_TPDU_LEN(mmiasmsInt.h)*/
#define Z_APUICC_USAT_MAX_TPDU_LEN ZPS_APUICC_USAT_MAX_TPDU_LEN
#define ZPS_APUICC_USAT_MAX_TPUD_LEN (BYTE)128 /*31.111 7.1.1.2*/
#define Z_APUICC_USAT_MAX_TPUD_LEN ZPS_APUICC_USAT_MAX_TPUD_LEN
#define ZPS_APUICC_USAT_MAX_CBSPAG_LEN (BYTE)88 /*31.111 8.5*/
#define Z_APUICC_USAT_MAX_CBSPAG_LEN ZPS_APUICC_USAT_MAX_CBSPAG_LEN
#define ZPS_APUICC_USAT_MAX_CAPDUDAT_LEN (BYTE)236 /*102223 8.35*/
#define Z_APUICC_USAT_MAX_CAPDUDAT_LEN ZPS_APUICC_USAT_MAX_CAPDUDAT_LEN
#define ZPS_APUICC_USAT_MAX_ITEM_NUM (BYTE)30 /*°´ÕÕ×îС¼¯£¬¼ÆËãµÄ×î´óÖµ*/
#define Z_APUICC_USAT_MAX_ITEM_NUM ZPS_APUICC_USAT_MAX_ITEM_NUM
#define ZPS_APUICC_USAT_MAX_ADDINFO_LEN (BYTE)5 /*Ôݶ¨*/
#define Z_APUICC_USAT_MAX_ADDINFO_LEN ZPS_APUICC_USAT_MAX_ADDINFO_LEN
#define ZPS_ApUicc_USAT_PdpAddr (BYTE)20 /*²ÎÕÕ²ã3*/
#define Z_APUICC_USAT_PdpAddr ZPS_ApUicc_USAT_PdpAddr
#define ZPS_ApUicc_USAT_Apn (BYTE)100 /*²ÎÕÕ²ã3*/
#define Z_APUICC_USAT_Apn ZPS_ApUicc_USAT_Apn
#define ZPS_ApUicc_USAT_ProtoID (BYTE)50 /*²ÎÕÕ²ã3*/
#define Z_APUICC_USAT_ProtoID ZPS_ApUicc_USAT_ProtoID
#define Z_APUICC_USAT_BIP_CHANNEL_NUM (BYTE)7
#define Z_APUICC_CMD_SUCC 0
#define Z_APUICC_CMD_FAIL 1
#define ZPS_ApUicc_CMD_SUCC Z_APUICC_CMD_SUCC
#define ZPS_ApUicc_CMD_FAIL Z_APUICC_CMD_FAIL
/*=====the macro of err, define in the 27.007=====*/
#define ZPS_ApUicc_NO_CARD (DWORD)10 /*SIM not inserted*/
#define Z_APUICC_NO_CARD ZPS_ApUicc_NO_CARD
#define ZPS_ApUicc_NEED_PIN (DWORD)11 /*SIM PIN required*/
#define Z_APUICC_NEED_PIN ZPS_ApUicc_NEED_PIN
#define ZPS_ApUicc_NEED_UNBLPIN (DWORD)12 /*SIM PUK required*/
#define Z_APUICC_NEED_UNBLPIN ZPS_ApUicc_NEED_UNBLPIN
#define ZPS_ApUicc_CARD_FAILED (DWORD)13 /*SIM faliure*/
#define Z_APUICC_CARD_FAILED ZPS_ApUicc_CARD_FAILED
#define ZPS_ApUicc_CARD_BUSY (DWORD)14 /*SIM busy*/
#define Z_APUICC_CARD_BUSY ZPS_ApUicc_CARD_BUSY
#define ZPS_ApUicc_CARD_WRONG (DWORD)15 /*SIM wrong*/
#define Z_APUICC_CARD_WRONG ZPS_ApUicc_CARD_WRONG
#define ZPS_ApUicc_PIN_INCORRECT (DWORD)16 /*incorrect password*/
#define Z_APUICC_PIN_INCORRECT ZPS_ApUicc_PIN_INCORRECT
#define ZPS_ApUicc_NEED_PIN2 (DWORD)17 /*SIM PIN2 required*/
#define Z_APUICC_NEED_PIN2 ZPS_ApUicc_NEED_PIN2
#define ZPS_ApUicc_NEED_UNBLPIN2 (DWORD)18 /*SIM PUK2 required*/
#define Z_APUICC_NEED_UNBLPIN2 ZPS_ApUicc_NEED_UNBLPIN2
#define ZPS_ApUicc_OPER_NOT_ALLOWED (DWORD)3
#define Z_APUICC_OPER_NOT_ALLOWED ZPS_ApUicc_OPER_NOT_ALLOWED
/*UiccMngÐèÒªÀ©Õ¹µÄ´íÎóÂë*/
#define ZPS_ApUicc_APPL_FAIL (DWORD)ZPS_ApUicc_CARD_FAILED /*the unblock pin of the application is blocked
*ÓëÆ½Ì¨Ïà¹ØÈËÔ±ÌÖÂÛºó£¬ÔÝÓëCardFailÖµÏàͬ*/
#define Z_APUICC_APPL_FAIL ZPS_ApUicc_APPL_FAIL
/*USAT½âÂë´íÎóÂë*/
#define ZPS_ApUicc_USAT_DE_MSGSHORT_ERR (DWORD)262 /*TLV½á¹¹²»È«*/
#define Z_APUICC_USAT_DE_MSGSHORT_ERR ZPS_ApUicc_USAT_DE_MSGSHORT_ERR
#define ZPS_ApUicc_USAT_DE_MISSOINFO_ERR (DWORD)263 /*ÔªËØ²»È«£¬µ«ÓÐ×îС¼¯*/
#define Z_APUICC_USAT_DE_MISSOINFO_ERR ZPS_ApUicc_USAT_DE_MISSOINFO_ERR
#define ZPS_ApUicc_USAT_DE_MISSMINFO_ERR (DWORD)264 /*ȱÉÙ×îС¼¯*/
#define Z_APUICC_USAT_DE_MISSMINFO_ERR ZPS_ApUicc_USAT_DE_MISSMINFO_ERR
#define ZPS_ApUicc_USAT_DE_UNKNOW_ERR (DWORD)265 /*²»¿ÉÀí½â*/
#define Z_APUICC_USAT_DE_UNKNOW_ERR ZPS_ApUicc_USAT_DE_UNKNOW_ERR
#define ZPS_ApUicc_USAT_DE_PATIAL_ERR (DWORD)266 /*²¿·ÖÀí½â*/
#define Z_APUICC_USAT_DE_PATIAL_ERR ZPS_ApUicc_USAT_DE_PATIAL_ERR
#define ZPS_ApUicc_USAT_DE_LENTH_ERR (DWORD)267 /*³¤¶ÈÓÐÎó**/
#define Z_APUICC_USAT_DE_LENTH_ERR ZPS_ApUicc_USAT_DE_LENTH_ERR
/*USAT±àÂë´íÎóÂë*/
#define ZPS_ApUicc_USAT_EN_MSGWRONG_ERR (DWORD)268 /*ÉϲãÄ£¿é·¢ÏµÄÏûÏ¢ÄÚÈݲ»¶Ô£¬²»ÄܱàÂë*/
#define Z_APUICC_USAT_EN_MSGWRONG_ERR ZPS_ApUicc_USAT_EN_MSGWRONG_ERR
#define ZPS_ApUicc_USAT_EN_UKNOW_ERR (DWORD)269 /*±àÂëδ֪´íÎó*/
#define Z_APUICC_USAT_EN_UKNOW_ERR ZPS_ApUicc_USAT_EN_UKNOW_ERR
/*USATÔö¼Ó´íÎóÂë*/
#define ZPS_ApUicc_USAT_ENDFETCH (DWORD)270 /*SW = 91XX*/
#define Z_APUICC_USAT_ENDFETCH ZPS_ApUicc_USAT_ENDFETCH
#define ZPS_ApUicc_USAT_BUSY (DWORD)271 /*SW = 9300*/
#define Z_APUICC_USAT_BUSY ZPS_ApUicc_USAT_BUSY
#define ZPS_ApUicc_USAT_NVUCHNG (DWORD)272 /*SW = 62 00*/
#define Z_APUICC_USAT_NVUCHNG ZPS_ApUicc_USAT_NVUCHNG
#define ZPS_ApUicc_USAT_DATACRPT (DWORD)273 /*SW =62 81*/
#define Z_APUICC_USAT_DATACRPT ZPS_ApUicc_USAT_DATACRPT
#define ZPS_ApUicc_USAT_ENDREACH (DWORD)274 /*SW =62 82*/
#define Z_APUICC_USAT_ENDREACH ZPS_ApUicc_USAT_ENDREACH
#define ZPS_ApUicc_USAT_FILEINVALID (DWORD)275 /*SW = 62 83*/
#define Z_APUICC_USAT_FILEINVALID ZPS_ApUicc_USAT_FILEINVALID
#define ZPS_ApUicc_USAT_SUCCRETRY (DWORD)276 /*SW = 63 XX*/
#define Z_APUICC_USAT_SUCCRETRY ZPS_ApUicc_USAT_SUCCRETRY
#define ZPS_ApUicc_USAT_NAANOTACT_ERR (DWORD)277
#define Z_APUICC_USAT_NAANOTACT_ERR ZPS_ApUicc_USAT_NAANOTACT_ERR
#define ZPS_ApUicc_USAT_NEEDINITUSIM_ERR (DWORD)278
#define Z_APUICC_USAT_NEEDINITUSIM_ERR ZPS_ApUicc_USAT_NEEDINITUSIM_ERR
#define ZPS_ApUicc_USAT_DE_OK (DWORD)30
#define Z_APUICC_USAT_DE_OK ZPS_ApUicc_USAT_DE_OK
/*====the macro of success code====*/
#define ZPS_ApUicc_CMD_OK (DWORD)30
#define Z_APUICC_CMD_OK ZPS_ApUicc_CMD_OK
#define ZPS_ApUicc_ELEMENTARY_INIT_OK (DWORD)31
#define Z_APUICC_ELEMENTARY_INIT_OK ZPS_ApUicc_ELEMENTARY_INIT_OK
/*µç»°±¾Îļþ³¤¶È¶¨Òå*/
#define ZPS_ApUicc_EMAIL_LEN (BYTE)50
#define Z_APUICC_EMAIL_LEN ZPS_ApUicc_EMAIL_LEN
#define ZPS_ApUicc_SNE_LEN (BYTE)14
#define Z_APUICC_SNE_LEN ZPS_ApUicc_SNE_LEN
/*¿¨ÉÏPIN״̬,²Î¼û27007*/
#define ZPS_ApUicc_PIN_READY (BYTE)0 /*²»ÐèÒªÑéÖ¤PIN*/
#define Z_APUICC_PIN_READY ZPS_ApUicc_PIN_READY
#define ZPS_ApUicc_PIN_SIMPIN (BYTE)1 /*universal PIN¼°PIN1ÐèÒªÑé֤ʹÓÃ*/
#define Z_APUICC_PIN_SIMPIN ZPS_ApUicc_PIN_SIMPIN
#define ZPS_ApUicc_PIN_SIMPUK (BYTE)2 /*universal PIN¼°PIN1ÐèÒª½âËøÊ¹ÓÃ*/
#define Z_APUICC_PIN_SIMPUK ZPS_ApUicc_PIN_SIMPUK
#define ZPS_ApUicc_PIN_SIMPIN2 (BYTE)3 /*PIN2ÐèÒªÑé֤ʹÓÃ*/
#define Z_APUICC_PIN_SIMPIN2 ZPS_ApUicc_PIN_SIMPIN2
#define ZPS_ApUicc_PIN_SIMPUK2 (BYTE)4 /*PIN2ÐèÒª½âËøÊ¹ÓÃ*/
#define Z_APUICC_PIN_SIMPUK2 ZPS_ApUicc_PIN_SIMPUK2
/*¿¨ÉÏPINÊÇ·ñ±»¼¤»î(ÊÇ·ñEnable»òDisable),²Î¼û27007*/
#define ZPS_ApUicc_PIN_NOTACTIVE (BYTE)0 /*mmiaת»¯ÎªZPS_APMMIA_CLCK_NOTACTIVE*/
#define Z_APUICC_PIN_NOTACTIVE ZPS_ApUicc_PIN_NOTACTIVE
#define ZPS_ApUicc_PIN_ACTIVE (BYTE)1 /*mmiaת»¯ÎªZPS_APMMIA_CLCK_ACTIVE*/
#define Z_APUICC_PIN_ACTIVE ZPS_ApUicc_PIN_ACTIVE
/*PINReqÖÐPINtype,½öÔÚCPWDÖÐʹÓÃ,ÓÃÓÚChangePIN*/
#define ZPS_ApUicc_PIN1TYPE (BYTE)0
#define Z_APUICC_PIN1TYPE ZPS_ApUicc_PIN1TYPE
#define ZPS_ApUicc_PIN2TYPE (BYTE)1
#define Z_APUICC_PIN2TYPE ZPS_ApUicc_PIN2TYPE
/*AT command CRSM*/
#define ZPS_ApUicc_MAX_CRSMREQDATA_LEN (BYTE)255
#define Z_APUICC_MAX_CRSMREQDATA_LEN ZPS_ApUicc_MAX_CRSMREQDATA_LEN
#define ZPS_ApUicc_MAX_CRSMCNFDATA_LEN (WORD)256
#define Z_APUICC_MAX_CRSMCNFDATA_LEN ZPS_ApUicc_MAX_CRSMCNFDATA_LEN
#define ZPS_ApUicc_MAX_PATH_LEN (BYTE)8
#define Z_APUICC_MAX_PATH_LEN ZPS_ApUicc_MAX_PATH_LEN
#define ZPS_UICC_PBR_TYPE1 (BYTE)0
#define Z_UICC_PBR_TYPE1 ZPS_UICC_PBR_TYPE1
#define ZPS_UICC_PBR_TYPE2 (BYTE)1
#define Z_UICC_PBR_TYPE2 ZPS_UICC_PBR_TYPE2
#define ZPS_UICC_PBR_TYPE3 (BYTE)2
#define Z_UICC_PBR_TYPE3 ZPS_UICC_PBR_TYPE3
/*AT command CRSM*/
#define ZPS_ApUicc_ActiveFile (BYTE)0
#define Z_APUICC_ACTIVEFILE ZPS_ApUicc_ActiveFile
#define ZPS_ApUicc_DeactiveFile (BYTE)1
#define Z_APUICC_DEACTIVEFILE ZPS_ApUicc_DeactiveFile
/* EF status */
#define ZPS_ApUicc_EfStatus_INVALID (BYTE)0
#define Z_APUICC_EFSTATUS_INVALID ZPS_ApUicc_EfStatus_INVALID
#define ZPS_ApUicc_EfStatus_REHAB (BYTE)1
#define Z_APUICC_EFSTATUS_REHAB ZPS_ApUicc_EfStatus_REHAB
#define ZPS_ApUicc_EfStatus_ERROR (BYTE)2
#define Z_APUICC_EFSTATUS_ERROR ZPS_ApUicc_EfStatus_ERROR
/* modify״̬ */
#define ZPS_ApUicc_EfStatusModify_INVALID (BYTE)0
#define Z_APUICC_EFSTATUSMODIFY_INVALID ZPS_ApUicc_EfStatusModify_INVALID
#define ZPS_ApUicc_EfStatusModify_REHAB (BYTE)1
#define Z_APUICC_EFSTATUSMODIFY_REHAB ZPS_ApUicc_EfStatusModify_REHAB
/* ¿¨Ëø×´Ì¬ */
#define ZPS_ApUicc_CardStatus_Lock (BYTE)0
#define Z_APUICC_CARDSTATUS_LOCK ZPS_ApUicc_CardStatus_Lock
#define ZPS_ApUicc_CardStatus_Unlock (BYTE)1
#define Z_APUICC_CARDSTATUS_UNLOCK ZPS_ApUicc_CardStatus_Unlock
#define ZPS_ApUicc_MAX_DIRAID_LEN (BYTE)16
#define Z_APUICC_MAX_DIRAID_LEN ZPS_ApUicc_MAX_DIRAID_LEN
#define ZPS_ApUicc_MAX_INITAPPMODE_NUM (BYTE)3
#define Z_APUICC_MAX_INITAPPMODE_NUM ZPS_ApUicc_MAX_INITAPPMODE_NUM
#define ZPS_ApUicc_MAX_FREEREC_NUM (BYTE)255
#define Z_APUICC_MAX_FREEREC_NUM ZPS_ApUicc_MAX_FREEREC_NUM
#define ZPS_ApUicc_MAX_PATTERN_NUM (BYTE)255 /* SEARCH²Ù×÷µÄpattern×î´ó³¤¶È */
#define Z_APUICC_MAX_PATTERN_NUM ZPS_ApUicc_MAX_PATTERN_NUM
#define ZPS_ApUicc_MAX_ACCORDREC_NUM (BYTE)255 /* SEARCH²Ù×÷µÄ½á¹û¼Ç¼Êý×î´ó¸öÊý */
#define Z_APUICC_MAX_ACCORDREC_NUM ZPS_ApUicc_MAX_ACCORDREC_NUM
#define ZPS_ApUicc_MAX_ITEM_NUM (BYTE)2
#define Z_APUICC_MAX_ITEM_NUM ZPS_ApUicc_MAX_ITEM_NUM
/* mode value in T_zPS_ApUicc_FacilityPin_Req */
#define ZPS_ApUicc_FACILITYPIN_DIS (BYTE)0
#define Z_APUICC_FACILITYPIN_DIS ZPS_ApUicc_FACILITYPIN_DIS
#define ZPS_ApUicc_FACILITYPIN_EN (BYTE)1
#define Z_APUICC_FACILITYPIN_EN ZPS_ApUicc_FACILITYPIN_EN
/* Refresh Ïà¹Øºê*/
#define ZPS_ApUicc_NAAInit_FullFileChng (BYTE)0
#define Z_APUICC_NAAINIT_FULLFILECHNG ZPS_ApUicc_NAAInit_FullFileChng
#define ZPS_ApUicc_FileChng (BYTE)1
#define Z_APUICC_FILECHNG ZPS_ApUicc_FileChng
#define ZPS_ApUicc_NAAInit_FileChng (BYTE)2
#define Z_APUICC_NAAINIT_FILECHNG ZPS_ApUicc_NAAInit_FileChng
#define ZPS_ApUicc_NAAInit (BYTE)3
#define Z_APUICC_NAAINIT ZPS_ApUicc_NAAInit
#define ZPS_ApUicc_UICC_Reset (BYTE)4
#define Z_APUICC_UICC_RESET ZPS_ApUicc_UICC_Reset
#define ZPS_ApUicc_NAA_AppReset (BYTE)5
#define Z_APUICC_NAA_APPRESET ZPS_ApUicc_NAA_AppReset
#define ZPS_ApUicc_NAA_SessionReset (BYTE)6
#define Z_APUICC_NAA_SESSIONRESET ZPS_ApUicc_NAA_SessionReset
#define ZPS_ApUicc_MAX_FILE_NUM (BYTE)128
#define Z_APUICC_MAX_FILE_NUM ZPS_ApUicc_MAX_FILE_NUM
#define ZPS_ApUicc_MAX_SMPB_NUM (BYTE)36
#define Z_APUICC_MAX_SMPB_NUM ZPS_ApUicc_MAX_SMPB_NUM
#define ZPS_ApUicc_MAX_APPB_NUM (BYTE)36
#define Z_APUICC_MAX_APPB_NUM ZPS_ApUicc_MAX_APPB_NUM
#define ZPS_ApUicc_ATR_MAXLEN (BYTE)34
#define Z_APUICC_ATR_MAXLEN ZPS_ApUicc_ATR_MAXLEN
#define ZPS_ApUicc_APDU_REQ_MAXLEN (WORD)262
#define Z_APUICC_APDU_REQ_MAXLEN ZPS_ApUicc_APDU_REQ_MAXLEN
#define ZPS_ApUicc_APDU_CNF_MAXLEN (WORD)258
#define Z_APUICC_APDU_CNF_MAZLEN ZPS_ApUicc_APDU_CNF_MAXLEN
#define Z_VCARD_AIR_AUTH_RSP_LEN (BYTE)63
#define Z_VCARD_AIR_AUTH_REQ_LEN (BYTE)34
#define Z_APUICC_SEARCH_FROM_CARD (BYTE)0
#define Z_APUICC_SEARCH_FROM_CACHE (BYTE)1
#define Z_APUICC_ATCMD_CSIM (BYTE)0
#define Z_APUICC_ATCMD_ZSIM (BYTE)1
/*ÎÞ¿¨ÏûÏ¢ÀàÐÍ*/
#define Z_APUICC_NOCARD_TYPE_NORMAL (BYTE)0 /*Õý³£ÎÞ¿¨*/
#define Z_APUICC_NOCARD_TYPE_RESET_REFRESH (BYTE)1 /*UICC RESET ÀàÐ͵ÄREFRESH ÒýÆðµÄÎÞ¿¨*/
#define Z_USAT_LOCATION_UPDATE_NORMAL (BYTE)0x00 //-'00' = "Normal Location Updating" in the case of a Location Updating Request message;
#define Z_USAT_LOCATION_UPDATE_PERIODIC (BYTE)0x01 //-'01' = "Periodic Updating" in the case of a Location Updating Request message;
#define Z_USAT_LOCATION_UPDATE_IMSI (BYTE)0x02 //-'02' = "IMSI Attach" in the case of a Location Updating Request message;
#define Z_USAT_GPRS_ATTACH_GPRS_ATTACH (BYTE)0x03 //-'03' = "GPRS Attach" in the case of a GPRS Attach Request message;
#define Z_USAT_GPRS_ATTACH_COMB_GPRS_IMSI (BYTE)0x04 //-'04' = "Combined GPRS/IMSI Attach" in the case of a GPRS Attach Request message;
#define Z_USAT_RAU_RA_UPDATE (BYTE)0x05 //-'05' = "RA Updating" in the case of a Routing Area Update Request message;
#define Z_USAT_RAU_COMB_RA_LA (BYTE)0x06 //-'06' = "Combined RA/LA Updating" in the case of a Routing Area Update Request message;
#define Z_USAT_RAU_COMB_RA_LA_IMSI (BYTE)0x07 //-'07' = "Combined RA/LA Updating with IMSI Attach" in the case of a Routing Area Update Request message;
#define Z_USAT_RAU_PERIODIC_UPDATE (BYTE)0x08 //-'08' = "Periodic Updating" in the case of a Routing Area Update Request message
#define Z_USAT_EMM_ATTACH_EPS_ATTACH (BYTE)0x09 //-'09' = "EPS Attach" in the case of an EMM ATTACH REQUEST message
#define Z_USAT_EMM_ATTACH_COMB_EPS_IMSI (BYTE)0x0A //-'0A' = "Combined EPS/IMSI Attach" in the case of an EMM ATTACH REQUEST message
#define Z_USAT_EMM_TAU_TA_UPDATE (BYTE)0x0B //-'0B' = "TA updating " in the case of an EMM TRACKING AREA UPDATE REQUEST message
#define Z_USAT_EMM_TAU_COMB_TA_LA (BYTE)0x0C //-'0C' = "Combined TA/LA updating" in the case of an EMM TRACKING AREA UPDATE REQUEST message
#define Z_USAT_EMM_TAU_COMB_TA_LA_IMSI (BYTE)0x0D //-'0D' = "Combined TA/LA updating with IMSI attach" in the case of an EMM TRACKING AREA UPDATE REQUEST message
#define Z_USAT_EMM_TAU_PERIODIC_UPDATE (BYTE)0x0E //-'0E' = "Periodic updating" in the case of an EMM TRACKING AREA UPDATE REQUEST message
#define Z_APUICC_EID_LEN (BYTE)10
/**************************************************************************
* È«¾ÖÊý¾ÝÀàÐͶ¨Òå *
**************************************************************************/
/**************************************************************************
* UICCÖÐEF½á¹¹¶¨Òå *
**************************************************************************/
/*4.1.1 EFDir */
typedef struct {
BYTE bAidLen; /*1...16*/
BYTE bAppLabelFg;
BYTE bAppLabelMaxLen; /*µ±Ç°¿¨ÖÐalpha×î´ó³¤¶È*/
BYTE abAidVal[ZPS_ApUicc_MAX_DIRAID_LEN];
BYTE abAppLabelVal[32];
}T_zPS_UICC_Dir,
T_z_UICC_Dir;
/*4.1.2 EFICCID */
typedef struct {
BYTE abId[10]; /*Identification number*/
BYTE abPadding[2];
}T_zPS_UICC_Iccid,
T_z_UICC_Iccid;
/*4.1.3 EFPL */
typedef struct{
BYTE bNum; /*ÓïÑÔ±àÂëÖÖÊý*/
BYTE bPadding;
WORD awLangCode[ZPS_UICC_LEN_PLCODE]; /*language Code*/
}T_zPS_UICC_PL,
T_z_UICC_PL;
/* 4.1.4 EFarr 4.2.55ºÍ4.5.5Ò²Óô˽ṹ*/
typedef struct {
BYTE bAccCondVal;
BYTE bScdoTag;
BYTE bScdoNum; /* ¸øÖµ0.2.4 ¼ÆÊýÆ÷*/
BYTE bKeyRef1Val;
BYTE bUsage1Val;
BYTE bKeyRef2Val;
BYTE bUsage2Val;
BYTE bPadding;
}T_zPS_UICC_ArrAcc,
T_z_UICC_ArrAcc;
typedef struct {
BYTE bAccNum;
BYTE abPadding[3];
T_zPS_UICC_ArrAcc atArrAcc[ZPS_UICC_LEN_ARR];
}T_zPS_UICC_Arr,
T_z_UICC_Arr;
/*4.2.1 EFLI */
typedef struct {
BYTE bNum; /*ÓïÑÔ±àÂëÖÖÊý*/
BYTE bPadding;
WORD awLangCode[ZPS_UICC_LEN_LIDATA]; /*language Code*/
}T_zPS_UICC_Li,
T_z_UICC_Li;
/*4.2.2 EFIMSI Ö±½ÓÒýÓÃT_zPS_IMSI*/
/*4.2.3 EFKEYS; 4.2.4 EFKEYSPS ²Î¼ûT_zPS_UiccId_UmtsSecKey*/
/*4.2.5 EFPLMNWACT £¬ ²Î¼ûT_zPS_UiccId_UPlmnInfo*/
/*4.2.7 EFACMmax */
typedef DWORD T_zPS_UICC_ACMmax,
T_z_UICC_ACMmax;
/*4.2.8 EFUST */
typedef struct {
BITS bLocalPbFg:1; /* Service n¡ã1: Local Phone Book */
BITS bFdnFg:1; /* Service n¡ã2: Fixed Dialling Numbers (FDN) */
BITS bExtension2:1; /* Service n¡ã3: Extension 2 */
BITS bSdnFg:1; /* Service n¡ã4: Service Dialling Numbers (SDN) */
BITS bExtension3:1; /* Service n¡ã5: Extension3 */
BITS bBdnFg:1; /* Service n¡ã6: Barred Dialling Numbers (BDN) */
BITS bExtension4:1; /* Service n¡ã7: Extension4 */
BITS bOciFg:1; /* Service n¡ã8: Outgoing Call Information (OCI and OCT) */
BITS bIciFg:1; /* Service n¡ã9: Incoming Call Information (ICI and ICT) */
BITS bSmsFg:1; /* Service n¡ã10: Short Message Storage (SMS) */
BITS bSmsrFg:1; /* Service n¡ã11: Short Message Status Reports (SMSR) */
BITS bSmspFg:1; /* Service n¡ã12: Short Message Service Parameters (SMSP) */
BITS bAocFg:1; /* Service n¡ã13: Advice of Charge (AoC) */
BITS bCcpFg:1; /* Service n¡ã14: Capability Configuration Parameters (CCP) */
BITS bCbmiFg:1; /* Service n¡ã15: Cell Broadcast Message Identifier */
BITS bCbmirFg:1; /* Service n¡ã16: Cell Broadcast Message Identifier Ranges */
BITS bGrpIdL1Fg:1; /* Service n¡ã17: Group Identifier Level 1 */
BITS bGrpIdL2Fg:1; /* Service n¡ã18: Group Identifier Level 2 */
BITS bBspnFg:1; /* Service n¡ã19: Service Provider Name */
BITS bUPlmnFg:1; /* Service n¡ã20: User controlled PLMN selector with Access Technology */
BITS bMsisdnFg:1; /* Service n¡ã21: MSISDN */
BITS bImgFg:1; /* Service n¡ã22: Image (IMG) */
BITS bSolsaFg:1; /* Service n¡ã23: Support of Localised Service Areas (SoLSA) */
BITS bEmlppFg:1; /* Service n¡ã24: Enhanced Multi Level Precedence and Pre emption Service */
BITS bAaemlppFg:1; /* Service n¡ã25: Automatic Answer for eMLPP */
BITS :1; /* Service n¡ã26: RFU */
BITS bGsmAccFg:1; /* Service n¡ã27: GSM Access */
BITS bDdvSmsPpFg:1; /* Service n¡ã28: Data download via SMS-PP */
BITS bDdvSmsCbFg:1; /* Service n¡ã29: Data download via SMS CB */
BITS bCcByUsimFg:1; /* Service n¡ã30: Call Control by USIM */
BITS bMosmsByUsimFg:1;/* Service n¡ã31: MO-SMS Control by USIM */
BITS bRunAtcmdFg:1; /* Service n¡ã32: RUN AT COMMAND command */
BITS :1; /* Service n¡ã33: shall be set to '1' */
BITS bEstFg:1; /* Service n¡ã34: Enabled Services Table */
BITS bAclFg:1; /* Service n¡ã35: APN Control List (ACL) */
BITS bDckFg:1; /* Service n¡ã36: Depersonalisation Control Keys */
BITS bCoopNetListFg:1; /* Service n¡ã37: Co-operative Network List */
BITS bGsmSecFg:1; /* Service n¡ã38: GSM security context */
BITS bCpbcchInfoFg:1; /* Service n¡ã39: CPBCCH Information */
BITS bIsFg:1; /* Service n¡ã40: Investigation Scan */
BITS bMexeFg:1; /* Service n¡ã41: MExE */
BITS bOPlmnFg:1; /* Service n¡ã42: Operator controlled PLMN selector with Access Technology */
BITS bHPlmnFg:1; /* Service n¡ã43: HPLMN selector with Access Technology */
BITS bExtension5:1; /* Service n¡ã44: Extension 5 */
BITS bPlmnNetNameFg:1; /* Service n¡ã45: PLMN Network Name */
BITS bOPlmnListFg:1; /* Service n¡ã46: Operator PLMN List */
BITS bMdnFg:1; /* Service n¡ã47: Mailbox Dialling Numbers */
BITS bMwiStaFg:1; /* Service n¡ã48: Message Waiting Indication Status */
BITS bCfiStaFg:1; /* Service n¡ã49: Call Forwarding Indication Status */
BITS :1; /* Service n¡ã50: Reserved and shall be ignored */
BITS bSpdInfoFg:1; /* Service n¡ã51: Service Provider Display Information */
BITS bMmsFg:1; /* Service n¡ã52 Multimedia Messaging Service (MMS) */
BITS bExtension8:1; /* Service n¡ã53 Extension 8 */
BITS bCcOnGprsUsimFg:1; /* Service n¡ã54 Call control on GPRS by USIM */
BITS bMmsUcpFg:1; /* Service n¡ã55 MMS User Connectivity Parameters */
BITS bNiaFg:1; /* Service n¡ã56 Network's indication of alerting in the MS (NIA) */
BITS bVgcsFg:1; /* Service n¡ã57 VGCS Group Identifier List (EFVGCS and EFVGCSS) */
BITS bVbsFg:1; /* Service n¡ã58 VBS Group Identifier List (EFVBS and EFVBSS) */
BITS bPseudonymFg:1; /* Service n¡ã59 Pseudonym */
BITS bUPlmnForIWlanFg:1; /* Service n¡ã60 User Controlled PLMN selector for I-WLAN access */
BITS bOPlmnForIWlanFg:1; /* Service n¡ã61 Operator Controlled PLMN selector for I-WLAN access */
BITS bUWsidListFg:1; /* Service n¡ã62 User controlled WSID list */
BITS bOWsidListFg:1; /* Service n¡ã63 Operator controlled WSID list */
BITS bVgcsSecurityFg:1; /* Service n¡ã64 VGCS security */
BITS bVbsSecurityFg:1; /* Service n¡ã65 VBS security */
BITS bWlanReAuthIdFg:1; /* Service n¡ã66 WLAN Reauthentication Identity */
BITS bMultiMediaMsgStoFg:1; /* Service n¡ã67 Multimedia Messages Storage */
BITS bGbaFg:1; /* Service n¡ã68 Generic Bootstrapping Architecture (GBA) */
BITS bMbmsSecurityFg:1; /* Service n¡ã69 MBMS security */
BITS bDataDlViaUssdAndUssdAppFg:1; /* Service n¡ã70 Data download via USSD and USSD application mode */
BITS bEHplmnFg:1; /* Service n¡ã71 Equivalent HPLMN */
BITS bAdTermProfAfterUiccActFg:1; /* Service n¡ã72 Additional TERMINAL PROFILE after UICC activation */
BITS bEHplmnPresentIndFg:1; /* Service n¡ã73 Equivalent HPLMN Presentation Indication */
BITS bLastRplmnSelIndFg:1; /* Service n¡ã74 Last RPLMN Selection Indication */
BITS bOmaBcastSmartCardProfFg:1; /* Service n¡ã75 OMA BCAST Smart Card Profile */
BITS bGbaBasedLocalKeyFg:1; /* Service n¡ã76 GBA-based Local Key Establishment Mechanism */
BITS bTermAppFg:1; /* Service n¡ã77 Terminal Applications */
BITS bSpnIconFg:1; /* Service n¡ã78 Service Provider Name Icon */
BITS bPlmnNameIconFg:1; /* Service n¡ã79 PLMN Network Name Icon */
BITS bParaForUsimIpConnecFg:1; /* Service n¡ã80 Connectivity Parameters for USIM IP connections */
BITS bHomeIWlanSpecIdListFg:1; /* Service n¡ã81 Home I-WLAN Specific Identifier List */
BITS bIWlanEHplmnPresentIndFg:1; /* Service n¡ã82 I-WLAN Equivalent HPLMN Presentation Indication */
BITS bIWlanHplmnPriorityIndFg:1; /* Service n¡ã83 I-WLAN HPLMN Priority Indication */
BITS bIWlanLastRplmnFg:1; /* Service n¡ã84 I-WLAN Last Registered PLMN */
BITS bEmmInfoFg:1; /* Service n¡ã85 EPS Mobility Management Information */
BITS bAllowedCsgListAndIndFg:1; /* Service n¡ã86 Allowed CSG Lists and corresponding indications */
BITS bCallCtrlOnEPdnConnectFg:1; /* Service n¡ã87 Call control on EPS PDN connection by USIM */
BITS bHplmnDirectAccessFg:1; /* Service n¡ã88 HPLMN Direct Access */
BITS bECallDataFg:1; /* Service n¡ã89 eCall Data */
BITS bOperatorCsgListAndIndFg:1; /* Service n¡ã90 Operator CSG Lists and corresponding indications */
BITS bSuppSmOverIpFg:1; /* Service n¡ã91 Support for SM-over-IP */
BITS :5;
BITS :2;
BITS bUriSupByUiccFg:1; /* Service n¡ã99 URI support by UICC */
BITS :5;
BITS :7;
BITS bECallDataOverImsFg:1; /* Service n¡ã112 eCall Data over IMS*/
BYTE bPadding[3];
}T_zPS_UICC_Ust,
T_z_UICC_Ust;
/*4.2.9 EFACM */
typedef DWORD T_zPS_UICC_Acm,
T_z_UICC_Acm;
/*4.2.10 EFGID1 */
typedef struct {
BYTE abUsimGID1[ZPS_UICC_LEN_GID1];
BYTE bLen; /*1...255*/
}T_zPS_UICC_GID1,
T_z_UICC_GID1;
/*4.2.11 EFGID2 */
typedef struct {
BYTE abUsimGID2[ZPS_UICC_LEN_GID2];
BYTE bLen; /*1...255*/
}T_zPS_UICC_GID2,
T_z_UICC_GID2;
/*4.2.12 EFSPN */
typedef struct {
BITS bDcRPLMN:1;
BITS bDcSPN:1;
BITS :6;
BYTE abPadding[3];
BYTE abProvName[16];
}T_zPS_UICC_SPN,
T_z_UICC_SPN;
/*4.2.13 EFPUCT */
typedef struct {
BYTE abCurrencyCode[3];
BYTE bPadding1;
BYTE abPricePerUnit[2];
BYTE abPadding2[2];
}T_zPS_UICC_PUCT,
T_z_UICC_PUCT;
/*4.2.14 EFCBMI */
typedef struct
{
BYTE bMaxLen; /*ÂëÁ÷ÖÐCBMI¸öÊý*/
BYTE bNum; /*ÂëÁ÷ÖÐʵ¼ÊÓÐЧµÄCBMI¸öÊý*/
BYTE abPadding[2];
WORD awCBMessIden[ZPS_UICC_LEN_CBMI]; /*CB Message Identifier*/
}T_zPS_UICC_CBMI,
T_z_UICC_CBMI;
/*4.2.16 EFFPLMN */
/*
typedef struct {
BYTE bMaxNum;
BYTE bNum;
BYTE abPadding[2];
T_zPS_PlmnId atFPlmn[ZPS_UICC_LEN_FPLMN];
BYTE abPadding1;
}T_zPS_UICC_FPlmnList,
T_z_UICC_FPlmnList;*/
/*4.2.17 EFLOCI , ¼ûT_zPS_Loci*/
/*4.2.18 EFAD ²Î¼ûT_zPS_UiccId_Ad */
/*4.2.20 EFCBMID */
typedef struct {
BYTE bNum; /*ÂëÁ÷ÖÐʵ¼ÊÓÐЧ¸öÊý*/
BYTE abPadding[3];
WORD awCbmid[ZPS_UICC_LEN_CBMID];
}T_zPS_UICC_Cbmid,
T_z_UICC_Cbmid;
/*4.2.21 EFecc , ¼ûT_zPS_Ecc */
/*4.2.22 EFCBMIR */
typedef struct
{
BYTE bMaxLen; /*ÂëÁ÷ÖÐCBMIR¸öÊý*/
BYTE bNum; /*ÂëÁ÷ÖÐʵ¼ÊÓÐЧµÄCBMIR¸öÊý*/
BYTE abPadding[2];
DWORD adwCBMIR[ZPS_UICC_LEN_CBMIR]; /*CB message identifier range*/
}T_zPS_UICC_Cbmir,
T_z_UICC_Cbmir;
/*4.2.23 EFPSLOCI, ¼ûT_zPS_PsLoci*/
/* 4.2.24 EFFDN */
typedef struct
{
BYTE bMaxAlphaIdLen; /*±íÃ÷µ±Ç°¿¨Ö§³ÖµÄAlphaId×î´ó³¤¶È*/
BYTE bBcdSscLen;
BYTE bTonNpi;
BYTE bCpbCfg2Id;
BYTE bExt2RecId;
BYTE abPadding1[2];
BYTE abAlphaId[ZPS_UICC_LEN_FDN];
BYTE abPadding2[2];
BYTE abDialNumSsc[10];
BYTE abPadding3[2];
}T_zPS_UICC_Fdn,
T_z_UICC_Fdn;
/*4.2.25 EFSms */
typedef struct
{
BYTE bStatus;
BYTE bLen; /*abRemainder ¼Ç¼abRemainderÖÐÓÐЧ³¤¶È*/
BYTE abPadding[2];
BYTE abRemainder[175];/*ÎÞЧλÌîд0xFF*/
BYTE bPadding2;
}T_zPS_UICC_Sms,
T_z_UICC_Sms;
/*4.2.26 EFMSISDN */
typedef struct
{
BYTE bMaxAlphaIdLen; /*±íÃ÷µ±Ç°¿¨Ö§³ÖµÄAlphaId×î´ó³¤¶È*/
BYTE bBcdSscLen;
BYTE bTonNpi;
BYTE bCpbCfg2Id;
BYTE bExt5RecId;
BYTE abPadding1[2];
BYTE abAlphaId[ZPS_UICC_LEN_MSISDN];
BYTE abPadding2[2];
BYTE abDialNumSsc[10];
BYTE abPadding3[2];
}T_zPS_UICC_Msisdn,
T_z_UICC_Msisdn;
/*4.2.27 EFSMSP , ¼ûT_zPS_Smsp */
/*4.2.28 EFSMSS */
typedef struct
{
BYTE bLastUsedTpmr;
BYTE bMcef;
BYTE bRfuNum; /*¼Ç¼RFUµÄ×Ö½ÚÊý*/
BYTE bPadding;
}T_zPS_UICC_Smss,
T_z_UICC_Smss;
/*4.2.29 EFSDN */
typedef struct
{
BYTE bMaxAlphaIdLen; /*±íÃ÷µ±Ç°¿¨Ö§³ÖµÄAlphaId×î´ó³¤¶È*/
BYTE bBcdSscLen;
BYTE bTonNpi;
BYTE bCpbCfgId;
BYTE bExt3RecId;
BYTE abPadding1[2];
BYTE abAlphaId[ZPS_UICC_LEN_SDN];
BYTE abDialNumSsc[10];
BYTE abPadding3[2];
}T_zPS_UICC_Sdn,
T_z_UICC_Sdn;
/*4.2.30 EFEXT2 */
typedef struct
{
BYTE bRecType;
BYTE bIdent;
BYTE abPadding1[2];
BYTE abExtData[11];
BYTE bPadding2;
}T_zPS_UICC_Ext2,
T_z_UICC_Ext2;
/*4.2.31 EFEXT3 */
typedef struct
{
BYTE bRecType;
BYTE bIdent;
BYTE abPadding1[2];
BYTE abExtData[11];
BYTE bPadding2;
}T_zPS_UICC_Ext3,
T_z_UICC_Ext3;
/*4.2.32 EFSmsr */
typedef struct
{
BYTE bRecId;
BYTE abPadding1[3];
BYTE abStatusReport[29];
BYTE abPadding2[3];
}T_zPS_UICC_Smsr,
T_z_UICC_Smsr;
/*4.2.33 EFICI */
typedef struct
{
BYTE bMaxAlphaIdLen; /*±íÃ÷µ±Ç°¿¨Ö§³ÖµÄAlphaId×î´ó³¤¶È*/
BYTE bBcdSscLen;
BYTE bTonNpi;
BYTE bCpbCfg2Id;
BYTE bExt5RecId;
BYTE bIncomCallStatus;
BYTE bPbRef; /*µç»°±¾Î»Öãº
*0£ºGlobal Phone Book
*1£ºLocal Phone Book
*FF:ÎÞЧλ*/
WORD wRecNum; /*½âÂëʱ£¬¸ß×Ö½ÚΪ¿¨Äڵ绰±¾ÐòÁкţ¬µÍ×Ö½ÚΪ¿¨Äڵ绰±¾ÖмǼºÅ£»
UiccMng·¢Ë͸øAPʱ£¬ÆäֵΪת»»ºóµÄ¼Í¼ºÅ*/
BYTE abPadding1[2];
BYTE abAlphaId[ZPS_UICC_LEN_ICI];
BYTE abPadding2[2];
BYTE abIncomCallNum[10];
BYTE abPadding3[2];
BYTE abIncomCallDateTime[7];
BYTE bPadding4;
BYTE abIncomCallDura[3];
BYTE bPadding5;
}T_zPS_UICC_Ici,
T_z_UICC_Ici;
/*4.2.34 EFOCI */
typedef struct
{
BYTE bMaxAlphaIdLen; /*±íÃ÷µ±Ç°¿¨Ö§³ÖµÄAlphaId×î´ó³¤¶È*/
BYTE bBcdSscLen;
BYTE bTonNpi;
BYTE bCpbCfg2Id;
BYTE bExt5RecId;
BYTE bPbRef; /*µç»°±¾Î»Öãº
*0£ºGlobal Phone Book
*1£ºLocal Phone Book
*FF:ÎÞЧλ*/
BYTE bPadding1;
WORD wRecNum; /*½âÂëʱ£¬¸ß×Ö½ÚΪ¿¨Äڵ绰±¾ÐòÁкţ¬µÍ×Ö½ÚΪ¿¨Äڵ绰±¾ÖмǼºÅ£»
UiccMng·¢Ë͸øAPʱ£¬ÆäֵΪת»»ºóµÄ¼Í¼ºÅ*/
BYTE abPadding2[2];
BYTE abAlphaId[ZPS_UICC_LEN_OCI];
BYTE abPadding3[2];
BYTE abOutgoingCallNum[10];
BYTE abPadding4[2];
BYTE abOutgoingCallDateTime[7];
BYTE bPadding5;
BYTE abOutgoingCallDuration[3];
BYTE bPadding6;
}T_zPS_UICC_Oci,
T_z_UICC_Oci;
/*4.2.35 EFIct , 4.2.36 T_zPS_UICC_Oct*/
typedef struct
{
BYTE abAccumCallTimer[3];
BYTE bPadding;
}T_zPS_UICC_Ict, T_zPS_UICC_Oct,
T_z_UICC_Ict, T_z_UICC_Oct;
/*4.2.37 EFEXT5 */
typedef struct
{
BYTE bRecType;
BYTE bIdent;
BYTE abPadding1[2];
BYTE abExtData[11];
BYTE bPadding2;
}T_zPS_UICC_Ext5,
T_z_UICC_Ext5;
/*4.2.39 EFEmlpp, ¼ûT_zPS_UiccId_Emlpp */
/*4.2.42 EFHiddenkey */
typedef struct
{
BYTE abHiddenKey[4];
}T_zPS_UICC_HiddenKey,
T_z_UICC_HiddenKey;
/*4.2.44 EFBDN */
typedef struct
{
BYTE bMaxAlphaIdLen; /*±íÃ÷µ±Ç°¿¨Ö§³ÖµÄAlphaId×î´ó³¤¶È*/
BYTE bBcdSscLen;
BYTE bTonNpi;
BYTE bCpbCfgId;
BYTE bExt4RecId;
BYTE bComparMethodPtr;
BYTE bPadding1;
BYTE abAlphaId[ZPS_UICC_LEN_BDN];
BYTE abPadding2[2];
BYTE abDialNumSsc[10];
BYTE abPadding3[2];
}T_zPS_UICC_Bdn,
T_z_UICC_Bdn;
/*4.2.45 EFExt4 */
typedef struct
{
BYTE bRecType;
BYTE bRecId;
BYTE abPadding1[2];
BYTE abExtData[11];
BYTE bPadding2;
}T_zPS_UICC_Ext4,
T_z_UICC_Ext4;
/*4.2.46 EFCmi*/
typedef struct
{
BYTE bComparMethId;
BYTE bMaxAlphaIdLen; /*±íÃ÷µ±Ç°¿¨Ö§³ÖµÄAlphaId×î´ó³¤¶È*/
BYTE bPadding1;
BYTE abAlphaId[ZPS_UICC_LEN_CMI];
BYTE abPadding2[2];
}T_zPS_UICC_Cmi,
T_z_UICC_Cmi;
/*4.2.47 EFEST */
typedef struct
{
BITS bFdn:1;
BITS bBdn:1;
BITS bAcl:1;
BITS :5;
BYTE bNum;
BYTE abPadding[2];
BYTE abService[ZPS_UICC_LEN_EST];
}T_zPS_UICC_Est,
T_z_UICC_Est;
/*31103 4.2.7 EFIST */
typedef struct
{
BITS bPcscf_addrFg:1; /* Service n¡ã1: P-CSCF address */
BITS bGbaFg:1; /* Service n¡ã2: Generic Bootstrapping Architecture (GBA)*/
BITS bHttpDigstFg:1; /* Service n¡ã3: HTTP Digest */
BITS bGbaLkemFg:1; /* Service n¡ã4: GBA-based Local Key Establishment Mechanism */
BITS bSupportPcssfFg:1; /* Service n¡ã5: Support of P-CSCF discovery for IMS Local Break Out */
BITS bSmsFg:1; /* Service n¡ã6: Short Message Storage (SMS) */
BITS bSmsrFg:1; /* Service n¡ã7: Short Message Status Reports (SMSR) */
BITS bSoipFg:1; /* Service n¡ã8:Support for SM-over-IP including data download via SMS-PP */
BITS bComContlFg:1; /* Service n¡ã9: Communication Control for IMS by ISIM */
BITS bUiccAccImsFg:1; /* Service n¡ã10: Support of UICC access to IMS */
BITS :6; /* Service n¡ã: RFU */
BYTE abPadding[2];
}T_zPS_UICC_Ist,
T_z_UICC_Ist;
typedef struct
{
BYTE bTag;
BYTE bLen;
BYTE abPadding[2];
BYTE abVal[Z_UICC_LEN_APN];
}T_zPS_UICC_ApnTlv,
T_z_UICC_ApnTlv;
typedef struct
{
CHAR abApn[Z_UICC_LEN_APN];
BYTE abPadding[3];
}T_zPS_UICC_Apn,
T_z_UICC_Apn;
/*4.2.48 EFAcl */
typedef struct
{
BYTE bApnNum;
BYTE abPadding[3];
T_z_UICC_Apn atApns[Z_UICC_LEN_ACL]; /*Tag:'DD' length:0*/
}T_zPS_UICC_Acl,
T_z_UICC_Acl;
/*4.2.49 EFDck */
typedef struct
{
BYTE abNetDepersonCk[4];
BYTE abNetSubDepersonCk[4];
BYTE abServDepersonCk[4];
BYTE abCorporDepersonCk[4];
}T_zPS_UICC_Dck,
T_z_UICC_Dck;
/*4.2.50 EFCnl */
typedef struct
{
BYTE abCooperaNetList[6];
BYTE abPadding[2];
}T_zPS_UICC_CnlRec,
T_z_UICC_CnlRec;
typedef struct
{
BYTE bNum;
BYTE abPadding[3];
T_zPS_UICC_CnlRec atCoOperaNetList[ZPS_UICC_LEN_CNL]; /*1...255*/
}T_zPS_UICC_Cnl,
T_z_UICC_Cnl;
/*4.2.51 EFStartHfn ²Î¼ûT_zPS_UiccId_StartHfn*/
/*4.2.52 EFThreShold ²Î¼ûT_zPS_UiccId_Threshold*/
/*4.2.53 EFoplmnwact ²Î¼ûT_zPS_UiccId_PlmnInfo */
/*4.2.54 EFHplmnwact ²Î¼ûT_zPS_UiccId_PlmnInfo*/
/*4.2.57 EFNetpar , ¼ûT_zPS_UiccId_CellInfo */
/*4.2.58 EFPnn */
typedef struct
{
BYTE bFullNameIei;
BYTE bFullNameLen; /*3...255*/
BYTE bShortNameFg; /*IEI Flag*/
BYTE bShortNameIei;
BYTE bShortNameLen; /*3...255*/
BYTE abPadding[3];
BYTE abFullNameCont[ZPS_UICC_LEN_PNN_FULL];
BYTE abShortNameCont[ZPS_UICC_LEN_PNN_SHORT];
}T_zPS_UICC_Pnn,
T_z_UICC_Pnn;
/*4.2.59 EFOpl */
typedef struct
{
BYTE abLocaAreaId[7];
BYTE bPLMNNetNameRecId;
}T_zPS_UICC_Opl,
T_z_UICC_Opl;
/*4.2.60 EFMBDN */
typedef struct
{
BYTE bMaxAlphaIdLen; /*±íÃ÷µ±Ç°¿¨Ö§³ÖµÄAlphaId×î´ó³¤¶È*/
BYTE bBcdSscLen;
BYTE bTonNpi;
BYTE bCpbCfgId;
BYTE bExt6RecId;
BYTE abPadding1[2];
BYTE abAlphaId[ZPS_UICC_LEN_NBDN];
BYTE abPadding2[2];
BYTE abDialNumSsc[10];
BYTE abPadding3[2];
}T_zPS_UICC_Mbdn,
T_z_UICC_Mbdn;
/*4.2.61 EFEXT6 */
typedef struct
{
BYTE bRecType;
BYTE bIdent;
BYTE abPadding1[2];
BYTE abExtData[11];
BYTE bPadding2;
}T_zPS_UICC_Ext6,
T_z_UICC_Ext6;
/*4.2.62 EFMBI */
typedef struct
{
BYTE bVoicemailMbi;
BYTE bFaxMbi;
BYTE bEMailMbi;
BYTE bOtherMbi;
}T_zPS_UICC_Mbi,
T_z_UICC_Mbi;
/*4.2.63 EFMWIS */
typedef struct
{
BYTE bMsgWaitIndStatus;
BYTE abPadding[3];
BYTE bVoicemailMsgWaitNum;
BYTE bFaxMsgWaitNum;
BYTE bEleMailMsgWaitNum;
BYTE bOtherMsgWaitNum;
}T_zPS_UICC_Mwis,
T_z_UICC_Mwis;
/*4.2.64 EFCFIS */
typedef struct
{
BYTE bMspNum;
BYTE bCfuIndStatus;
BYTE bBcdSscLen;
BYTE bTonNpi;
BYTE bCpbCfg2Id;
BYTE bExt7RecId;
BYTE abPadding1[2];
BYTE abDiallNum[10];
BYTE abPadding2[2];
}T_zPS_UICC_Cfis,
T_z_UICC_Cfis;
/*4.2.65 EFEXT7 */
typedef struct
{
BYTE bRecType;
BYTE bIdent;
BYTE abPadding1[2];
BYTE abExtData[11];
BYTE bPadding2;
}T_zPS_UICC_Ext7,
T_z_UICC_Ext7;
/*4.2.66 EFSpdi */
typedef struct
{
BYTE bNum;
BYTE abPadding[3];
T_zPS_PlmnId atPlmn[ZPS_UICC_LEN_SPDI]; /*1...255*/
}T_zPS_UICC_Spdi,
T_z_UICC_Spdi;
/*4.2.67 EFMmsn */
typedef struct
{
BYTE bMmsImple;
BYTE bMmsNotiLen;
BYTE bExtFileRecNum;
BYTE bPadding1;
BYTE abMmsStatus[2];
BYTE abPadding2[2];
BYTE abMmsNoti[ZPS_UICC_LEN_MMSN];
BYTE abPadding3[2];
}T_zPS_UICC_Mmsn,
T_z_UICC_Mmsn;
/*4.2.68 EFExt8 */
typedef struct
{
BYTE bRecType;
BYTE bLen;
BYTE bRecId;
BYTE bPadding1;
BYTE abExtData[ZPS_UICC_LEN_EXT8];
BYTE bPadding2;
}T_zPS_UICC_Ext8,
T_z_UICC_Ext8;
/*4.2.69 EFMMSICP */
typedef struct
{
BYTE bCnBearerLen;
BYTE abPadding1[3];
BYTE abInterCnBearer[ZPS_UICC_LEN_MMSICP_VAL];
BYTE abPadding2[2];
}T_zPS_UICC_InterCnBearer,
T_z_UICC_InterCnBearer;
typedef struct
{
BYTE bMmsImple;
BYTE bRelayServerLen;
BYTE bUsimInterNum;
BYTE bGatewayFg;
BYTE bGatewayLen;
BYTE abPadding1[3];
BYTE abRelayServerAddr[ZPS_UICC_LEN_MMSICP_SERVER];
BYTE abPadding2[2];
T_zPS_UICC_InterCnBearer atUsimInter[ZPS_UICC_LEN_MMSICP_INTER];
BYTE abGatewayInfor[ZPS_UICC_LEN_MMSICP_GATEWAY];
BYTE abPadding3[2];
}T_zPS_UICC_MmsicpTlv,
T_z_UICC_MmsicpTlv;
typedef struct
{
BYTE bNum;
BYTE abPadding[3];
T_zPS_UICC_MmsicpTlv atMmsicpTlvObj[ZPS_UICC_LEN_MMSICP];
}T_zPS_UICC_Mmsicp,
T_z_UICC_Mmsicp;
/*4.2.70 EFMMSUP */
typedef struct
{
BYTE bMmsImplemInfor;
BYTE bNameLen;
BYTE bInformLen;
BYTE bPadding;
BYTE abMNameVal[ZPS_UICC_LEN_MMSUP_NAME];
BYTE abInformVal[ZPS_UICC_LEN_MMSUP_INFORM];
}T_zPS_UICC_Mmsup,
T_z_UICC_Mmsup;
/*4.2.71 EFMMSUCP */
typedef struct
{
BYTE bLen;
BYTE abPadding[3];
T_zPS_UICC_MmsicpTlv atTlvObj[ZPS_UICC_LEN_MMSUCP];
}T_zPS_UICC_Mmsucp,
T_z_UICC_Mmsucp;
/*4.2.72 EFNIA */
typedef struct
{
BYTE bAlertCateg;
BYTE bInforTextLen;
BYTE abPadding1[2];
BYTE abInforText[ZPS_UICC_LEN_NIA];
BYTE abPadding2[3];
}T_zPS_UICC_Nia,
T_z_UICC_Nia;
/* GroupId, BCDÂë¸ñʽ£¬Êý×é0ÔªËØµÍ4bitΪDigit1£¬¸ß4bitΪDigit2£¬ÒÀ´ËÀàÍÆ*/
typedef BYTE T_zPS_UICC_GroupId[ZPS_UICC_LEN_GROUPID],
T_z_UICC_GroupId[Z_UICC_LEN_GROUPID];
/*4.2.73 EFVGCS */
typedef struct
{
BYTE bNum; /*1...50*/
BYTE abPadding[3];
T_zPS_UICC_GroupId atVgcs[ZPS_UICC_LEN_VGCS];
}T_zPS_UICC_Vgcs,
T_z_UICC_Vgcs;
/*4.2.74 EFVGCSS, 4.2.76 EFVBSS */
typedef struct
{
BYTE abDeActFlags[7];
BYTE bPadding;
}T_zPS_UICC_Vgcss, T_zPS_UICC_Vbss,
T_z_UICC_Vgcss, T_z_UICC_Vbss;
/*4.2.75 EFVBS */
typedef struct
{
BYTE bNum; /*1...50*/
BYTE abPadding[3];
T_zPS_UICC_GroupId atVbs[ZPS_UICC_LEN_VBS];
}T_zPS_UICC_Vbs,
T_z_UICC_Vbs;
/* 4.2.97 EFFDNURI */
typedef struct
{
BYTE bUriAddrLen;
BYTE bMaxAlphaIdLen; /*±íÃ÷µ±Ç°¿¨Ö§³ÖµÄAlphaId×î´ó³¤¶È*/
BYTE abUriAddr[ZPS_UICC_LEN_FDNURI];
BYTE abAlphaId[ZPS_UICC_LEN_FDNURI];
}T_z_UICC_FdnUri;
/* 4.2.99 EFSDNURI */
typedef struct
{
BYTE bUriAddrLen;
BYTE bMaxAlphaIdLen; /*±íÃ÷µ±Ç°¿¨Ö§³ÖµÄAlphaId×î´ó³¤¶È*/
BYTE abUriAddr[ZPS_UICC_LEN_SDNURI];
BYTE abAlphaId[ZPS_UICC_LEN_SDNURI];
}T_z_UICC_SdnUri;
/*4.4.1.1 EFSai */
typedef struct
{
BYTE bLSAAccInd;
BYTE bNum;
BYTE abPadding[2];
BYTE abLSAAccIndText[ZPS_UICC_LEN_SAI];
}T_zPS_UICC_Sai,
T_z_UICC_Sai;
/*4.4.1.2 EFSLL */
typedef struct
{
BYTE bConfigParam;
BYTE bIconIdent;
BYTE bSllPriority;
BYTE bLSADescRecIdent;
BYTE bLSANameLen;
BYTE abPadding1[3];
BYTE abLSAName[ZPS_UICC_LEN_SLL];
BYTE abLSADescFileId[2];
BYTE abPadding2[2];
T_zPS_PlmnId tPLMNCode;
BYTE bPadding3;
}T_zPS_UICC_Sll,
T_z_UICC_Sll;
/*4.4.1.3 LSA Descriptor files */
typedef struct
{
BYTE bLSADescTypeNum;
BYTE bRecIdent;
BYTE bNum;
BYTE bPadding;
DWORD adwLSADescriptor[ZPS_UICC_LEN_LSA_DESCR];
}T_zPS_UICC_LSA_Descr,
T_z_UICC_LSA_Descr;
/*4.4.2.1 EFpbr */
typedef struct
{
BYTE bBasicLen; /* ÂëÁ÷³¤¶È */
BYTE abPadding[3];
BYTE abPbrValue[ZPS_UICC_PBR_MAX_LEN];
}T_zPS_UICC_PbrBasic,
T_z_UICC_PbrBasic;
typedef struct
{
BYTE bPbrTag; /*¸ÃPbr¶ÔÓ¦µÄTypeÀàÐÍ£¬ÆäÖÐZPS_UICC_PBR_TYPE1(0) ±íʾType1£»
ZPS_UICC_PBR_TYPE2(1) ±íʾType2£»
ZPS_UICC_PBR_TYPE3(2) ±íʾType3
*/
BYTE bPbrKeyidListNum; /* abKeyidListÓÐЧ¸öÊý*/
BYTE abPadding[2];
WORD awKeyidList[ZPS_UICC_PBR_MAX_KEYIDNUM]; /* ¸ÃTypeϰüº¬µÄÎļþkeyidÁбí*/
}T_zPS_UICC_Pbr_Type,
T_z_UICC_Pbr_Type;
typedef struct
{
BYTE bPbrTypeNum; /* T_zPS_UICC_Pbr½á¹¹ÖÐatPbrTypeList¸öÊý */
BYTE abPadding[3];
T_zPS_UICC_Pbr_Type atPbrTypeList[ZPS_UICC_PBR_MAX_PBRTYPENUM]; /* PBRÖÐType List £¬
ÿһ¸öLISTÖбíʾ¸ÃList¶ÔÓ¦µÃÎļþTypeÀàÐÍ
ÒÔ¼°°üº¬µÄÎļþkeyid*/
}T_zPS_UICC_Pbr,
T_z_UICC_Pbr;
/*4.4.2.2 EFIap */
typedef struct
{
BYTE bNum;
BYTE abPadding[3];
BYTE abIndRecNum[ZPS_UICC_LEN_IAP];
}T_zPS_UICC_Iap,
T_z_UICC_Iap;
/*4.4.2.3 EFAdn */
typedef struct
{
BYTE bMaxAlphaIdLen; /*±íÃ÷µ±Ç°¿¨Ö§³ÖµÄAlphaId×î´ó³¤¶È*/
BYTE bBcdSscLen;
BYTE bTonNpi;
BYTE bCpbCfg1Id;
BYTE bExt1Record;
BYTE abPadding1[2];
BYTE abAlphaId[ZPS_UICC_LEN_ADN];
BYTE abPadding2[2];
BYTE abDiallSsc[10];
BYTE abPadding3[2];
}T_zPS_UICC_Adn,
T_z_UICC_Adn;
/*4.4.2.4 EFExt1 */
typedef struct
{
BYTE bRecType;
BYTE bIdent;
BYTE abPadding1[2];
BYTE abExtData[11];
BYTE bPadding2;
}T_zPS_UICC_Ext1,
T_z_UICC_Ext1;
/*4.4.2.5 EFPBC */
typedef struct
{
BYTE bEntryCtlInfor;
BYTE bHiddenInfor;
BYTE abPadding[2];
}T_zPS_UICC_Pbc,
T_z_UICC_Pbc;
/*4.4.2.6 EFGRP */
typedef struct
{
BYTE bNum; /*1...10*/
BYTE abPadding1[3];
BYTE abGroupId[10];
BYTE abPadding2[2];
}T_zPS_UICC_Grp,
T_z_UICC_Grp;
/*4.4.2.7 EFAas */
typedef struct
{
BYTE bMaxAlphaLen; /*±íÃ÷µ±Ç°¿¨Ö§³ÖµÄAlphaTextStr×î´ó³¤¶È*/
BYTE abPadding1[2];
BYTE abAlphaTextStr[ZPS_UICC_LEN_AAS];
BYTE abPadding2[2];
}T_zPS_UICC_Aas,
T_z_UICC_Aas;
/*4.4.2.8 EFGas */
typedef struct
{
BYTE bMaxAlphaLen; /*±íÃ÷µ±Ç°¿¨Ö§³ÖµÄAlphaId×î´ó³¤¶È*/
BYTE abPadding1[2];
BYTE abAlphaId[ZPS_UICC_LEN_GAS];
BYTE abPadding2[2];
}T_zPS_UICC_Gas,
T_z_UICC_Gas;
/*4.4.2.11 EFCCP1 */
/*4.2.38 EFCCP2 */
typedef struct
{
BITS bExt:1;
BITS bRadReq:2;
BITS bCodeStd:1;
BITS bTranMode:1;
BITS bTranCapa:3;
BITS bExt1:1;
BITS bCTM:1;
BITS bSpchVersInd:4;
BITS :2;
BYTE bSpchIndLen;
BYTE abSpchInd[1];
BYTE bpresentfg1;
BITS bCmprss:1;
BITS bStru:2;
BITS bDuplMode:1;
BITS bCfg:1;
BITS bNIRR:1;
BITS bEst:1;
BITS :1;
BYTE bpresentfg2;
BITS bExt4:1;
BITS bRateAdap:2;
BITS bSignalAP:3;
BITS :2;
BITS bExt5:1;
BITS bOtherITC:2;
BITS bOtherAdapt:2;
BITS :3;
BITS bHdrNoHdr:1;
BITS bMultiFrm:1;
BITS bMode:1;
BITS bLLI:1;
BITS bAssignore:1;
BITS bInbNeg:1;
BITS :2;
BYTE bpresentfg3;
BITS bExt7:1;
BITS bUserInfoLay1:4;
BITS bSyncAsync:1;
BITS :2;
BITS bExt8:1;
BITS bNumStopBit:1;
BITS bNego:1;
BITS bNumDataBit:1;
BITS bUserRate:4;
BITS bExt9:1;
BITS bIntermRate:2;
BITS bNIConTX:1;
BITS bNIConRX:1;
BITS bParity:3;
BITS bExt10:1;
BITS bConnElem:2;
BITS bModemType:5;
BITS bExt11:1;
BITS bOthermodTyp:2;
BITS bFixNetSerrat:5;
BITS bExt12:1;
BITS bAccptCode:4;
BITS bMaxNum:3;
BITS bExt13:1;
BITS bUIMI:3;
BITS bWantuserrat:4;
BITS bAcptChanCod:3;
BITS bAsyInd:2;
BITS :3;
BYTE bpresentfg4;
BITS bUserInfoLay2:5;
BITS :3;
}T_zPS_UICC_Ccp1,T_zPS_UICC_Ccp2,
T_z_UICC_Ccp1,T_z_UICC_Ccp2;
/*4.4.2.12.1 EFUID */
typedef struct
{
BYTE abPhoneBookUid[2];
BYTE abPadding[2];
}T_zPS_UICC_Uid,
T_z_UICC_Uid;
/*4.4.2.12.2 EFPSC */
typedef struct
{
BYTE abPSC[4];
}T_zPS_UICC_Psc,
T_z_UICC_Psc;
/*4.4.2.12.3 EFCC */
typedef struct
{
BYTE abPhoneBookCC[2];
BYTE abPadding[2];
}T_zPS_UICC_Cc,
T_z_UICC_Cc;
/*4.4.2.12.4 EFPUID */
typedef struct
{
BYTE abPhoneBookPUID[2];
BYTE abPadding[2];
}T_zPS_UICC_Puid,
T_z_UICC_Puid;
/*4.4.2.13 EFEMAIL */
typedef struct
{
BYTE bAdnFg; /*1£ºbAdnKeyidºÍ bAdnRecIndx,0: bAdnKeyidºÍ bAdnRecNumÎÞЧ */
BYTE bAdnRecId; /*bAdnFg Ϊ1ʱÓÐЧ */
WORD wAdnKeyid; /*bAdnFg Ϊ1ʱÓÐЧ */
BYTE bMaxEmailAddressLen; /*±íÃ÷µ±Ç°¿¨Ö§³ÖµÄEmailAddress×î´ó³¤¶È*/
BYTE abPadding1[3];
BYTE abEmailAddress[ZPS_UICC_LEN_EMAIL];
BYTE abPadding2[2];
}T_zPS_ApUicc_Email,
T_zApUicc_Email;
/*4.4.2.9 EFAnr */
typedef struct
{
BYTE bAdnFg; /*1£ºbAdnKeyidºÍ bAdnRecIndx,0: bAdnKeyidºÍ bAdnRecNumÎÞЧ */
BYTE bAdnRecId; /*bAdnFg Ϊ1ʱÓÐЧ */
WORD wAdnKeyid; /*bAdnFg Ϊ1ʱÓÐЧ */
BYTE bAnrId;
BYTE bBcdSscLen;
BYTE bTonNpi;
BYTE bCpbCfg1Id;
BYTE bExt1RecId;
BYTE abPadding1[3];
BYTE abAdnSsc[10];
BYTE abPadding2[2];
}T_zPS_ApUicc_Anr,
T_zApUicc_Anr;
/*4.4.2.10 EFSne */
typedef struct
{
BYTE bAdnFg; /*1£ºbAdnKeyidºÍ bAdnRecIndx,0: bAdnKeyidºÍ bAdnRecNumÎÞЧ */
BYTE bAdnRecId; /*bAdnFg Ϊ1ʱÓÐЧ */
WORD wAdnKeyid; /*bAdnFg Ϊ1ʱÓÐЧ */
BYTE bMaxAlphaLen; /*±íÃ÷µ±Ç°¿¨Ö§³ÖµÄAlphaId×î´ó³¤¶È*/
BYTE abPadding1[3];
BYTE abAlphaId[ZPS_UICC_LEN_SNE];
BYTE abPadding2[2];
}T_zPS_ApUicc_Sne,
T_zApUicc_Sne;
/*4.4.3.1 EFKC; 4.4.3.2 EFKcGPRS ²Î¼ûT_zPS_UiccId_GsmSecKey*/
/*4.4.3.4 EFCPBCCH */
typedef struct
{
BYTE bEmptyInd; /*¸Ã¼Ç¼ÊÇ·ñΪ¿Õ¡£1:¿Õ£¬¼´¼Ç¼ÎÞЧ£»0:·Ç¿Õ*/
BYTE bBandInd; /*1:PCS1900, 0:DCS1800»òÆäËû*/
WORD wARFCN;
}T_zPS_UICC_CPBCCHRec,
T_z_UICC_CPBCCHRec;
typedef struct
{
BYTE bNum;
BYTE abPadding[3];
T_zPS_UICC_CPBCCHRec atCPBCCH[ZPS_UICC_LEN_CPBCCH];
}T_zPS_UICC_CPBCCH,
T_z_UICC_CPBCCH;
/*4.4.3.5 EFInvScan */
typedef struct
{
BYTE bInvestScanFlag;
BYTE abPadding[3];
}T_zPS_UICC_InvScan,
T_z_UICC_InvScan;
/*4.4.4.1 EFMExE-ST */
typedef struct
{
BYTE bNum; /*1...9*/
BYTE abPadding1[3];
BYTE abMexestServ[ZPS_UICC_LEN_MEXEST];
BYTE abPAdding2[3];
}T_zPS_UICC_USIM_MExEST,T_zPS_UICC_SIM_MExEST,
T_z_UICC_USIM_MExEST,T_z_UICC_SIM_MExEST;
typedef struct
{
BYTE bMExEFlag; /*3G½á¹¹È¡1£¬2G½á¹¹È¡2*/
BYTE abPadding[3];
union
{
T_zPS_UICC_USIM_MExEST tUsimMExEST;
T_zPS_UICC_SIM_MExEST tSimMExEST;
}Value;
}T_zPS_UICC_MExEST,
T_z_UICC_MExEST;
/*4.4.4.1 EFSST */
typedef struct{
BITS bCHVDisFunFg:2;
BITS bADNFg:2;
BITS bFDNFg:2;
BITS bSMSFg:2;
BITS bAoCFg:2;
BITS bCCPFg:2;
BITS bPLMNSelectorFg:2;
BITS :2;
BITS bMSISDNFg:2;
BITS bExten1Fg:2;
BITS bExten2Fg:2;
BITS bSMSPFg:2;
BITS bLNDFg:2;
BITS bCBMIFg:2;
BITS bGIDLev1Fg:2;
BITS bGIDLev2Fg:2;
BITS bSPNFg:2;
BITS bSDNFg:2;
BITS bExten3Fg:2;
BITS :2;
BITS bVGCSGrpIdListFg:2;
BITS bVBSGrpIdListFg:2;
BITS bMulLevPPServFg:2;
BITS bAAforeMLPPFg:2;
BITS bSMSCBFg:2;
BITS bSMSPPFg:2;
BITS bMenuSeleFg:2;
BITS bCallCtrolFg:2;
BITS bProactiveSIMFg:2;
BITS bCBMIdRangFg:2;
BITS bBDNFg:2;
BITS bExten4Fg:2;
BITS bDePersonCntrlkeyFg:2;
BITS bCoNetWorkListFg:2;
BITS bSMSRFg:2;
BITS bNetIndicFg:2;
BITS bMOSMFg:2;
BITS bGPRSFg:2;
BITS bIMGFg:2;
BITS bSoLSAFg:2;
BITS bUSSDFg:2;
BITS bRunATFg:2;
BITS bUPlmnAccTechFg:2;
BITS bOPlmnAccTechFg:2;
BITS bHPlmnAccTechFg:2;
BITS bCPBCCHFg:2;
BITS bInvesScanFg:2;
BITS bExtenCCPFg:2;
BITS bMExEFg:2;
BITS :2;
BITS bPLMNNetNameFg:2;
BITS bOPLMNListFg:2;
BITS bMDNFg:2;
BITS bMWISFg:2;
BITS bCFISFg:2;
BITS bSPDIFg:2;
BITS bMMSFg:2;
BITS bExten8Fg:2;
BITS bMMSUCPFg:2;
BITS :2;
}T_zPS_UICC_SST,
T_z_UICC_SST;
/*4.4.4.2 EFORPK */
typedef struct
{
BYTE bParaInd;
BYTE bFlags;
BYTE bCertType;
BYTE bKeyIdLen; //M
BYTE abKeyCerteId[2];
BYTE abPadding1[2];
BYTE abKeyCertOffset[2];
BYTE abPadding2[2];
BYTE abKeyCertLen[2];
BYTE abPadding3[2];
BYTE abKeyId[ZPS_UICC_LEN_ORPK]; //M
}T_zPS_UICC_ORPK,
T_z_UICC_ORPK;
/*4.4.4.3 EFARPK */
typedef struct
{
BYTE bParaInd;
BYTE bFlags;
BYTE bCertType;
BYTE bKeyIdLen;
BYTE abKeyCertId[2];
BYTE abPadding1[2];
BYTE abKeyCertOffset[2];
BYTE abPadding2[2];
BYTE abKeyCertLen[2];
BYTE abPadding3[2];
BYTE abKeyId[ZPS_UICC_LEN_ARPK];
}T_zPS_UICC_ARPK,
T_z_UICC_ARPK;
/*4.4.4.4 EFTPRPK */
typedef struct
{
BYTE bParaInd;
BYTE bFlags;
BYTE bCertType;
BYTE bKeyIdLen; //M
BYTE bCertIdLen; //M
BYTE abPadding1[3];
BYTE abKeyCertId[2];
BYTE abPadding2[2];
BYTE abKeyCertOffset[2];
BYTE abPadding3[2];
BYTE abKetyCertLen[2];
BYTE abPadding4[2];
BYTE abKeyId[ZPS_UICC_LEN_TPRPK_ID];
BYTE abCertId[ZPS_UICC_LEN_TPRPK_CERT];
}T_zPS_UICC_TPRPK,
T_z_UICC_TPRPK;
/*4.4.4.5 EFTKCDF */
typedef struct
{
BYTE bNum;
BYTE abPadding[3];
BYTE abKeyCertData[ZPS_UICC_LEN_TKCDF];
}T_zPS_UICC_TKCDF,
T_z_UICC_TKCDF;
/*4.5.4 EFSUME*/
typedef struct
{
BYTE abAlphaId[20];
BYTE abIconId[ZPS_UICC_LEN_SUME_ICON];
BYTE bIconIdLen;
BYTE bPadding;
}T_zPS_UICC_Sume,
T_z_UICC_Sume;
/*4.6.1.2 Image Instance Data Files */
typedef struct
{
BYTE abImgInst[ZPS_UICC_LEN_IMGINST];
BYTE bLen;
BYTE bPadding;
}T_zPS_UICC_ImgInst,
T_z_UICC_ImgInst;
/*4.6.1.1 EFIMG (Image) */
typedef struct {
BYTE bWidth;
BYTE bHeigh;
BYTE bCodeScheme;
BYTE bPadding;
WORD wInstncFid;
WORD wOffsetIntoInstnc;
WORD wInstncDataLen;
BYTE abPadding[2];
} T_zPS_UICC_ImgDscrp,
T_z_UICC_ImgDscrp;
typedef struct {
BYTE bImgNum;
BYTE abPadding[3];
T_zPS_UICC_ImgDscrp tImgDscrp[ZPS_ApUicc_MAX_IMG_DSCRP_NUM];
} T_zPS_UICC_Img,
T_z_UICC_Img;
/*4.6.1.1 EFIMG (Image) */
typedef struct {
WORD wInstncKeyId;
BYTE bWidth;
BYTE bHeigh;
BYTE bCodeScheme;
BYTE abPadding[3];
WORD wOffsetIntoInstnc;
WORD wInstncDataLen;
} T_zPS_ApUicc_ImgDscrp,
T_zApUicc_ImgDscrp;
typedef struct {
BYTE bImgNum;
BYTE abPadding[3];
T_zPS_ApUicc_ImgDscrp tImgDscrp[ZPS_ApUicc_MAX_IMG_DSCRP_NUM];
} T_zPS_ApUicc_Img,
T_zApUicc_Img;
/**************************************************************************
* ×Ô¶¨ÒåEF½á¹¹¶¨Òå *
**************************************************************************/
/*7-23Ôö¼Ó2G½á¹¹*/
/* sim_Phase */
typedef struct {
BYTE bPhase;
BYTE abPadding[3];
}T_zPS_Uicc_SimPhase,
T_z_UICC_SimPhase;
/* sim_BCCH */
typedef struct {
BYTE abBcch[16];
}T_zPS_Uicc_SimBcch,
T_z_UICC_SimBcch;
/* sim_LP */
typedef struct {
BYTE bNum; /*ÓïÑÔ±àÂëÖÖÊý*/
BYTE abPadding1[3];
BYTE abLangPrefer[ZPS_UICC_SIM_LP]; /*language Code*/
BYTE abPadding2[3];
}T_zPS_Uicc_SimLp,
T_z_UICC_SimLp;
/*SimCCP */
typedef struct {
BYTE abBCIE[10];
BYTE abPadding[2];
}T_zPS_UICC_SimCCP,
T_z_UICC_SimCCP;
/*SimECCP */
typedef struct {
BYTE bNum; /* bNum >= 15 Unused bytes
are filled with 'FF'.*/
BYTE abPadding[3];
BYTE abBCIE[ZPS_UICC_SIM_ECCP];
}T_zPS_UICC_SimECCP,
T_z_UICC_SimECCP;
/*SimLND */
typedef struct
{
BYTE bAlphaIdMaxLen; /*µ±Ç°¿¨alphaËùÖ§³ÖµÄ×î´ó³¤¶È*/
BYTE bBcdSscLen;
BYTE bTonNpi;
BYTE bCpbCfg1Id;
BYTE bExt1Record;
BYTE abPadding1[3];
BYTE abDiallSsc[10];
BYTE abPadding2[2];
BYTE abAlphaId[ZPS_UICC_SIM_LND];
BYTE abPadding3[2];
}T_zPS_UICC_SimLND,
T_z_UICC_SimLND;
/*UstSst */
typedef struct
{
BYTE bFlag; /* 0 ΪÎÞЧ,1ΪUST, 2ΪSST*/
union
{
T_zPS_UICC_Ust tUst;
T_zPS_UICC_SST tSst;
} val;
}T_zPS_UICC_UstSst,
T_z_UICC_UstSst;
/*==============USATÏà¹Ø½á¹¹=================*/
/*102221 8.1 Address */
typedef struct {
BITS bTon:3;
BITS bNPI:4;
BITS :1;
BYTE bCallNumLen; /*µØÖ·ºÅÂëµÄ×Ö½ÚÊý£¬·¶Î§>=0£¬<=40*/
BYTE abPadding[2];
BYTE abCallNum[ZPS_APUICC_USAT_MAX_BCDNUM_LEN];
}T_zPS_ApUicc_USAT_Addr,
T_zApUicc_USAT_Addr;
/*8.2 Alpha identifier */
typedef struct {
BYTE abAlpha[ZPS_APUICC_USAT_MAX_ALPHA_LEN];
BYTE bAlphaLen;
BYTE abPadding[2];
}T_zPS_ApUicc_USAT_Alpha,
T_zApUicc_USAT_Alpha;
/*8.3 Subaddress */
typedef struct {
BYTE abSubAddr[ZPS_APUICC_USAT_MAX_SUBADR_LEN];
BYTE bLen;
BYTE abPadding[2];
}T_zPS_ApUicc_USAT_SubAddr,
T_zApUicc_USAT_SubAddr;
/*8.4 Capability configuration parameters */
typedef struct {
BYTE abCapa[ZPS_APUICC_USAT_MAX_BC_LEN];
BYTE bCpaLen;
BYTE abPadding[3];
}T_zPS_ApUicc_USAT_Capa,
T_zApUicc_USAT_Capa;
/*8.6 Command details */
typedef struct {
BYTE bCmdNum; /*ÃüÁîÂ룬ȡֵ0-ff*/
BYTE bCmdQual; /*ÃüÁîÏÞ¶¨·û£¬Ö¸¶¨¸÷Ö÷¶¯Ê½ÃüÁîÏÞ¶¨²Ù×÷£¬²ÎÕÕ122.223 8.6*/
BYTE abPadding[2];
}T_zPS_ApUicc_USAT_CmdDtls,
T_zApUicc_USAT_CmdDtls;
/*8.7 Device identities */
typedef struct {
BYTE bSDvcId;
BYTE bDDvcId;
BYTE abPadding[2];
}T_zPS_ApUicc_USAT_DvcId,
T_zApUicc_USAT_DvcId;
/*8.8 Duration */
typedef struct {
BYTE bTimeUnit;
BYTE bTimeFreq;
BYTE abPadding[2];
}T_zPS_ApUicc_USAT_Dura,
T_zApUicc_USAT_Dura;
/*102.223
8.9 Item
8.24 Items next action indicator
8.32 Item icon identifier list
8.73 Item text attribute list*/
typedef struct {
BYTE bItemID;
BYTE bItemNAI;
BYTE bItemIconID;
BYTE bPadding;
BYTE abTxtAtr[ZPS_APUICC_USAT_MAX_TXTATTR_LEN];
T_zPS_ApUicc_USAT_Alpha tTxtStr;
}T_zPS_ApUicc_USAT_ItemInfo,
T_zApUicc_USAT_ItemInfo;
/*8.11 Response length */
typedef struct {
BYTE bMinLen;
BYTE bMaxLen;
BYTE abPadding[2];
}T_zPS_ApUicc_USAT_RspLen,
T_zApUicc_USAT_RspLen;
/*8.12 Result */
typedef struct {
BYTE abAddRlt[ZPS_APUICC_USAT_MAX_ADDINFO_LEN];
BYTE bComRlt;
BYTE bAddRltLen;
BYTE bPadding;
}T_zPS_ApUicc_USAT_Result,
T_zApUicc_USAT_Result;
/*31111 8.14 SS string*/
typedef struct {
BITS bTon:3;
BITS bNPI:4;
BITS :1;
BYTE bLen;
BYTE abPadding[2];
BYTE abSsStr[ZPS_APUICC_USAT_MAX_SSSTR_LEN];
BYTE bPadding;
}T_zPS_ApUicc_USAT_SsStr,
T_zApUicc_USAT_SsStr;
/*31111 8.15 Text string
102221 8.23 Default Text */
typedef struct {
BYTE abTxt[ZPS_APUICC_USAT_MAX_TXTSTR_LEN];
BYTE bCodeMode;
BYTE bTxtLen;
BYTE bPadding;
}T_zPS_ApUicc_USAT_TxtStr,T_zPS_ApUicc_USAT_DefTxt,
T_zApUicc_USAT_TxtStr,T_zApUicc_USAT_DefTxt;
/*31111 8.17 USSD string*/
typedef struct {
BYTE bDcs;
BYTE bLen;
BYTE abPadding[2];
BYTE abUssdStr[ZPS_APUICC_USAT_MAX_USSDSTR_LEN];
BYTE bPadding;
}T_zPS_ApUicc_USAT_UssdStr,
T_zApUicc_USAT_UssdStr;
/*8.18 File list */
typedef struct {
BYTE bFileNum;
BYTE bFidNum ; /*WORDµÄ¸öÊý£¬Èç3F00£¬3FµÄ¸öÊý¼´ÎªÎļþ¸öÊý*/
BYTE abPadding[2];
WORD awFid[ZPS_APUICC_USAT_MAX_FILELST_LEN];
} T_zPS_ApUicc_USAT_FileList,
T_zApUicc_USAT_FileList;
/*8.19 Location information */
typedef struct {
BITS bMCC1 :4;
BITS bMCC2 :4;
BITS bMCC3 :4;
BITS bMNC3 :4;
BITS bMNC1 :4;
BITS bMNC2 :4;
BYTE aPadding;
BYTE abLac[2];
BYTE abPadding[2];
}T_zPS_ApUicc_USAT_LAI,
T_zApUicc_USAT_LAI;
/*8.19 Location information */
typedef struct {
BITS bExtCellFg:1;
BITS :7;
BYTE abPadding[3];
BYTE abCellId[2];
BYTE abExtCellId[2];
T_zPS_ApUicc_USAT_LAI tCurLai;
} T_zPS_ApUicc_USAT_Location,
T_zApUicc_USAT_Location;
/*8.25 Event list */
typedef struct {
BYTE abEvtLst [ZPS_APUICC_USAT_MAX_EVNTLST_LEN];
BYTE bLen;
BYTE bPadding;
}T_zPS_ApUicc_USAT_EvtLst,
T_zApUicc_USAT_EvtLst;
/*8.31 Icon identifier */
typedef struct {
BITS bIconWithDesc:1;
BITS :7;
BYTE bIconId;
BYTE abPadding[2];
}T_zPS_ApUicc_USAT_Icon,
T_zApUicc_USAT_Icon;
/*8.33 Card reader status
8.57 Card reader identifier */
typedef struct {
BITS bStatFg:1;
BITS :7;
BYTE bRCardStatus;
BYTE bRCardIdLen;
BYTE bPadding1;
BYTE abRCardId[ZPS_APUICC_USAT_MAX_CREADRID_LEN];
BYTE bPadding2;
}T_zPS_ApUicc_USAT_RdCardStatus,
T_zApUicc_USAT_RdCardStatus;
/*8.34 Card ATR*/
typedef struct {
BYTE abRCardAtr[ZPS_APUICC_USAT_MAX_CARDATR_LEN];
BYTE bCardAtrLen;
}T_zPS_ApUicc_USAT_CardAtr,
T_zApUicc_USAT_CardAtr;
/*8.35 C-APDU*/
typedef struct {
BYTE bCla;
BYTE bIns;
BYTE bP1;
BYTE bP2;
BITS bLcFg:1;
BITS bLeFg:1;
BITS :6;
BYTE bLc;
BYTE bLe;
BYTE bPadding;
BYTE abData[236];
}T_zPS_ApUicc_USAT_CApdu,
T_zApUicc_USAT_CApdu;
/*8.36 R-APDU*/
typedef struct {
BYTE abRApdu[ZPS_APUICC_USAT_MAX_RPDUDATA_LEN];
BYTE bLen;
BYTE bSW1;
BYTE bSW2;
}T_zPS_ApUicc_USAT_RApdu,
T_zApUicc_USAT_RApdu;
/*8.37 Timer identifier
8.38 Timer value */
typedef struct {
BITS bValFg:1; /*ÖµÊÇ·ñ´æÔÚ*/
BITS :7;
BYTE bTimerId; /*ȡֵ0-8, ÎÞЧֵΪ0xff*/
BYTE abPadding[2];
BYTE abTimerVal[3];
BYTE bPadding;
}T_zPS_ApUicc_USAT_TimerInfo,
T_zApUicc_USAT_TimerInfo;
/*8.39 Date-time and time zone */
typedef struct{
BYTE bYear;
BYTE bMonth;
BYTE bDay;
BYTE bHour;
BYTE bMinute;
BYTE bSecond;
BYTE bTmZone;
BYTE bPadding;
}T_zPS_ApUicc_USAT_TZAndTime,
T_zApUicc_USAT_TZAndTime;
/*8.41 AT response */
typedef struct {
BYTE abAtRsp[ZPS_APUICC_USAT_MAX_ATRSP_LEN];
BYTE bAtRspLen;
}T_zPS_ApUicc_USAT_AtRsp,
T_zApUicc_USAT_AtRsp;
/*31111 8.46 Timing Advance*/
typedef struct {
BYTE bMeStat;
BYTE bTimeAdv;
BYTE abPadding[2];
} T_zPS_ApUicc_USAT_TimeAdv,
T_zApUicc_USAT_TimeAdv;
/*8.50 Provisioning file reference */
typedef struct {
BYTE bFidNum ;
BYTE abPadding[3];
WORD awFid[ZPS_APUICC_USAT_MAX_FILELST_LEN];
} T_zPS_ApUicc_USAT_ProFileRef,
T_zApUicc_USAT_ProFileRef;
/*8.52 Bearer description */
typedef struct {
BYTE abParam[ZPS_APUICC_USAT_MAX_BEARPRAM_LEN];
BYTE bBearType;
BYTE bParamLen;
BYTE bPadding;
}T_zPS_ApUicc_USAT_BDescp,
T_zApUicc_USAT_BDescp;
/*8.53 Channel data */
typedef struct {
BYTE abData[ZPS_APUICC_USAT_MAX_CHNLDATA_LEN];
BYTE bDataLen;
}T_zPS_ApUicc_USAT_ChnlData,
T_zApUicc_USAT_ChnlData;
/*8.56 Channel Status */
typedef struct {
BITS bChnlID:3;
BITS bConStatLen:2; /*bConnt Õ¼Óü¸¸öbit λ£¬È¡Öµ1,2*/
BITS :1;
BITS bConnt:2;
BYTE bInfo;
BYTE abPadding[2];
}T_zPS_ApUicc_USAT_ChnlStat,
T_zApUicc_USAT_ChnlStat;
typedef struct {
BITS bChanNum:3; /*MEÖ§³ÖµÄCHANNEL ¸öÊý*/
BITS :5;
BYTE abPadding[3];
T_zApUicc_USAT_ChnlStat atChanStat[Z_APUICC_USAT_BIP_CHANNEL_NUM];
}T_zPS_ApUicc_USAT_ChnlStat_Tr,
T_zApUicc_USAT_ChnlStat_Tr;
/*8.58 Other address */
typedef struct {
BYTE bAddrType;
BYTE abPadding[3];
BYTE abAddr[ZPS_APUICC_USAT_MAX_OTHRADDR_LEN];
} T_zPS_ApUicc_USAT_OthrAddr,
T_zApUicc_USAT_OthrAddr;
/*8.59 UICC/terminal interface transport level */
typedef struct {
WORD wPortNum;
BYTE bTranProType;
BYTE bPadding;
}T_zPS_ApUicc_USAT_IntfcTnsptLv,
T_zApUicc_USAT_IntfcTnsptLv;
/*8.60 AID */
typedef struct {
BYTE bLen ;
BYTE abPadding[3];
BYTE abAid[ZPS_APUICC_USAT_MAX_AID_LEN] ;
} T_zPS_ApUicc_USAT_Aid,
T_zApUicc_USAT_Aid;
/*8.62 Display parameters */
typedef struct {
BYTE bScrHeight;
BYTE bScrWidth;
BYTE bScrEff;
BYTE bPadding;
}T_zPS_ApUicc_USAT_DisplyParam,
T_zApUicc_USAT_DisplyParam;
/*8.63 Service record */
typedef struct {
BYTE bBearType;
BYTE bSrvID;
BYTE bRecLen;
BYTE bPadding1;
BYTE abRecord[ZPS_APUICC_USAT_MAX_SRVRCRD_LEN];
BYTE bPadding2;
}T_zPS_ApUicc_USAT_SrvRec,
T_zApUicc_USAT_SrvRec;
/*8.64 Device filter */
typedef struct {
BYTE bLBType;
BYTE bFilterLen;
BYTE abPadding[2];
BYTE abFiler[ZPS_APUICC_USAT_MAX_DVCFLTR_LEN];
}T_zPS_ApUicc_USAT_DvcFilter,
T_zApUicc_USAT_DvcFilter;
/*8.65 Service search */
typedef struct {
BYTE bBearId;
BYTE bLen;
BYTE abPadding[2];
BYTE abSrvSrch[ZPS_APUICC_USAT_MAX_SRVSRCH_LEN];
BYTE bPadding;
}T_zPS_ApUicc_USAT_SrvSrch,
T_zApUicc_USAT_SrvSrch;
/*8.66 Attribute information */
typedef struct {
BYTE bBearType;
BYTE bAtrLen;
BYTE abPadding[2];
BYTE abAtrInfo[ZPS_APUICC_USAT_MAX_ATTRINF_LEN];
BYTE bPadding;
}T_zPS_ApUicc_USAT_AtrInfo,
T_zApUicc_USAT_AtrInfo;
/*8.67 Service availability */
typedef struct {
BYTE abSrvList[ZPS_APUICC_USAT_MAX_SRVLST_LEN];
BYTE bLen;
}T_zPS_ApUicc_USAT_SrvAvail,
T_zApUicc_USAT_SrvAvail;
/*8.68 Remote entity address */
typedef struct {
BYTE bCodeType;
BYTE bLen;
BYTE abPadding[2];
BYTE abRmtAddr[ZPS_APUICC_USAT_MAX_REMADDR_LEN];
} T_zPS_ApUicc_USAT_RmtAddr,
T_zApUicc_USAT_RmtAddr;
/*8.70 Network access name */
typedef struct {
BYTE abNetName[ZPS_APUICC_USAT_MAX_NETNAME_LEN] ;
BYTE bLen ;
BYTE abPadding[3];
} T_zPS_ApUicc_USAT_NetName,
T_zApUicc_USAT_NetName;
/*24008 10.5.6.5 Quality of service */
typedef struct{
BITS bDlyClss:3;
BITS bReliabClss:3;
BITS :2;
BITS bPeakPut:4;
BITS bPrecClss:3;
BITS :1;
BITS bMeanPut:5;
BITS :3;
BYTE bpresentfg1;
BITS bTraffClss:3;
BITS bDelivOrd:2;
BITS bDelivErrSDU:3;
BYTE bpresentfg2;
BYTE bMaxSDUsiz;
BYTE bpresentfg3;
BYTE bMaxBitUp;
BYTE bpresentfg4;
BYTE bMaxBitDown;
BYTE bpresentfg5;
BITS bResiBER:4;
BITS bSDUerrRat:4;
BYTE bpresentfg6;
BITS bTranLay:6;
BITS bTrafHand:2;
BYTE bpresentfg7;
BYTE bGuarBitUp;
BYTE bpresentfg8;
BYTE bGuarBitDown;
BYTE bpresentfg9;
BITS bSignInd:1;
BITS bSourDescr:4;
BITS :3;
BYTE bpresentfg10;
BYTE bMaxBitExt;
BYTE bpresentfg11;
BYTE bGuarBitExt;
}T_zPS_ApUicc_USAT_Qos,
T_zApUicc_USAT_Qos;
/*24008 10.5.6.4 Packet data protocol address*/
typedef struct{
BYTE bPdpType;
BYTE bPdpTypeNum;
BYTE bAddrInfoLen;
BYTE bPadding;
BYTE abAddrInfo[ZPS_ApUicc_USAT_PdpAddr];
}T_zPS_ApUicc_USAT_PdpAddr,
T_zApUicc_USAT_PdpAddr;
/* 24008 10.5.6.1 Access Point Name*/
typedef struct{
BYTE bApnValLen;
BYTE abPadding[3];
BYTE abApnVal[ZPS_ApUicc_USAT_Apn];
}T_zPS_ApUicc_USAT_Apn,
T_zApUicc_USAT_Apn;
/* 24008 10.5.6.3 Protocol configuration options*/
typedef struct{
WORD wProtoId;
BYTE bProtoIdContLen;
BYTE bPadding;
BYTE abProtoIdCont[10];
}T_zPS_ApUicc_USAT_ProtoID,
T_zApUicc_USAT_ProtoID;
/*24008 10.5.6.3 Protocol configuration options*/
typedef struct{
BYTE bCfgProto;
BYTE bProtoIDLen;
BYTE abPadding[2];
T_zPS_ApUicc_USAT_ProtoID atProtoID[ZPS_ApUicc_USAT_ProtoID];
}T_zPS_ApUicc_USAT_ProtCfgOpt,
T_zApUicc_USAT_ProtCfgOpt;
/* 31.111 8.72 PDP context Activation parameters / 24008 9.5.1*/
typedef struct{
BITS bPd:4;
BITS bTi:4;
BYTE bMsgType;
BYTE bProtCfgFg;
BYTE bApnFg;
BYTE bNsapi;
BYTE bLlcSapi;
BYTE abPadding[2];
T_zPS_ApUicc_USAT_Qos tReqQoS;
T_zPS_ApUicc_USAT_PdpAddr tReqPdpAddr;
T_zPS_ApUicc_USAT_Apn tApn;
T_zPS_ApUicc_USAT_ProtCfgOpt tProtCfg;
}T_zPS_ApUicc_USAT_PdpActParam,
T_zApUicc_USAT_PdpActParam;
/*8.30 Call control requested action */
typedef struct {
BYTE bBcRepFg;
BYTE bBcReptr;
BYTE bUnion;/*±íʾuionµÄÓÐЧÏî
0x00: Address
0x01: ss string
0x02: ussd string
0x03: pdp
0xff: uionÎÞЧ*/
BYTE bPadding;
union {
T_zPS_ApUicc_USAT_Addr tAdr;
T_zPS_ApUicc_USAT_SsStr tSsStr;
T_zPS_ApUicc_USAT_UssdStr tUssd;
T_zPS_ApUicc_USAT_PdpActParam tPdp;
}uStruct;
T_zPS_ApUicc_USAT_Capa tCapa1 ;
T_zPS_ApUicc_USAT_Capa tCapa2 ;
T_zPS_ApUicc_USAT_SubAddr tSubAdr;
T_zPS_ApUicc_USAT_Alpha tAlpha ;
}T_zPS_ApUicc_USAT_CallCtrlAct,
T_zApUicc_USAT_CallCtrlAct;
/*6.8.7 Local information */
typedef struct {
BYTE bInfoType;
BYTE bNmrLen;
BYTE abPadding[2];
BYTE abImei[ZPS_APUICC_USAT_MAX_IMEI_LEN];
BYTE abMesRlt[ZPS_APUICC_USAT_MAX_MNRRLT_LEN];
BYTE bBcchLen;
BYTE abBcchList[ZPS_APUICC_USAT_MAX_BCCHLST_LEN];
BYTE abLang[2];
BYTE bAct;
BYTE bPadding;
T_zPS_ApUicc_USAT_TimeAdv tTimeAdv;
T_zPS_ApUicc_USAT_TZAndTime tCurTime;
T_zPS_ApUicc_USAT_Location tLocation;
}T_zPS_ApUicc_USAT_LocInfo,
T_zApUicc_USAT_LocInfo;
/*6.8 TERMINAL RESPONSE / SET UP CALL*/
typedef struct {
BITS bActFg:1;
BITS bRltFg:1;
BITS bTxtFg:1;
BITS :5;
BYTE abPadding[3];
T_zPS_ApUicc_USAT_CallCtrlAct tCallCtrlAct ;
T_zPS_ApUicc_USAT_Result tRlt2;
T_zPS_ApUicc_USAT_TxtStr tText2 ;
}T_zPS_ApUicc_USAT_CallCtrl_Tr,
T_zApUicc_USAT_CallCtrl_Tr;
/*6.8 TERMINAL RESPONSE / GET INKEY*/
typedef struct {
BITS bTxtFg:1;
BITS bDuraFg:1;
BITS :6;
BYTE abPadding[3];
T_zPS_ApUicc_USAT_TxtStr tText;
T_zPS_ApUicc_USAT_Dura tDispDura;
}T_zPS_ApUicc_USAT_Inkey_Tr,
T_zApUicc_USAT_Inkey_Tr;
/*6.8 TERMINAL RESPONSE / RECEIVE DATA or SEND DATA*/
typedef struct {
BITS bLenFg:1;
BITS bDataFg:1;
BITS :6;
BYTE bDataLenth;
BYTE abPadding[2];
T_zPS_ApUicc_USAT_ChnlData tChnlData;
}T_zPS_ApUicc_USAT_Chdata_Tr,
T_zApUicc_USAT_Chdata_Tr;
/*6.8 TERMINAL RESPONSE / OPEN CHANNEL*/
typedef struct {
BITS bSizeFg:1;
BITS bDescFg:1;
BITS bStatFg:1;
BITS bAdrFg:1;
BITS :4;
BYTE bPadding;
WORD wBufSize ;
T_zPS_ApUicc_USAT_BDescp tBDesc;
T_zPS_ApUicc_USAT_OthrAddr tOthrAdr;
T_zPS_ApUicc_USAT_ChnlStat tChnlStat;
}T_zPS_ApUicc_USAT_Opchl_Tr,
T_zApUicc_USAT_Opchl_Tr;
/*6.8 TERMINAL RESPONSE / SEND USSD*/
typedef struct {
BITS bActFg:1;
BITS bRltFg:1;
BITS bTxtFg:1;
BITS bTxt2Fg:1;
BITS :4;
BYTE abPadding[3];
T_zPS_ApUicc_USAT_CallCtrlAct tCallCtrlAct ;
T_zPS_ApUicc_USAT_Result tRlt2;
T_zPS_ApUicc_USAT_TxtStr tText;
T_zPS_ApUicc_USAT_TxtStr tText2 ;
}T_zPS_ApUicc_USAT_Ussdctr_Tr,
T_zApUicc_USAT_Ussdctr_Tr;
/************************************************************************/
/* ÒÔÏÂÊÇÃüÁî½á¹¹ */
/************************************************************************/
/*6.6.1 DISPLAY TEXT */
typedef struct {
BITS bIconFg:1;
BITS bDuraFg:1;
BITS bImtRspFg:1;
BITS bTxtAtrFg:1;
BITS :4;
BYTE abPadding[3];
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_TxtStr tTxtStr;
T_zPS_ApUicc_USAT_Icon tIcon;
T_zPS_ApUicc_USAT_Dura tDura;
BYTE abTxtAtr[ZPS_APUICC_USAT_MAX_TXTATTR_LEN];
}T_zPS_ApUicc_USAT_DisPlayTxtCmd,
T_zApUicc_USAT_DisPlayTxtCmd;
/*6.6.2 GET INKEY */
typedef struct {
BITS bIconFg:1;
BITS bDuraFg:1;
BITS bTxtAtrFg:1;
BITS :5;
BYTE abPadding[3];
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_TxtStr tTxtStr;
T_zPS_ApUicc_USAT_Icon tIcon;
T_zPS_ApUicc_USAT_Dura tDura;
BYTE abTxtAtr[ZPS_APUICC_USAT_MAX_TXTATTR_LEN];
}T_zPS_ApUicc_USAT_GetInkeyCmd,
T_zApUicc_USAT_GetInkeyCmd;
/*6.6.3 GET INPUT */
typedef struct {
BITS bIconFg:1;
BITS bTxtAtrFg:1;
BITS bDefTxtFg:1;
BITS :5;
BYTE abPadding[3];
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_TxtStr tTxtStr;
T_zPS_ApUicc_USAT_RspLen tRspLen;
T_zPS_ApUicc_USAT_DefTxt tDefTxt;
T_zPS_ApUicc_USAT_Icon tIcon;
BYTE abTxtAtr[ZPS_APUICC_USAT_MAX_TXTATTR_LEN];
}T_zPS_ApUicc_USAT_GetInputCmd,
T_zApUicc_USAT_GetInputCmd;
/*6.6.4 MORE TIME */
typedef struct {
T_zPS_ApUicc_USAT_CmdDtls tCmd;
}T_zPS_ApUicc_USAT_MTimeCmd,
T_zApUicc_USAT_MTimeCmd;
/*6.6.5 PLAY TONE */
typedef struct {
BITS bToneFg:1;
BITS bDuraFg:1;
BITS bIconFg:1;
BITS bTxtAtrFg:1;
BITS :4;
BYTE bTone;
BYTE abPadding[2];
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_DvcId tDevId;
T_zPS_ApUicc_USAT_Alpha tAlpha;
T_zPS_ApUicc_USAT_Dura tDura;
T_zPS_ApUicc_USAT_Icon tIcon;
BYTE abTxtAtr[ZPS_APUICC_USAT_MAX_TXTATTR_LEN];
}T_zPS_ApUicc_USAT_PlayToneCmd,
T_zApUicc_USAT_PlayToneCmd;
/*6.6.6 POLL INTERVAL */
typedef struct {
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_Dura tDura;
}T_zPS_ApUicc_USAT_PollCmd,
T_zApUicc_USAT_PollCmd;
/*6.6.7 SET-UP MENU */
typedef struct {
BYTE bItemNum;
BITS bIconFg:1;
BITS bTxtAtrFg:1;
BITS :6;
BYTE bItemLstQuf ;
BITS bInfoNAIFg:1;
BITS bInfoIconFg:1;
BITS bInfoTxtAtrFg:1;
BITS :5;
BYTE abTxtAtr[ZPS_APUICC_USAT_MAX_TXTATTR_LEN];
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_Alpha tAlpha;
T_zPS_ApUicc_USAT_Icon tIcon;
T_zPS_ApUicc_USAT_ItemInfo atItmInfo[ZPS_APUICC_USAT_MAX_ITEM_NUM] ;
}T_zPS_ApUicc_USAT_SetUpMenuCmd,
T_zApUicc_USAT_SetUpMenuCmd;
/*6.6.8 SELECT ITEM */
typedef struct {
BYTE bItemNum;
BITS bItemIdFg:1;
BITS bIconFg:1;
BITS bTxtAtrFg:1;
BITS :5;
BYTE bItemId;
BYTE bItemLstQuf ;
BITS bInfoNAIFg:1;
BITS bInfoIconFg:1;
BITS bInfoTxtAtrFg:1;
BITS :5;
BYTE abPadding[3];
BYTE abTxtAtr[ZPS_APUICC_USAT_MAX_TXTATTR_LEN];
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_Alpha tAlpha;
T_zPS_ApUicc_USAT_Icon tIcon;
T_zPS_ApUicc_USAT_ItemInfo atItmInfo[ZPS_APUICC_USAT_MAX_ITEM_NUM] ;
}T_zPS_ApUicc_USAT_SelectItemCmd,
T_zApUicc_USAT_SelectItemCmd;
/*6.6.9 SEND SHORT MESSAGE */
typedef struct {
BITS bIconFg:1;
BITS bTxtAtrFg:1;
BITS bAdrFg:1;
BITS :5;
BYTE bTPduLength;
BYTE abPadding[2];
BYTE abTPduBuffer[ZPS_APUICC_USAT_MAX_TPDU_LEN];
BYTE abTxtAtr[ZPS_APUICC_USAT_MAX_TXTATTR_LEN];
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_Alpha tAlphaId;
T_zPS_ApUicc_USAT_Addr tAdr;
T_zPS_ApUicc_USAT_Icon tIcon;
}T_zPS_ApUicc_USAT_SndSmsCmd,
T_zApUicc_USAT_SndSmsCmd;
/*31111 6.6.10 SEND SS*/
typedef struct {
BITS bIconFg:1;
BITS bTxtAtrFg:1;
BITS :7;
BYTE abPadding[3];
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_SsStr tSs;
T_zPS_ApUicc_USAT_Alpha tAlpha;
T_zPS_ApUicc_USAT_Icon tIcon;
BYTE abTxtAtr[ZPS_APUICC_USAT_MAX_TXTATTR_LEN];
}T_zPS_ApUicc_USAT_SndSsCmd,
T_zApUicc_USAT_SndSsCmd;
/*3111 6.6.11 SEND USSD*/
typedef struct {
BITS bIconFg:1;
BITS bTxtAtrFg:1;
BITS :6;
BYTE abPadding[3];
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_UssdStr tUssd;
T_zPS_ApUicc_USAT_Alpha tAlpha;
T_zPS_ApUicc_USAT_Icon tIcon;
BYTE abTxtAtr[ZPS_APUICC_USAT_MAX_TXTATTR_LEN];
}T_zPS_ApUicc_USAT_SndUssdCmd,
T_zApUicc_USAT_SndUssdCmd;
/*6.6.12 SET UP CALL */
typedef struct {
BITS bIconCnfFg:1;
BITS bDuraFg:1;
BITS bIconStupFg:1;
BITS bTxtAtrCnfFg:1;
BITS bTxtAtrStupFg:1;
BITS :3;
BYTE abPadding[3];
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_Alpha tAlphaCnf; /*³¤¶È¿É×÷Ϊ´æÔÚ±ê¼Ç*/
T_zPS_ApUicc_USAT_Addr tAdr;
T_zPS_ApUicc_USAT_SubAddr tSubAdr; /*³¤¶È¿É×÷Ϊ´æÔÚ±ê¼Ç*/
T_zPS_ApUicc_USAT_Capa tCapa;
T_zPS_ApUicc_USAT_Dura tDura;
T_zPS_ApUicc_USAT_Icon tIconCnf;
T_zPS_ApUicc_USAT_Alpha tAlphaStup;
T_zPS_ApUicc_USAT_Icon tIconStup;
BYTE abTxtAtrCnf[ZPS_APUICC_USAT_MAX_TXTATTR_LEN];
BYTE abTxtAtrStup[ZPS_APUICC_USAT_MAX_TXTATTR_LEN];
}T_zPS_ApUicc_USAT_SetupCallCmd,
T_zApUicc_USAT_SetupCallCmd;
/*6.6.13 REFRESH */
typedef struct {
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_FileList tFileList;
T_zPS_ApUicc_USAT_Aid tAid;
}T_zPS_ApUicc_USAT_RefreshCmd,
T_zApUicc_USAT_RefreshCmd;
/*6.6.14 POLL OFF */
typedef struct {
T_zPS_ApUicc_USAT_CmdDtls tCmd;
} T_zPS_ApUicc_USAT_PollOffCmd,
T_zApUicc_USAT_PollOffCmd;
/*6.6.15 PROVIDE LOCAL INFORMATION */
typedef struct {
BYTE bMeasureQualFg;
BYTE bMeasureRptQual;
T_zPS_ApUicc_USAT_CmdDtls tCmd;
} T_zPS_ApUicc_USAT_LocInfoCmd,
T_zApUicc_USAT_LocInfoCmd;
/*6.6.16 SET UP EVENT LIST */
typedef struct {
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_EvtLst tEvtList;
}T_zPS_ApUicc_USAT_SetUpEvtListCmd,
T_zApUicc_USAT_SetUpEvtListCmd;
/*6.6.17 PERFORM CARD APDU */
typedef struct {
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_DvcId tDvcId;
T_zPS_ApUicc_USAT_CApdu tCApdu;
}T_zPS_ApUicc_USAT_PerformCardApduCmd,
T_zApUicc_USAT_PerformCardApduCmd;
/*6.6.18 POWER OFF CARD */
typedef struct {
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_DvcId tDvcId;
}T_zPS_ApUicc_USAT_PwrOffCardCmd,
T_zApUicc_USAT_PwrOffCardCmd;
/*6.6.19 POWER ON CARD */
typedef struct {
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_DvcId tDvcId;
} T_zPS_ApUicc_USAT_PwrOnCardCmd,
T_zApUicc_USAT_PwrOnCardCmd;
/*6.6.20 GET READER STATUS */
typedef struct {
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_DvcId tDvcId;
}T_zPS_ApUicc_USAT_GetReaderStatusCmd,
T_zApUicc_USAT_GetReaderStatusCmd;
/*6.6.21 TIMER MANAGEMENT */
typedef struct {
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_TimerInfo tTimeInfo;
}T_zPS_ApUicc_USAT_TimrMngCmd,
T_zApUicc_USAT_TimrMngCmd;
/*6.6.22 SET UP IDLE MODE TEXT */
typedef struct {
BITS bIconFg:1;
BITS bTxtAtrFg:1;
BITS :6;
BYTE abPadding[3];
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_DvcId tDvcId;
T_zPS_ApUicc_USAT_TxtStr tTxtStr;
T_zPS_ApUicc_USAT_Icon tIcon;
BYTE abTxtAtr[ZPS_APUICC_USAT_MAX_TXTATTR_LEN];
}T_zPS_ApUicc_USAT_SetIdleModTxtCmd,
T_zApUicc_USAT_SetIdleModTxtCmd;
/*6.6.23 RUN AT COMMAND */
typedef struct {
BYTE bAtStrLen;
BITS bIconFg:1;
BITS bTxtAtrFg:1;
BITS :6;
BYTE abPadding[2];
BYTE abAtStr[ZPS_APUICC_USAT_MAX_ATSTR_LEN];
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_Alpha tAlpha;
T_zPS_ApUicc_USAT_Icon tIcon;
T_zPS_ApUicc_USAT_DvcId tDvcId;
BYTE abTxtAtr[ZPS_APUICC_USAT_MAX_TXTATTR_LEN];
} T_zPS_ApUicc_USAT_RunATCmd,
T_zApUicc_USAT_RunATCmd;
/*6.6.25 LANGUAGE NOTIFICATION */
typedef struct {
BITS bLgFg:1;
BITS :7;
BYTE abPadding[3];
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_DvcId tDvcId;
BYTE abLg[2];
}T_zPS_ApUicc_USAT_LgNoticeCmd,
T_zApUicc_USAT_LgNoticeCmd;
/*6.6.26 LAUNCH BROWSER */
typedef struct {
BITS bBrowIdFg:1;
BITS bTxtStrFg:1;
BITS bIconFg:1;
BITS bTxtAtrFg:1;
BITS :4;
BYTE bBrowerId;
BYTE abPadding[2];
BYTE abUrl[ZPS_APUICC_USAT_MAX_URL_LEN];
BYTE bUrlLen;
BYTE bPadding1;
BYTE abBearLst[ZPS_APUICC_USAT_MAX_BEARLST_LEN];
BYTE bBearLen;
BYTE bFileNum;
BYTE bPadding2;
T_zPS_ApUicc_USAT_ProFileRef atProvFile[ZPS_APUICC_USAT_MAX_PROFILE_LEN];
T_zPS_ApUicc_USAT_TxtStr tTxtStr;
T_zPS_ApUicc_USAT_Alpha tAlpha;
T_zPS_ApUicc_USAT_Icon tIcon;
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_DvcId tDvcId;
BYTE abTxtAtr[ZPS_APUICC_USAT_MAX_TXTATTR_LEN];
}T_zPS_ApUicc_USAT_LaunchBrowserCmd,
T_zApUicc_USAT_LaunchBrowserCmd;
/*6.6.27 OPEN CHANNEL */
typedef struct {
BITS bIconFg:1;
BITS bDura1Fg:1;
BITS bDura2Fg:1;
BITS bOAdrFg:1;
BITS bLogFg:1;
BITS bPswdFg:1;
BITS bTrLvFg:1;
BITS bDataAdrFg:1;
BITS bAdrFg:1; //cs type Çé¿öÏ´æÔÚ
BITS bRemAdrFg:1;
BITS bTxtAtrFg:1;
BITS :5;
WORD wBufSize ;
BYTE abTxtAtr[ZPS_APUICC_USAT_MAX_TXTATTR_LEN];
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_Alpha tAlpha;
T_zPS_ApUicc_USAT_Icon tIcon;
T_zPS_ApUicc_USAT_Addr tAdr;
T_zPS_ApUicc_USAT_SubAddr tSubAdr;
T_zPS_ApUicc_USAT_Dura tDura1;
T_zPS_ApUicc_USAT_Dura tDura2;
T_zPS_ApUicc_USAT_BDescp tBdesc;
T_zPS_ApUicc_USAT_IntfcTnsptLv tTrLv;
T_zPS_ApUicc_USAT_OthrAddr tOadr;
T_zPS_ApUicc_USAT_OthrAddr tDataAdr;
T_zPS_ApUicc_USAT_TxtStr tLogin;
T_zPS_ApUicc_USAT_TxtStr tPswd;
T_zPS_ApUicc_USAT_NetName tNetName;
T_zPS_ApUicc_USAT_RmtAddr tRemAdr;
}T_zPS_ApUicc_USAT_OpenChnlCmd,
T_zApUicc_USAT_OpenChnlCmd;
/*6.6.28 CLOSE CHANNEL */
typedef struct {
BITS bIconFg:1;
BITS bTxtAtrFg:1;
BITS :6;
BYTE abPadding[2];
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_DvcId tDvcId;
T_zPS_ApUicc_USAT_Alpha tAlpha;
T_zPS_ApUicc_USAT_Icon tIcon;
BYTE abTxtAtr[ZPS_APUICC_USAT_MAX_TXTATTR_LEN];
}T_zPS_ApUicc_USAT_CloseChnlCmd,
T_zApUicc_USAT_CloseChnlCmd;
/*6.6.29 RECEIVE DATA */
typedef struct {
BYTE bDesDevID;
BYTE bDataLen;
BITS bTxtAtrFg:1;
BITS bIconFg:1;
BITS :6;
BYTE bPadding;
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_Alpha tAlpha;
T_zPS_ApUicc_USAT_Icon tIcon;
BYTE abTxtAtr[ZPS_APUICC_USAT_MAX_TXTATTR_LEN];
}T_zPS_ApUicc_USAT_RsvDataCmd,
T_zApUicc_USAT_RsvDataCmd;
/*6.6.30 SEND DATA */
typedef struct {
BYTE bDesDevID;
BITS bIconFg:1;
BITS bTxtAtrFg:1;
BITS :6;
BYTE abPadding[2];
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_Alpha tAlpha;
T_zPS_ApUicc_USAT_Icon tIcon;
T_zPS_ApUicc_USAT_ChnlData tChnlData;
BYTE abTxtAtr[ZPS_APUICC_USAT_MAX_TXTATTR_LEN];
}T_zPS_ApUicc_USAT_SndDataCmd,
T_zApUicc_USAT_SndDataCmd;
/*6.6.31 GET CHANNEL STATUS */
typedef struct {
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_DvcId tDvcId;
}T_zPS_ApUicc_USAT_GetChnlStatusCmd,
T_zApUicc_USAT_GetChnlStatusCmd;
/*6.6.32 SERVICE SEARCH */
typedef struct {
BITS bIconFg:1;
BITS bDvcFiltFg:1;
BITS bTxtAtr:1;
BITS :5;
BYTE abPadding[3];
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_DvcId tDvcId;
T_zPS_ApUicc_USAT_Alpha tAlpha;
T_zPS_ApUicc_USAT_Icon tIcon;
T_zPS_ApUicc_USAT_DvcFilter tDvcFilter;
T_zPS_ApUicc_USAT_SrvSrch tSrvSrch;
BYTE abTxtAtr[ZPS_APUICC_USAT_MAX_TXTATTR_LEN];
}T_zPS_ApUicc_USAT_SrvSearchCmd,
T_zApUicc_USAT_SrvSearchCmd;
/*6.6.33 GET SERVICE INFORMATION */
typedef struct {
BITS bIconFg:1;
BITS bTxtAtr:1;
BITS :6;
BYTE abPadding[3];
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_Alpha tAlpha;
T_zPS_ApUicc_USAT_Icon tIcon;
T_zPS_ApUicc_USAT_AtrInfo tAtrInfo;
BYTE abTxtAtr[ZPS_APUICC_USAT_MAX_TXTATTR_LEN];
}T_zPS_ApUicc_USAT_GetSrvInfoCmd,
T_zApUicc_USAT_GetSrvInfoCmd;
/*6.6.34 DECLARE SERVICE */
typedef struct {
BITS bItfTrLvFg:1;
BITS :7;
BYTE abPadding[3];
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_DvcId tDvcId;
T_zPS_ApUicc_USAT_SrvRec tSrvRec ;
T_zPS_ApUicc_USAT_IntfcTnsptLv tItfTrLv;
}T_zPS_ApUicc_USAT_DeclearSrvCmd,
T_zApUicc_USAT_DeclearSrvCmd;
/************************************************************************/
/* evnelop */
/************************************************************************/
/*7.5.1 MT call event */
typedef struct
{
BYTE bTi;
BITS bAdrFg:1;
BITS :7;
BYTE abPadding[2];
T_zPS_ApUicc_USAT_Addr tAdr;
T_zPS_ApUicc_USAT_SubAddr tSubAdr;
}T_zPS_ApUicc_USAT_CallMtEvt,
T_zApUicc_USAT_CallMtEvt;
/*7.5.2 Call connected event */
typedef struct
{
BYTE bTi;
BYTE abPadding[3];
T_zPS_ApUicc_USAT_DvcId tDvcId;
}T_zPS_ApUicc_USAT_CallConEvt,
T_zApUicc_USAT_CallConEvt;
/*7.5.3 Call disconnected event */
typedef struct
{
BYTE abCause[ZPS_APUICC_USAT_MAX_DISCCAUS_LEN];
BYTE bLen;
BYTE bTi;
T_zPS_ApUicc_USAT_DvcId tDvcId;
}T_zPS_ApUicc_USAT_CallDiscEvt,
T_zApUicc_USAT_CallDiscEvt;
/*7.5.4 Location status event */
typedef struct
{
BYTE bStatus;
BITS bLocFg:1;
BITS :7;
BYTE abPadding[2];
T_zPS_ApUicc_USAT_Location tLocation;
}T_zPS_ApUicc_USAT_LocEvt,
T_zApUicc_USAT_LocEvt;
/*31.111 7.5.2 Network Rejection event */
typedef struct
{
BYTE bAct;
BYTE bUpdataAttachType;
BYTE bRejCause;
BYTE bExtRejCauseFlg;
BYTE bExtRejCause;
union
{
T_zPS_TAI tTai;
T_zPS_RAI tRai;
T_zApUicc_USAT_Location tLocation;
}uVal;
}T_zPS_ApUicc_USAT_NwRejEvt,
T_zApUicc_USAT_NwRejEvt;
/*7.5.7 Card reader status event */
typedef struct
{
BYTE bStatus;
BYTE abPadding[3];
}T_zPS_ApUicc_USAT_RdCardStateEvt,
T_zApUicc_USAT_RdCardStateEvt;
/*7.5.8 Language selection event */
typedef struct
{
BYTE abLauguage[2];
BYTE abPadding[2];
}T_zPS_ApUicc_USAT_LauguageEvt,
T_zApUicc_USAT_LauguageEvt;
/*7.5.9 Browser termination event */
typedef struct
{
BYTE bCause;
BYTE abPadding[3];
}T_zPS_ApUicc_USAT_BrowseStopEvt,
T_zApUicc_USAT_BrowseStopEvt;
/*7.5.10 Data available event */
typedef struct
{
BYTE bDataLen;
BYTE abPadding[3];
T_zPS_ApUicc_USAT_ChnlStat tChnlStat;
} T_zPS_ApUicc_USAT_DataAvlEvt,
T_zApUicc_USAT_DataAvlEvt;
/*7.5.11 Channel status event */
typedef struct
{
T_zPS_ApUicc_USAT_ChnlStat tChnlStat;
}T_zPS_ApUicc_USAT_ChnlStateEvt,
T_zApUicc_USAT_ChnlStateEvt;
/*7.5.12 Access technology change event */
typedef struct {
BYTE bAct;
BYTE abPadding[3];
}T_zPS_ApUicc_USAT_ActChgEvt,
T_zApUicc_USAT_ActChgEvt;
/*7.5.13 Display parameters changed event */
typedef struct
{
BYTE abParam[3];
BYTE bPadding;
}T_zPS_ApUicc_USAT_DisPlayChgEvt,
T_zApUicc_USAT_DisPlayChgEvt;
/*7.5.14 Local connection event */
typedef struct
{
BITS bRemAdrFg:1;
BITS bItfTrLFg:1;
BITS bTrLvAdrFg:1;
BITS :5;
BYTE abPadding[3];
T_zPS_ApUicc_USAT_SrvRec tSrvRec ;
T_zPS_ApUicc_USAT_RmtAddr tRemAdr;
T_zPS_ApUicc_USAT_IntfcTnsptLv tItfTrLv;
T_zPS_ApUicc_USAT_OthrAddr tTrLvAdr;
}T_zPS_ApUicc_USAT_LocalConnctEvt,
T_zApUicc_USAT_LocalConnctEvt;
/*7.2 Menu selection */
typedef struct {
BYTE bItemId;
BITS bHelpReq:1;
BITS :7;
BYTE abPadding[2];
}T_zPS_ApUicc_USAT_MenuSel,
T_zApUicc_USAT_MenuSel;
/*7.3.2 MO Short Message Control by USIM*/
typedef struct {
T_zPS_ApUicc_USAT_Addr tRpDa;
T_zPS_ApUicc_USAT_Addr tTpDa;
T_zPS_ApUicc_USAT_Location tLocation;
}T_zPS_ApUicc_USAT_SmsCtrl,
T_zApUicc_USAT_SmsCtrl;
/*7.3.2 MO Short Message Control by USIM*/
typedef struct {
BYTE bCtrRlt;
BITS bRpdaFg:1;
BITS bTpdaFg:1;
BITS :6;
BYTE abPadding[2];
T_zPS_ApUicc_USAT_Addr tRpDa;
T_zPS_ApUicc_USAT_Addr tTpDa;
T_zPS_ApUicc_USAT_Alpha tAlpha;
}T_zPS_ApUicc_USAT_SmsCtrlCnf,
T_zApUicc_USAT_SmsCtrlCnf;
/*7.3 Call Control by NAA */
typedef struct
{
BYTE bUnionFg;/*±íʾuionµÄÓÐЧÏî
0x00: Address
0x01: ss string
0x02: ussd string
0x03: pdp*/
BYTE abPadding[3];
T_zPS_ApUicc_USAT_Capa tCapa1;
T_zPS_ApUicc_USAT_Capa tCapa2;
T_zPS_ApUicc_USAT_SubAddr tSubAdr;
T_zPS_ApUicc_USAT_Location tLocation;
union {
T_zPS_ApUicc_USAT_Addr tAddr;
T_zPS_ApUicc_USAT_SsStr tSsStr;
T_zPS_ApUicc_USAT_UssdStr tUssdStr;
T_zPS_ApUicc_USAT_PdpActParam tPdp;
} uCtrStr;
} T_zPS_ApUicc_USAT_CallCtrl,
T_zApUicc_USAT_CallCtrl;
/*7.3 Call Control by NAA */
typedef struct
{
BYTE bCtrlRlt;
BITS bBcRepFg:1;
BITS :7 ;
BYTE bBcReptr;
BYTE bUnionFg;/*±íʾuionµÄÓÐЧÏî
0x00: Address
0x01: ss string
0x02: ussd string
0x03: pdp
0xff: uionÎÞЧ*/
union {
T_zPS_ApUicc_USAT_Addr tAddr;
T_zPS_ApUicc_USAT_SsStr tSsStr;
T_zPS_ApUicc_USAT_UssdStr tUssdStr;
T_zPS_ApUicc_USAT_PdpActParam tPdp;
} uCtrStr;
T_zPS_ApUicc_USAT_SubAddr tSubAdr;
T_zPS_ApUicc_USAT_Capa tCapa1;
T_zPS_ApUicc_USAT_Alpha tAlpha;
T_zPS_ApUicc_USAT_Capa tCapa2;
} T_zPS_ApUicc_USAT_CallCtrlCnf,
T_zApUicc_USAT_CallCtrlCnf;
/*7.4 Timer expiration */
typedef struct
{
T_zPS_ApUicc_USAT_TimerInfo tTimerInfo;
}T_zPS_ApUicc_USAT_TimeExpire,
T_zApUicc_USAT_TimeExpire;
/*31111 7.1.1 SMS-PP data download*/
typedef struct
{
BITS bScaFg:1;
BITS :7;
BYTE bTpduLen;
BYTE abPadding[2];
BYTE abTpdu[ZPS_APUICC_USAT_MAX_TPDU_LEN];
T_zPS_ApUicc_USAT_Addr tSca;
} T_zPS_ApUicc_USAT_SmsDown,
T_zApUicc_USAT_SmsDown;
/*31111 7.1.1 SMS-PP data download »Ø¸´*/
typedef struct
{
BYTE abTpud[ZPS_APUICC_USAT_MAX_TPUD_LEN];
BYTE bTpduLen;
} T_zPS_ApUicc_USAT_SmsDownCnf,
T_zApUicc_USAT_SmsDownCnf;
/*7.1.2 Cell Broadcast data download*/
typedef struct
{
BYTE abCbsPage[ZPS_APUICC_USAT_MAX_CBSPAG_LEN];
} T_zPS_ApUicc_USAT_CbsDown,
T_zApUicc_USAT_CbsDown;
/**************************************************************************
* UiccManagerºÍAP½Ó¿ÚÏûÏ¢½á¹¹¶¨Òå *
**************************************************************************/
/*==============================================================================
Ô­ÓApUicc_InitReq_Ev(MMI->UiccManager)
˵Ã÷: ¸æÖª¿¨½øÐгõʼ»¯
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE bSlot; /*
*Slot Number
*ZPS_ApUicc_SLOT0
*ZPS_ApUicc_SLOT1
*ZPS_ApUicc_SLOT2
*/
BYTE bPadding1;
BYTE abAppMode[ZPS_ApUicc_MAX_INITAPPMODE_NUM];
/*
*Uicc Manager will init the applmode listed in the array
* 0: ZPS_ApUicc_APPMODE_NULL
* 1: ZPS_ApUicc_APPMODE_USIM
* 2: ZPS_ApUicc_APPMODE_SIM
*/
BYTE bPadding2;
}T_zPS_ApUicc_Init_Req,
T_zApUicc_Init_Req;
/*==============================================================================
Ô­ÓApUicc_InitCnf_Ev(UiccManager->MMI)
˵Ã÷: ApUicc_Init_ReqµÄÏìÓ¦
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE bAppMode; /*
*current operation application mode
*1: ZPS_ApUicc_APPMODE_USIM
*2: ZPS_ApUicc_APPMODE_SIM
*/
BYTE bPhase; /*
*ZPS_ApUicc_SIM_PHASE1
*ZPS_ApUicc_SIM_PHASE2
*ZPS_ApUicc_SIM_PHASE2_SPECIAL:
* phase 2 and
* PROFILE DOWNLOAD required (see 3GPP TS 51.014 [27]).
*ZPS_ApUicc_SIM_NO_PHASE
*/
DWORD dwUiccState; /*
*card init stat:
*ZPS_ApUicc_NO_CARD
*ZPS_ApUicc_MODE_SELE_OK
*ZPS_ApUicc_CARD_WRONG
*ZPS_ApUicc_NEED_UNBLPIN
*ZPS_ApUicc_NEED_PIN
*ZPS_ApUicc_NEED_UNVSLPIN
*ZPS_ApUicc_NEED_UNBL_UNVSLPIN
*ZPS_ApUicc_APPL_FAIL
*/
BYTE abIccId[10]; /*EF iccid*/
BYTE bLiFg;
BYTE bPlFg;
BYTE bChId;
BYTE abPadding[3];
T_zPS_UICC_PL tPl;
T_zPS_UICC_Li tLi;
}T_zPS_ApUicc_Init_Cnf,
T_zApUicc_Init_Cnf;
/*==============================================================================
Ô­ÓApUicc_UiccOkInd_Ev(UiccManager->MMI)
˵Ã÷: ³õʼ»¯½áÊøÏûÏ¢
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE bApplMode;
BYTE bChId;
DWORD dwInitResult; /*
*the init result
*ZPS_ApUicc_INIT_OK
*ZPS_ApUicc_ELEMENTARY_INIT_OK
*ZPS_ApUicc_CARD_WRONG
*ZPS_ApUicc_NO_CARD
*/
}T_zPS_ApUicc_UiccOk_Ind,
T_zApUicc_UiccOk_Ind;
/*==============================================================================
Ô­ÓApUicc_CardInd_Ev(UiccManager->MMI)
˵Ã÷: ²å¿¨°Î¿¨Éϱ¨ÏûÏ¢,¶ÔMMIÎÞÂ۲忨»òÊǰ喝¼Îª¸ÃÏûÏ¢
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE bSlot; /*slot*/
BYTE bSlotState; /*card status 0-ZPS_ApUicc_EVULSION_CARD, 1-ZPS_ApUicc_INSERT_CARD*/
BYTE bCause; /*²å°ÎÔ­Òò 0-ÎïÀí²å°Î Z_APUICC_CARD_PHY_OPER 1-ÆäËûÔ­Òò Z_APUICC_CARD_OTHER_OPER*/
BYTE abPadding[3];
}T_zPS_ApUicc_Card_Ind,
T_zApUicc_Card_Ind;
/*==============================================================================
Ô­ÓAP_UICC_NOCARD_IND_EV
˵Ã÷: ÎÞ¿¨Ê±Í¨ÖªÆäËûÄ£¿éµÄind ÏûÏ¢
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE bNocardType; /*±íʾÎÞ¿¨ÏûÏ¢ÀàÐÍ£¬Ä¿Ç°Ö§³ÖÁ½ÖÖÀàÐÍ:
Z_APUICC_NOCARD_TYPE_NORMAL (BYTE)0
Z_APUICC_NOCARD_TYPE_RESET_REFRESH (BYTE)1 */
BYTE bPadding;
}T_zPS_ApUicc_NoCard_Ind,
T_zApUicc_NoCard_Ind;
/*==============================================================================
Ô­ÓZPS_ApUicc_VerifyReq_Ev(MMIA->UICCMng)
˵Ã÷: ÓÉMMIAÏ·¢pinÑéÖ¤ÇëÇó
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bChId;
BYTE bPadding;
BYTE abKey[8];
}T_zPS_ApUicc_Verify_Req,
T_zApUicc_Verify_Req;
/*==============================================================================
Ô­ÓZPS_ApUicc_UnblockReq_Ev(MMIA->UICCMng)
˵Ã÷: ÓÉMMIAÏ·¢pinËøÇëÇó
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bChId;
BYTE bPadding;
BYTE abUnblockKey[8];
BYTE abNewVerifyKey[8];
}T_zPS_ApUicc_Unblock_Req,
T_zApUicc_Unblock_Req;
/*==============================================================================
Ô­ÓZPS_ApUicc_ChangeReq_Ev(MMIA->UICCMng)
˵Ã÷: ÓÉMMIAÏ·¢pinÐÞ¸ÄÇëÇó
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bFac; /*ZPS_ApUicc_PIN1TYPE
ZPS_ApUicc_PIN2TYPE */
BYTE bChId;
BYTE abOldKey[8];
BYTE abNewKey[8];
}T_zPS_ApUicc_Change_Req,
T_zApUicc_Change_Req;
/*==============================================================================
Ô­ÓZPS_ApUicc_FacilityPinReq_Ev(MMIA->UICCMng)
˵Ã÷: ÓÉMMIAÏ·¢pin¼¤»îÈ¥»îÇëÇó
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bMode; /*ZPS_ApUicc_FACILITYPIN_DIS
ZPS_ApUicc_FACILITYPIN_EN */
BYTE bChId;
BYTE abKey[8];
}T_zPS_ApUicc_FacilityPin_Req,
T_zApUicc_FacilityPin_Req;
/*==============================================================================
Ô­ÓApUicc_PinEnableQueryReq_Ev(MMI->UiccManager)
˵Ã÷: ²éѯµ±Ç°PIN1ÊÇ·ñ±»¼¤»î
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE bChId;
BYTE bPadding;
}T_zPS_ApUicc_PinEnableQuery_Req,
T_zApUicc_PinEnableQuery_Req;
/*==============================================================================
Ô­ÓApUicc_PinEnableQueryCnf_Ev(UiccManager-->MMI)
˵Ã÷: ²éѯµ±Ç°PIN1ÊÇ·ñ±»¼¤»î
´íÎóʱʹÓÃCommonCnf»Ø¸´
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE bPin1Status; /*PIN1ÊÇ·ñ±»¼¤»î,bPinEnableQueryStat == ZPS_ApUicc_READ_OKʱÓÐЧ
ZPS_ApUicc_PIN_NOTACTIVE
ZPS_ApUicc_PIN_ACTIVE*/
BYTE bChId;
}T_zPS_ApUicc_PinEnableQuery_Cnf,
T_zApUicc_PinEnableQuery_Cnf;
/*==============================================================================
Ô­ÓApUicc_PinStatQureyReq_Ev(MMI->UiccManager)
˵Ã÷: ²éѯµ±Ç°¿¨ÉÏÊÇ·ñÐèÒªÑéÖ¤PIN
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bChId;
BYTE bPadding;
}T_zPS_ApUicc_PinStatQurey_Req,
T_zApUicc_PinStatQurey_Req;
/*==============================================================================
Ô­ÓApUicc_PinStatQureyCnf_Ev(MMI->UiccManager)
˵Ã÷: ²éѯµ±Ç°¿¨ÉÏÊÇ·ñÐèÒªÑéÖ¤PIN
´íÎóʱʹÓÃCommonCnf»Ø¸´
==============================================================================*/
typedef struct
{
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE bPinStatus; /*µ±Ç°¿¨ÉÏÊÇ·ñÐèÒªÑéÖ¤PIN, bPinStatQureyStat == ZPS_ApUicc_READ_OKʱÓÐЧ
ZPS_ApUicc_PIN_READY
ZPS_ApUicc_PIN_SIMPIN
ZPS_ApUicc_PIN_SIMPUK
ZPS_ApUicc_PIN_SIMPIN2
ZPS_ApUicc_PIN_SIMPUK2 */
BYTE bChId;
}T_zPS_ApUicc_PinStatQurey_Cnf,
T_zApUicc_PinStatQurey_Cnf;
/*==============================================================================
Ô­ÓApUicc_InitInd_Ev(UiccManager->UMM/MMI)
˵Ã÷: ³õʼ»¯Ïà¹ØÐÅÏ¢µÄÖ÷¶¯Éϱ¨
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE bAppMode; /*the application mode*/
BYTE bUstFlag;
BYTE bEstFlag;
BYTE bSstFlag;
T_zPS_UICC_Ust tUst;
T_zPS_UICC_Est tEst;
T_zPS_UICC_SST tSst;
}T_zPS_ApUicc_Init_Ind,
T_zApUicc_Init_Ind;
/*****************************************************************************
Ô­ÓZPS_ApUicc_CardModeReq_Ev
˵Ã÷: AT^CARDMODE SIM/USIM¿¨Ä£Ê½Ê¶±ð
*****************************************************************************/
typedef struct {
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE abPadding[2];
}T_zPS_ApUicc_CardMode_Req,
T_zApUicc_CardMode_Req;
/*****************************************************************************
Ô­ÓZPS_ApUicc_CardModeCnf_Ev(MMIA->ATI)
˵Ã÷: AT^CARDMODE SIM/USIM¿¨Ä£Ê½Ê¶±ð,µ±Ç°¿¨Î´³õʼ»¯»òµÈ´ý¹Ø»úʱÉϱ¨ZPS_ApUicc_CARD_TYPE_UNKNOWN
¼´,ÔÚÈκÎ״̬϶¼ÐèÒª½ÓÊܸÃÏûÏ¢
*****************************************************************************/
typedef struct {
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE bCardMode; /*¿¨ÀàÐÍ
ZPS_ApUicc_CARD_TYPE_UICC
ZPS_ApUicc_CARD_TYPE_SIM
ZPS_ApUicc_CARD_TYPE_UNKNOWN */
BYTE bPadding;
}T_zPS_ApUicc_CardMode_Cnf,
T_zApUicc_CardMode_Cnf;
/*==============================================================================
Ô­ÓApUicc_ReadReq_Ev(UMM/MMI->UiccManager)
˵Ã÷: UMM»òMMIÇëÇó¶ÁÈ¡¿¨ÖеÄÎļþ
==============================================================================*/
typedef struct{
BYTE bSrcIndex;
BYTE bDesIndex;
WORD wKeyId;
BYTE bApplMode;
BYTE bRecId;
BYTE abPadding[2];
}T_zPS_ApUicc_Read_Req,
T_zApUicc_Read_Req;
/*==============================================================================
Ô­ÓApUicc_ReadCnf_Ev(UiccManager->UMM/MMI)
˵Ã÷: ¶ÁÇëÇóµÄÏìÓ¦
==============================================================================*/
typedef struct{
BYTE bSrcIndex;
BYTE bDesIndex;
WORD wKeyId;
DWORD dwExecuteStatus;
BYTE bApplMode;
BYTE bRecId;
WORD wValLen;
BYTE abVal[ZPS_ApUicc_MAX_DATA_VAL];
}T_zPS_ApUicc_Read_Cnf,
T_zApUicc_Read_Cnf;
/*==============================================================================
Ô­ÓApUicc_UpdateReq_Ev(UMM/MMI->UiccManager)
˵Ã÷: UMM»òMMIÇëÇó¸üп¨ÖеÄÎļþ
==============================================================================*/
typedef struct{
BYTE bSrcIndex;
BYTE bDesIndex;
WORD wKeyId;
BYTE bApplMode;
BYTE bRecId;
WORD wValLen;
BYTE abVal[ZPS_ApUicc_MAX_DATA_VAL];
}T_zPS_ApUicc_Update_Req,
T_zApUicc_Update_Req;
/*==============================================================================
Ô­ÓZPS_ApUicc_PinRemainNumReq_Ev(MMI->UiccManager)
˵Ã÷: MMIÇëÇó²éѯPINÊ£Óà´ÎÊý
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE bChId;
BYTE bPadding;
}T_zPS_ApUicc_PinRemainNum_Req,
T_zApUicc_PinRemainNum_Req;
/*==============================================================================
Ô­ÓZPS_ApUicc_PinRemainNumCnf_Ev(UiccManager->MMI)
˵Ã÷: UiccManager·µ»ØPINÊ£Óà´ÎÊý
Ò쳣ʱʹÓÃCommonCnf»Ø¸´
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /*ÏûÏ¢Ô´Ë÷Òý*/
BYTE bDesIndex; /*ÏûϢĿµÄË÷Òý*/
BYTE bChId;
BYTE bPadding;
BYTE bPin1Remain; /*Pin1µÄÊ£ÓàÑéÖ¤´ÎÊý*/
BYTE bPin2Remain; /*Pin2µÄÊ£ÓàÑéÖ¤´ÎÊý,Èçδ»ñÈ¡PIN2Ïà¹ØÊý¾Ý£¬ÔòΪ0xFF*/
BYTE bUnblPin1Remain; /*Unblock Pin1µÄÊ£ÓàÑéÖ¤´ÎÊý*/
BYTE bUnblPin2Remain; /*Unblock Pin2µÄÊ£ÓàÑéÖ¤´ÎÊý,Èçδ»ñÈ¡PIN2Ïà¹ØÊý¾Ý£¬ÔòΪ0xFF*/
}T_zPS_ApUicc_PinRemainNum_Cnf,
T_zApUicc_PinRemainNum_Cnf;
/*==============================================================================
Ô­ÓApUicc_UpdateCnf_Ev(UiccManager->UMM/MMI)
˵Ã÷: UMM»òMMIÇëÇó¸üп¨ÖеÄÎļþ
==============================================================================*/
typedef struct{
BYTE bSrcIndex;
BYTE bDesIndex;
WORD wKeyId;
BYTE bApplMode;
BYTE bRecId;
BYTE abPadding[2];
DWORD dwExecuteStatus;
}T_zPS_ApUicc_Update_Cnf,
T_zApUicc_Update_Cnf;
/*==============================================================================
Ô­ÓApUicc_AuthReq_Ev(MM/GMM->UiccManager)
˵Ã÷: ·¢ËͼøÈ¨µ½UiccManager£¬MM/GMM¹²ÓÃ
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bDomainId; /* cnÓò±êʾ£¬È¡Öµ¼ûºê¶¨Òå */
BYTE bAuthType; /* ¼øÈ¨ÀàÐÍ£¬²Î¼ûºê¶¨Òå */
BYTE bSeq;
BYTE bPadding;
BYTE abPadding[2];
BYTE abRand[ZPS_ApUicc_MAX_LEN_RAND]; /* The auth.parameter RAND */
BYTE abAutn[ZPS_ApUicc_MAX_LEN_AUTN]; /* The auth.parameter AUTN */
}T_zPS_ApUicc_Auth_Req,
T_zApUicc_Auth_Req;
/*==============================================================================
Ô­ÓApUicc_AuthRsp_Ev(UiccManager->MM/GMM)
˵Ã÷: ¼øÈ¨ÏìÓ¦µ½GMM/MM
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bDomainId; /* cnÓò±êʾ£¬È¡Öµ¼ûºê¶¨Òå */
BYTE bAuthType; /* ¼øÈ¨ÀàÐÍ£¬²Î¼ûºê¶¨Òå */
BYTE bResLen; /* RESµÄ³¤¶È£¬GSM¼øÈ¨Ê±¹Ì¶¨È¡Öµ4,UMTS¼øÈ¨È¡Öµ4-16 */
BYTE bSeq;
BYTE abPadding[2];
T_zPS_CK tCk;
T_zPS_IK tIk;
BYTE abKc[ZPS_ApUicc_MAX_LEN_KC]; /* The ciphering Key Kc, in GSM */
BYTE abRes[ZPS_ApUicc_MAX_LEN_RES]; /* The response of authentication,
* when GSM authentication : SRES
* when UMTS authentication: RES */
}T_zPS_ApUicc_Auth_Cnf,
T_zApUicc_Auth_Cnf;
/*==============================================================================
Ô­ÓApUicc_AuthFailInd_Ev(UiccManager->MM/GMM)
˵Ã÷: ¼øÈ¨Ê§°Üµ½GMM/MM
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bDomainId; /*DomainId, UiccManager do not ues it */
BYTE bFailCause; /*
*Authenticate failure cause
*MacFail
*SyncFail
*GsmAuthUnAccpt
*/
BYTE bSeq;
BYTE abPadding1[3];
BYTE abAuts[ZPS_ApUicc_MAX_LEN_AUTS]; /* The Synch failure parameter AUTS*/
BYTE abPadding2[2];
}T_zPS_ApUicc_AuthFail_Cnf,
T_zApUicc_AuthFail_Cnf;
/****************************************************************************
Ô­Óï:ZPS_ApUicc_PinApplSetReq_Ev
¹¦ÄÜ:ÉèÖÃPINÏà¹ØÓ¦Óã¬ÆäºóËùÓеÄPIN²Ù×÷¶¼Îª¸ÃÓ¦ÓÃϽøÐÐ
¶ÔÓ¦ATÃüÁî:
****************************************************************************/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bAppMode; /*ÉèÖõ±Ç°Ó¦Óã¬ÆäºóÓëPINÏà¹ØµÄÃüÁî¶¼½«ÔËÐÐÔÚ¸ÃÓ¦ÓÃÏ£¬
µ±¿ª»úδÉèÖÃÖ÷Ó¦ÓÃʱ£¬UiccMng½«Ä¬ÈÏʹÓÃÖ÷Ó¦Óã¬
µ±¸ÃÉèÖÃʧ°Üʱ£¬ºóÐøµÄPINÁ÷³Ì¶¼½«ÈÏΪ´íÎó*/
BYTE bPadding;
}T_zPS_ApUicc_PinApplSet_Req,
T_zApUicc_PinApplSet_Req;
/****************************************************************************
Ô­Óï:ZPS_ApUicc_PinApplSetCnf_Ev
¹¦ÄÜ:ZPS_APMMIA_PinApplSetReq_EvÏìÓ¦ÏûÏ¢
¶ÔÓ¦ATÃüÁî:
****************************************************************************/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
DWORD dwSetStatus; /*ÉèÖýá¹û£¬
ZPS_ApUicc_CARD_WRONG
ZPS_ApUicc_SET_OK */
BYTE abPadding[2];
}T_zPS_ApUicc_PinApplSet_Cnf,
T_zApUicc_PinApplSet_Cnf;
/****************************************************************************
Ô­Óï:ZPS_ApUicc_PinApplReadCnf_Ev
¹¦ÄÜ:¶ÁÈ¡µ±Ç°PINÏà¹ØÓ¦ÓÃÉèÖÃ״̬
¶ÔÓ¦ATÃüÁî:
****************************************************************************/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE abPadding[2];
}T_zPS_ApUicc_PinApplRead_Req,
T_zApUicc_PinApplRead_Req;
/****************************************************************************
Ô­Óï:ZPS_ApUicc_PinApplReadCnf_Ev
¹¦ÄÜ:ZPS_APMMIA_PinApplReadReq_EvµÄÏìÓ¦£¬µ±ÉèÖÃʧ°Üʱ£¬·µ»Ø0xFF
¶ÔÓ¦ATÃüÁî:
****************************************************************************/
typedef struct
{
BYTE bSrcIndex; /* Ô´Ë÷Òý */
BYTE bDesIndex; /* Ä¿µÄË÷Òý */
BYTE bAppMode; /*PINÏà¹ØÓ¦ÓÃÉèÖýá¹û£¬µ±ÉèÖÃʧ°Üʱ£¬·µ»Ø0xFF*/
BYTE bPadding;
}T_zPS_ApUicc_PinApplRead_Cnf,
T_zApUicc_PinApplRead_Cnf;
/**************************************************************************
* UiccManagerÖÐUSATÏà¹Ø¹¦ÄܺÍAP½Ó¿ÚÏûÏ¢½á¹¹¶¨Òå *
**************************************************************************/
/*==============================================================================
½á¹¹£ºT_zPS_ApUicc_USAT_TerminalRsp_Req(MMIA-->UiccManager)
ʼþºÅ:
˵Ã÷:USATÖжÔResult+ReasonÀàÐÍÏûÏ¢»Ø¸´Ê¹ÓÃÕâÌõÏûÏ¢
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bResult;
BYTE bPadding;
DWORD dwReason;
}T_zPS_ApUicc_USAT_Common_Cnf,
T_zApUicc_USAT_Common_Cnf;
/*==============================================================================
½á¹¹£ºT_zPS_ApUicc_USAT_TerminalRsp_Req(MMIA-->UiccManager)
ʼþºÅ:
˵Ã÷: USATÖеÄTerminal Response,¸ÃÏûÏ¢¶ÔÓ¦µÄ»Ø¸´ÏûϢʹÓÃT_zPS_ApUicc_USAT_Common_Cnf
==============================================================================*/
/*6.8 Structure of TERMINAL RESPONSE */
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
WORD wProCmdType; /*Ö÷¶¯Ê½ÃüÁîµÄÃüÁîÀàÐÍ(»¹¿ÉÒÔÈ¡ÆäËüÃüÁîµÄÀàÐÍÖµ)£º
0x03: poll interval
0x10: set up call
0x22: get inkey
0x23: get input
0x24: select item
0x26: provide local information
0x27: timer management
0x30: perform card apdu
0x31: power on card
0x33: get reader status
0x34: run at command
0x40: open channel
0x42: receive data
0x43: send data
0x44: get channel status
0x45: service search
0x46: get service information
È¡ÒÔÉÏÖµµÄʱºò²»ÄÜ˵Ã÷unionÒ»¶¨´æÔÚ*/
BYTE bUnionFg; /*±íʾunionÊÇ·ñ´æÔÚ*/
BYTE abPadding[3];
T_zPS_ApUicc_USAT_CmdDtls tCmd;
T_zPS_ApUicc_USAT_Result tRlt;
union {
T_zPS_ApUicc_USAT_Dura tDura; //poll interval
T_zPS_ApUicc_USAT_TxtStr tTxtStr; //get input
T_zPS_ApUicc_USAT_Inkey_Tr tInkey; //get inkey
BYTE bItemId; //select item
T_zPS_ApUicc_USAT_LocInfo tLocInfo; //provide local information
T_zPS_ApUicc_USAT_CallCtrl_Tr tCallCtrlAct; // set up call
T_zPS_ApUicc_USAT_Ussdctr_Tr tUssdctr ;
T_zPS_ApUicc_USAT_RdCardStatus tRCardStatus; //get reader status
T_zPS_ApUicc_USAT_CardAtr tCardAtr; //power on card
T_zPS_ApUicc_USAT_RApdu tRApdu; //perform card apdu
T_zPS_ApUicc_USAT_TimerInfo tTimerInfo; //timer management
T_zPS_ApUicc_USAT_AtRsp tAtRsp; //run at command
T_zPS_ApUicc_USAT_Chdata_Tr tChdata; //receive data or send data
T_zPS_ApUicc_USAT_ChnlStat_Tr tChnlStat; //get channel status
T_zPS_ApUicc_USAT_Opchl_Tr tOpChl; //open channel
T_zPS_ApUicc_USAT_SrvAvail tSrvAvl ; //service search
T_zPS_ApUicc_USAT_SrvRec tSrvRec ; //get service information
}uStruct;
}T_zPS_ApUicc_USAT_TerminalRsp_Req,
T_zApUicc_USAT_TerminalRsp_Req;
/*==============================================================================
½á¹¹£ºT_zPS_ApUicc_USAT_TermnlProfil_Req(MMIA-->UiccManager)
ʼþºÅ:
˵Ã÷: USATÖеÄTERMINAL PROFILE,¸ÃÏûÏ¢¶ÔÓ¦µÄ»Ø¸´ÏûϢʹÓÃT_zPS_ApUicc_USAT_Common_Cnf
==============================================================================*/
/*5.2 Structure and coding of TERMINAL PROFILE */
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bDownload ;
BYTE bOther ;
BYTE bProDispTxt ;
BYTE bProSelItem ;
BYTE bEnvtInfo ;
BYTE bEnvtExtn ;
BYTE bMultCard ;
BYTE bProTimer ;
BYTE bProLocInf;
BYTE bSoftKeySppt ;
BYTE bSoftKeyInfo ;
BYTE bProOChnnl ;
BYTE bProLocBear;
BYTE bScrnHeight;
BYTE bScrnWidth ;
BYTE bScrnEffect ;
BYTE bTransProtocl;
BYTE bProTimout;
BYTE bTxtAttrib1;
BYTE bTxtAttrib2;
BYTE bFactCode;
BYTE bPadding;
BYTE abRand[8];
}T_zPS_ApUicc_USAT_TermnlProfil_Req,
T_zApUicc_USAT_TermnlProfil_Req;
/*******************************************************************************
Ô­Óï: ZPS_ApUicc_ToReadCardReq_Ev(MMIA--->UiccManager)
¹¦ÄÜ: MMI֪ͨUICC¿É¼ÌÐø¶ÁÈ¡¿¨Êý¾Ý¡£¸ÃÏûÏ¢¶ÔÓ¦µÄ»Ø¸´ÏûϢʹÓÃT_zPS_ApUicc_Common_Cnf
¶ÔÓ¦µÄATÃüÁ+ZTRC(º¬Ò壺To Read Card)£¬ÄÚÈÝΪ¿Õ£¬·µ»Ø½á¹ûΪ£ºOK/CME ERROR
Ô­Óï: AP_UICC_AP_PWROFF_REQ_EV(MMIA--->UiccManager)
¹¦ÄÜ: MMIA֪ͨ¹Ø¿¨
ATÃüÁî: +cfun=5
*******************************************************************************/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
}T_zPS_ApUicc_ToReadCard_Req, T_zPS_ApUicc_ApPwrOff_Req,
T_zApUicc_ToReadCard_Req, T_zApUicc_ApPwrOff_Req;
/*==============================================================================
½á¹¹£ºTZPS_ApMmia_ProcmdInd_Ev(UiccManager--->MMIA)
ʼþºÅ:
˵Ã÷: USATÖеÄTERMINAL PROFILE,¸ÃÏûÏ¢¶ÔÓ¦µÄ»Ø¸´ÏûϢʹÓÃT_zPS_ApUicc_USAT_Common_Cnf
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
WORD wMsgType; /*ÃüÁîÀàÐÍ,ºêÖµ¶¨ÒåÏê¼ûUSATÃüÁîÀàÐÍÏà¹Øºê¶¨Òå*/
DWORD dwErrCode; /*½âÂëÖ´Ðнá¹û*/
PBYTE pBuffer; /*Ö÷¶¯Ê½ÃüÁî½á¹¹ÄÚÈÝ,¾ßÌå½á¹¹ÓÉwMsgType¾ö¶¨*/
}T_zPS_ApUicc_USAT_Procmd_Ind,
T_zApUicc_USAT_Procmd_Ind;
/*==============================================================================
T_zPS_ApMmia_EnvelopCmd_Req(MMIA--->UiccManager)
ʼþºÅ:
˵Ã÷: USATÖеÄEnvelopeÃüÁî
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
WORD wMsgType; /*ÃüÁîÀàÐÍ,ºêÖµ¶¨ÒåÏê¼ûUSATÃüÁîÀàÐÍÏà¹Øºê¶¨Òå*/
PBYTE pBuffer; /*EnvelopeÃüÁîÄÚÈÝ,¾ßÌå½á¹¹ÓÉwMsgType¾ö¶¨*/
}T_zPS_ApUicc_USAT_EnvelopCmd_Req,
T_zApUicc_USAT_EnvelopCmd_Req;
/*==============================================================================
ʼþºÅ:ZPS_ApUicc_NoprocNotifyInd_Ev(UiccManager--->MMIA)
˵Ã÷: USATÃüÁîÖ´Ðнá¹ûΪ9000ʱ£¬¾ùÉϱ¨´ËÏûÏ¢
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bIsBackToTopMenu;
BYTE bPadding;
}T_zPS_ApUicc_USAT_NoprocNotify_Ind,
T_zApUicc_USAT_NoprocNotify_Ind;
/*==============================================================================
T_zPS_ApMmia_EnvelopCmd_Cnf(UiccManager--->MMIA)
ʼþºÅ:
˵Ã÷: USATÖеÄEnvelopeÃüÁîµÄ»Ø¸´,ÆäÖÐÎÞЧӦÊý¾ÝÒÔÏûÏ¢T_zPS_ApUicc_USAT_Common_Cnf»Ø¸´
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
WORD wMsgType; /*ÃüÁîÀàÐÍ,ºêÖµ¶¨ÒåÏê¼ûUSATÃüÁîÀàÐÍÏà¹Øºê¶¨Òå*/
DWORD dwErrCode;
PBYTE pBuffer; /*EnvelopeÃüÁî»Ø¸´ÄÚÈÝ,¾ßÌå½á¹¹ÓÉwMsgType¾ö¶¨*/
}T_zPS_ApUicc_USAT_EnvelopCmd_Cnf,
T_zApUicc_USAT_EnvelopCmd_Cnf;
/****************************************************************************
Ô­Óï:T_zPS_ApUicc_Common_Cnf (UICC->MMIA)
¹¦ÄÜ:UICC ¶Ô²»´¦ÀíµÄÏûÏ¢µÄͳһ»Ø¸´
****************************************************************************/
typedef struct
{
BYTE bSrcIndex; /* The source index */
BYTE bDesIndex; /* The destination index*/
BYTE bResult; /* */
BYTE bChId; /* The logic channel id */
DWORD dwCause; /* ¶ÔÓ¦27007´íÎóÂ룬²ÎÕÕZ_APUICC_NO_CARDµÈ½á¹ûÂë */
}T_zPS_ApUicc_Common_Cnf,
T_zApUicc_Common_Cnf;
/*==============================================================================
Ô­ÓZPS_ApUicc_CardlockStatusInd_Ev
˵Ã÷: ָʾ¿¨±»Ëø»ò±»½âËø
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* 0xff */
BYTE bDesIndex; /* 0xff */
BYTE bStatus; /* ȡֵ:
ZPS_ApUicc_CardStatus_Lock
ZPS_ApUicc_CardStatus_Unlock
*/
BYTE bPadding;
} T_zPS_ApUicc_CardlockStatus_Ind,
T_zApUicc_CardlockStatus_Ind;
/*==============================================================================
Ô­ÓT_zPS_ApUicc_RefreshHappen_Ind
˵Ã÷: ָʾÓпÉÄܵ¼ÖÂIMSI µÈ±ØÑ¡Îļþ±ä»¯µÄREFRESH ÃüÁîÉϱ¨
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* 0xff */
BYTE bDesIndex; /* 0xff */
BYTE abPadding[2];
} T_zPS_ApUicc_RefreshHappen_Ind,
T_zApUicc_RefreshHappen_Ind;
/*==============================================================================
Ô­ÓT_zPS_ApUicc_AirAuth_Ind
˵Ã÷: °Ù¹ÈÍõ¶¨ÖÆÐèÇ󣬿ÕÖмøÈ¨Ö÷¶¯ÃüÁîÉϱ¨¡£UICCMNG to ATI
==============================================================================*/
typedef struct {
BYTE bSrcIndex; /* 0xff */
BYTE bDesIndex; /* 0xff */
BYTE bAuthParmLen; /*GSM ¼øÈ¨³¤¶ÈΪ16£¬USIM¼øÈ¨³¤¶È34*/
BYTE bPadding;
BYTE abAuthParm[Z_VCARD_AIR_AUTH_REQ_LEN];
BYTE abPadding2[2];
} T_zPS_ApUicc_AirAuth_Ind,
T_zApUicc_AirAuth_Ind;
/*==============================================================================
Ô­ÓT_zPS_ApUicc_AirAuthRsp_Ind
˵Ã÷: °Ù¹ÈÍõ¶¨ÖÆÐèÇ󣬿ÕÖмøÈ¨½á¹ûÏìÓ¦ ¡£ATI to UICCMNG
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bAuthRspLen; /*¿ÕÖмøÈ¨½á¹ûapduÂëÁ÷³¤¶È*/
BYTE bPadding;
BYTE abAuthRsp[Z_VCARD_AIR_AUTH_RSP_LEN];/*¿ÕÖмøÈ¨½á¹ûapduÂëÁ÷*/
} T_zPS_ApUicc_AirAuthRsp_Ind,
T_ApUicc_AirAuthRsp_Ind;
typedef struct {
BYTE bSrcIndex; /* 0xff */
BYTE bDesIndex; /* 0xff */
BYTE bDevKeyId;
BYTE bMsgCount;
PBYTE pbRstAddr;
} T_zPS_ApUicc_OprtPsdev_Ind,
T_zApUicc_OprtPsdev_Ind;
typedef struct {
BYTE bSrcIndex; /* 0xff */
BYTE bDesIndex; /* 0xff */
BYTE bDevKeyId;
BYTE bStartRec;
BYTE bEndRec;
BYTE bMsgCount;
BYTE abPadding[2];
PBYTE pbRstAddr;
} T_zPS_ApUicc_ReadDirectDev_Ind,
T_zApUicc_ReadDirectDev_Ind;
/*==============================================================================
Ô­ÓZPS_ApUicc_WriteItemInd_Ev
˵Ã÷: ͨ¹ýpsDev×é×°ÏûÏ¢£¬Í¨ÖªuiccMng½øÐÐÊý¾Ý¸üÐÂ
==============================================================================*/
typedef struct {
BYTE bUiccKeyId; /*¸üÐÂuiccÎļþid£¬È¡ÖµÏêΪpsCom.h*/
BYTE bRecNum; /*¸üÐÂÎļþ¼Ç¼ºÅ£¬µ±ÇÒ½öµ±¸üÐÂÎļþΪ¼Ç¼ÐÍʱÓÐЧ¡£*/
BYTE abPadding[2];
PBYTE pData; /*´ý¸üÐÂÎļþÄÚÈÝ£¬Îļþ½á¹¹Í¨¹ýbUiccKeyIdÇø·Ö£¬¾ßÌåȡֵΪʵ¼ÊʹÓõĸ÷id½á¹¹Ìå*/
}T_zPS_ApUicc_WriteItem_Ind, T_zPS_ApUicc_ItemData,
T_zApUicc_WriteItem_Ind, T_zApUicc_ItemData;
/*==============================================================================
Ô­ÓZPS_ApUicc_UpdateItemReq_Ev
˵Ã÷: ¸üÐÂÎļþÇëÇó
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bUiccIdNum; /*´ý¸üÐÂidÊýÄ¿*/
BYTE bPadding;
T_zPS_ApUicc_ItemData tItemData[ZPS_ApUicc_MAX_ITEM_NUM];
}T_zPS_ApUicc_UpdateItem_Req,
T_zApUicc_UpdateItem_Req;
/*==============================================================================
Ô­ÓZPS_ApUicc_UpdateItemCnf_Ev
˵Ã÷: ¸üÐÂÎļþÏìÓ¦
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bUiccIdNum; /*´ý¸üÐÂidÊýÄ¿*/
BYTE bPadding;
DWORD dwWriteResult[ZPS_ApUicc_MAX_ITEM_NUM];
/*Ö´Ðнá¹û£¬È¡Öµ²Î¼ûuicc½á¹ûÂ붨Òå
ZPS_ApUicc_UPDATE_OKµÈ*/
}T_zPS_ApUicc_UpdateItem_Cnf,
T_zApUicc_UpdateItem_Cnf;
/*==============================================================================
Ô­ÓZPS_ApUicc_VerifyPin2Req_Ev
˵Ã÷: ÇëÇóÑéÖ¤pin2,¿ÉÖ±½Óͨ¹ý±¾ÏûÏ¢ÑéÖ¤pin2
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
BYTE abPin[8]; /* PIN2Â룬ҪÇóÎÞЧ×Ö½ÚÌî³äΪ0xff */
}T_zPS_ApUicc_VerifyPin2_Req,
T_zApUicc_VerifyPin2_Req;
/*==============================================================================
Ô­ÓZPS_ApUicc_VerifyPin2Cnf_Ev
˵Ã÷: ÑéÖ¤pin2µÄ»Ø¸´ÏûÏ¢
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
DWORD dwResult; /* ȡֵ
ZPS_ApUicc_PIN_PASS
ZPS_ApUicc_PIN_INCORRECT
ZPS_ApUicc_NEED_UNBLPIN2
ZPS_ApUicc_CARD_WRONG
ZPS_ApUicc_NO_CARD
*/
}T_zPS_ApUicc_VerifyPin2_Cnf,
T_zApUicc_VerifyPin2_Cnf;
/*==============================================================================
Ô­ÓZPS_ApUicc_IncreaseReq_Ev (PSDEV->UICC)
˵Ã÷: psdev ÇëÇóincrease²Ù×÷
==============================================================================*/
typedef struct {
BYTE bUiccKeyId; /* psdevµÄkeyid£¬Ä¿Ç°½öÖ§³ÖACM */
BYTE abPading[3];
DWORD dwAccuCount; /* ¼Æ·ÑÔöÁ¿ */
} T_zPS_ApUicc_Increase_Req,
T_zApUicc_Increase_Req;
/*==============================================================================
Ô­ÓZPS_ApUicc_IncreaseAcmFailInd_Ev (UICC->CC)
˵Ã÷: increase acmʧ°ÜÉϱ¨¸øCC
==============================================================================*/
/*¿Õ½á¹¹*/
/*==============================================================================
Ô­ÓZPS_ApUicc_ResetAcmReq_Ev (MMIA->UICC)(T_zPS_ApUicc_Common_Cnf »Ø¸´)
˵Ã÷: Óû§ÇëÇóÇå¿Õacm
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bUiccKeyId; /* psdevµÄkeyid£¬Ä¿Ç°½öÖ§³ÖACM */
BYTE bPadding;
} T_zPS_ApUicc_ResetAcm_Req,
T_zApUicc_ResetAcm_Req;
/*==============================================================================
Ô­ÓZPS_ApUicc_ZpukReq_Ev(MMIA->UICCMng)
˵Ã÷: PUKÑéÖ¤¹¦ÄÜ
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bFac; /*
* ZPS_ApUicc_PIN1TYPE:SIM PUK;
* ZPS_ApUicc_PIN2TYPE:SIM PUK2
*/
BYTE bChId;
BYTE abPuk[ZPS_ApUicc_MAX_PIN_NUM];
BYTE abPin[ZPS_ApUicc_MAX_PIN_NUM];
}T_zPS_ApUicc_Zpuk_Req,
T_zApUicc_Zpuk_Req;
/*==============================================================================
Ô­ÓAP_UICC_ATR_IND_EV(UICCMng->MMIA)
˵Ã÷: Éϱ¨ATRÐÅÏ¢
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bLength;
BYTE bPadding;
BYTE abAtr[Z_APUICC_ATR_MAXLEN];
BYTE abPadding[2];
}T_zPS_ApUicc_Atr_Ind,
T_zApUicc_Atr_Ind;
/*==============================================================================
Ô­ÓAP_UICC_CSIM_REQ_EV(MMIA->UICCMng)
˵Ã÷: +csim/+ZSIMÇëÇóÏûÏ¢
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bSeq;
BYTE bSeqFg;
DWORD dwLength;
BYTE abApdu[Z_APUICC_APDU_REQ_MAXLEN];
BYTE bAtType;//0-Z_APUICC_ATCMD_CSIM,1-Z_APUICC_ATCMD_ZSIM
BYTE bPadding;
} T_zPS_ApUicc_Csim_Req,
T_zApUicc_Csim_Req;
/*==============================================================================
Ô­ÓAP_UICC_CSIM_CNF_EV(UICCMng->MMIA)
˵Ã÷: +csim/+ZSIM»Ø¸´ÏûÏ¢
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bSeq;
BYTE bSeqFg;
DWORD dwLength;
BYTE abApdu[Z_APUICC_APDU_CNF_MAZLEN];
BYTE abPadding[2];
} T_zPS_ApUicc_Csim_Cnf,
T_zApUicc_Csim_Cnf;
/*==============================================================================
Ô­ÓZPS_ApUicc_RefreshReq_Ev(MMIA->UICCMng)(T_zPS_ApUicc_Common_Cnf »Ø¸´)
˵Ã÷: Refresh ¹¦ÄÜ
==============================================================================*/
typedef struct{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
T_zApUicc_USAT_RefreshCmd tRefresh;
}T_zPS_ApUicc_Refresh_Req,
T_zApUicc_Refresh_Req;
/*==============================================================================
Ô­ÓZPS_ApUicc_FileChange_Ind_EV(UICCMng->STM)
˵Ã÷: ֪ͨSTMÎļþ¸üÐÂÁбí
==============================================================================*/
typedef struct{
BYTE bFullChangeFg;
BYTE bKeyIdNum;
BYTE bPadding1[2];
WORD awKeyIdList[Z_APUICC_MAX_FILE_NUM];
BYTE bSmPbKeyIdNum;
BYTE bApPbKeyIdNum;
BYTE bPadding2[2];
WORD awSmPbKeyIdList[Z_APUICC_MAX_SMPB_NUM];
WORD awApPbKeyIdList[Z_APUICC_MAX_APPB_NUM];
}T_zPS_ApUicc_FileChange_Ind,
T_zApUicc_FileChange_Ind;
/*==============================================================================
Ô­Ó AP_UICC_CCHO_REQ_EV (ATI->UICCMNG)
˵Ã÷: +CCHO ´ò¿ªÂß¼­Í¨µÀ
==============================================================================*/
typedef struct{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bAidLen;
BYTE bPadding;
BYTE abAid[Z_APUICC_MAX_DIRAID_LEN];
}T_zPS_ApUicc_Ccho_Req,
T_zApUicc_Ccho_Req;
/*==============================================================================
Ô­Ó AP_UICC_CCHO_CNF_EV (UICCMNG->ATI)
˵Ã÷: »Ø¸´Âß¼­Í¨µÀºÅ
==============================================================================*/
typedef struct{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bSessionID; /* ¶ÔÓ¦ÓÚÓ¦ÓõÄÂß¼­Í¨µÀºÅ */
BYTE bPadding;
}T_zPS_ApUicc_Ccho_Cnf,
T_zApUicc_Ccho_Cnf;
/*==============================================================================
Ô­Ó AP_UICC_CCHC_REQ_EV (ATI->UICCMNG) (T_zPS_ApUicc_Common_Cnf »Ø¸´)
˵Ã÷: ¹Ø±ÕÂß¼­Í¨µÀ
==============================================================================*/
typedef struct{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bSessionID; /* ¶ÔÓ¦ÓÚÓ¦ÓõÄÂß¼­Í¨µÀºÅ */
BYTE bPadding;
}T_zPS_ApUicc_Cchc_Req,
T_zApUicc_Cchc_Req;
/*==============================================================================
Ô­Ó AP_UICC_CCHC_CNF_EV (UICCMNG->ATI)
˵Ã÷: »Ø¸´¹Ø±ÕÂß¼­Í¨µÀºÅ
==============================================================================*/
typedef struct{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
}T_zApUicc_Cchc_Cnf;
/*==============================================================================
Ô­Ó AP_UICC_CGLA_REQ_EV (ATI->UICCMNG)
˵Ã÷: Ö´Ðп¨ÃüÁî
==============================================================================*/
typedef struct{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bSessionID;
BYTE bPadding;
DWORD dwLength;
BYTE abApdu[Z_APUICC_APDU_REQ_MAXLEN];
BYTE abPadding[2];
}T_zPS_ApUicc_CGla_Req,
T_zApUicc_CGla_Req;
/*==============================================================================
Ô­Ó AP_UICC_CGLA_CNF_EV (UICCMNG->ATI)
˵Ã÷: Ö´Ðп¨ÃüÁîÏìÓ¦
==============================================================================*/
typedef struct
{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding1[2];
DWORD dwLength;
BYTE abApdu[Z_APUICC_APDU_CNF_MAZLEN];
BYTE abPadding2[2];
} T_zPS_ApUicc_CGla_Cnf,
T_zApUicc_CGla_Cnf;
/*==============================================================================
Ô­ÓZPS_ApUicc_Crsm_Req_EV(ATI->UICCMng)
˵Ã÷: +CRSMÇëÇóÏûÏ¢
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bFidFg;
BYTE bParamFg;
BYTE bCmd;
BYTE bP1;
BYTE abFid[2];
BYTE bP2;
BYTE bP3;
BYTE bDataLen;
BYTE bPathLen;
BYTE abData[ZPS_ApUicc_MAX_CRSMREQDATA_LEN]; /* The terminal may send from 1 to 255 bytes of command data */
BYTE bChId;
BYTE abPath[ZPS_ApUicc_MAX_PATH_LEN];
} T_zPS_ApUicc_Crsm_Req,
T_zApUicc_Crsm_Req;
/*==============================================================================
Ô­ÓZPS_ApUicc_Crsm_Cnf_EV(UICCMng->MMIA)
˵Ã÷: +CRSM»Ø¸´ÏûÏ¢
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE bSw1;
BYTE bSw2;
BYTE abRsp[ZPS_ApUicc_MAX_CRSMCNFDATA_LEN]; /* The UICC may return any number of bytes in the range 1 to 256. */
WORD wRspLen;
BYTE bChId;
BYTE bPadding;
} T_zPS_ApUicc_Crsm_Cnf,
T_zApUicc_Crsm_Cnf;
/*==============================================================================
Ô­ÓZPS_ApUicc_USAT_Fetch_Ind_EV(UICCMng->MMIA)
˵Ã÷: +CRSM»Ø¸´ÏûÏ¢
==============================================================================*/
typedef struct {
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding1[2];
DWORD dwLength;
BYTE abApdu[ZPS_ApUicc_APDU_CNF_MAXLEN];
BYTE abPadding2[2];
} T_zPS_ApUicc_USAT_Fetch_Ind,
T_zApUicc_USAT_Fetch_Ind;
/**************************************************************************
* º¯Êý½Ó¿Ú *
**************************************************************************/
/*==================================================================
º¯ÊýÃû³Æ: zApUicc_GetEfInfoProc
º¯Êý¹¦ÄÜ: »ñÈ¡Îļþ³¤¶È¡¢¼Ç¼ÊýÐÅÏ¢
Êä Èë:
bPsIdx ЭÒéÕ»ºÅ£¬È¡Öµ0,1
wKeyid Îļþ¶ÔÓ¦µÄkeyid
Êä ³ö:
pbRecNum Îļþ¼Ç¼Êý£¬Ö¸Õë²»¿ÉΪ¿Õ£¬µ÷ÓÃÕßÉêÇëÄÚ´æ
pwRecLen ¼Ç¼³¤¶È£¬Ö¸Õë²»¿ÉΪ¿Õ£¬µ÷ÓÃÕßÉêÇëÄÚ´æ
·µ »Ø:
¶¯×÷½á¹û£¬È¡Öµ²ÎÕպ궨ÒåZ_APUICC_CMD_OKµÈ
==================================================================*/
DWORD zApUicc_GetEfInfoProc(BYTE bPsIdx, WORD wKeyid, PBYTE pbRecNum, PWORD pwRecLen);
/*==================================================================
º¯ÊýÃû³Æ: zApUicc_ReadFileProc
º¯Êý¹¦ÄÜ: ͨ¹ýkeyid¶ÁÈ¡Îļþ£¬¶þ½øÖÆÎļþ£¬»òÕ߼ǼÐÍÎļþ¼Ç¼
Êä Èë:
bPsIdx ЭÒéÕ»ºÅ£¬È¡Öµ0,1
wKeyid Îļþ¶ÔÓ¦µÄkeyid
bRecId ÒªÇó¶ÁÈ¡µÄ¼Ç¼ÐòºÅ
pwValLen ÉêÇëpValÄÚ´æµÄ´óС£¬×Ö½ÚÊý
Êä ³ö:
pwValLen ¶ÁÈ¡ÄÚÈݵÄ×Ö½Ú³¤¶È£¬Ö¸Õë²»¿ÉΪ¿Õ£¬µ÷ÓÃÕßÉêÇëÄÚ´æ
pVal ¶ÁÈ¡ÄÚÈÝ£¬ÒԽṹÌå´æÔÚ£¬Ö¸Õë²»¿ÉΪ¿Õ£¬µ÷ÓÃÕßÉêÇëÄÚ´æ
·µ »Ø:
¶¯×÷½á¹û£¬È¡Öµ²ÎÕպ궨ÒåZ_APUICC_CMD_OKµÈ
µ±·µ»ØÖµÎªOKʱ£¬Êä³öÓÐЧ.
==================================================================*/
DWORD zApUicc_ReadFileProc(BYTE bPsIdx, WORD wKeyid, BYTE bRecId, PWORD pwValLen, PBYTE pVal);
/*==================================================================
º¯ÊýÃû³Æ: zApUicc_UpdateFileProc
º¯Êý¹¦ÄÜ: ͨ¹ýkeyid¸üÐÂÎļþ£¬¶þ½øÖÆÎļþ£¬»òÕ߼ǼÐÍÎļþ¼Ç¼
Êä Èë:
bPsIdx ЭÒéÕ»ºÅ£¬È¡Öµ0,1
wKeyid Îļþ¶ÔÓ¦µÄkeyid
bRecId ÒªÇó¶ÁÈ¡µÄ¼Ç¼ÐòºÅ
wValLen ¸üÐÂÄÚÈݵÄ×Ö½Ú³¤¶È
pVal ¸üÐÂÄÚÈÝ£¬ÒԽṹÌå´æÔÚ£¬Ö¸Õë²»¿ÉΪ¿Õ£¬µ÷ÓÃÕßÉêÇëÄÚ´æ
Êä ³ö:
NONE
·µ »Ø:
¶¯×÷½á¹û£¬È¡Öµ²ÎÕպ궨ÒåZ_APUICC_CMD_OKµÈ
==================================================================*/
DWORD zApUicc_UpdateFileProc(BYTE bPsIdx, WORD wKeyid, BYTE bRecId, WORD wValLen, const PBYTE pVal);
/*==================================================================
º¯ÊýÃû³Æ: zApUicc_SearchPsnlRecProc
º¯Êý¹¦ÄÜ: ËÑË÷Îļþ¿Õ¼Ç¼ÐòºÅ
Êä Èë:
bPsIdx ЭÒéÕ»ºÅ£¬È¡Öµ0,1
wKeyid Îļþ¶ÔÓ¦µÄkeyid
Êä ³ö:
pbFreeRecNum ¿Õ¼Ç¼ÊýÄ¿
pFreeRec ¿Õ¼Ç¼½á¹û£¬×î¶àΪ Z_APUICC_MAX_FREEREC_NUM ¸ö
Ö¸Õë²»¿ÉΪ¿Õ£¬µ÷ÓÃÕßÉêÇëÄÚ´æ
·µ »Ø:
NONE
˵ Ã÷:
3GʵÏÖÏÂÊöÎļþ²éÕÒ£º²éÕÒÄ£°å¾ùÑϸñ°´ÕÕ31102¸½Â¼ÖÐ pre-personalizationÖµ
Z_APUICC_KEYID_SMS, Z_APUICC_KEYID_SMSR, Z_APUICC_KEYID_FDN,
Z_APUICC_KEYID_MSISDN, Z_APUICC_KEYID_PB_EXT1 , Z_APUICC_KEYID_EXT2,
Z_APUICC_KEYID_EXT5, Z_APUICC_KEYID_PB_UID_1, Z_APUICC_KEYID_PB_ADN_1,
Z_APUICC_KEYID_PB_IAP_1, Z_APUICC_KEYID_PB_PBC_1, Z_APUICC_KEYID_PB_GRP_1,
Z_APUICC_KEYID_PB_ANRA_1, Z_APUICC_KEYID_PB_ANRB_1, Z_APUICC_KEYID_PB_ANRC_1,
Z_APUICC_KEYID_PB_SNE_1, Z_APUICC_KEYID_PB_EMAIL_1,Z_APUICC_KEYID_PB_UID_2,
Z_APUICC_KEYID_PB_ADN_2, Z_APUICC_KEYID_PB_IAP_2, Z_APUICC_KEYID_PB_PBC_2,
Z_APUICC_KEYID_PB_GRP_2, Z_APUICC_KEYID_PB_ANRA_2, Z_APUICC_KEYID_PB_ANRB_2,
Z_APUICC_KEYID_PB_ANRC_2, Z_APUICC_KEYID_PB_SNE_2, Z_APUICC_KEYID_PB_EMAIL_2,
Z_APUICC_KEYID_PB_UID_3, Z_APUICC_KEYID_PB_ADN_3, Z_APUICC_KEYID_PB_IAP_3,
Z_APUICC_KEYID_PB_PBC_3, Z_APUICC_KEYID_PB_GRP_3, Z_APUICC_KEYID_PB_ANRA_3,
Z_APUICC_KEYID_PB_ANRB_3, Z_APUICC_KEYID_PB_ANRC_3, Z_APUICC_KEYID_PB_SNE_3,
Z_APUICC_KEYID_PB_EMAIL_3,
==================================================================*/
DWORD zApUicc_SearchPsnlRecProc(BYTE bPsIdx, WORD wKeyid, PBYTE pbFreeRecNum, PBYTE pFreeRec, BYTE bSearchFlg);
/*==================================================================
º¯ÊýÃû³Æ: zApUicc_SearchPattnRecProc
º¯Êý¹¦ÄÜ: ËÑË÷·ûºÏÊäÈëpatternµÄ¼Ç¼ÐòºÅ
Êä Èë:
bPsIdx ЭÒéÕ»ºÅ£¬È¡Öµ0,1
wKeyid Îļþ¶ÔÓ¦µÄkeyid
bPattnLen pattern ³¤¶È,×î´óΪZ_APUICC_MAX_PATTERN_NUM
pPattnVal pattern ×Ö½ÚÁ÷£¬Ö¸Õë²»¿ÉΪ¿Õ£¬µ÷ÓÃÕßÉêÇëÄÚ´æ
Êä ³ö:
pbAccrdNum ·ûºÏÌõ¼þ¼Ç¼ÊýÄ¿
pAccrdVal ·ûºÏÌõ¼þ¼Ç¼½á¹û£¬×î¶àΪ Z_APUICC_MAX_ACCORDREC_NUM ¸ö,
Ö¸Õë²»¿ÉΪ¿Õ£¬µ÷ÓÃÕßÉêÇëÄڴ棬ÉêÇëÄÚ´æ´óСΪZ_APUICC_MAX_ACCORDREC_NUM
·µ »Ø:
NONE
==================================================================*/
VOID zApUicc_SearchPattnRecProc(BYTE bPsIdx, WORD wKeyId, BYTE bPattnLen, const PBYTE pPattnVal,
PBYTE pbAccrdNum, PBYTE pAccrdVal);
/*==================================================================
º¯ÊýÃû³Æ: zApUicc_VerifyPin2Proc
º¯Êý¹¦ÄÜ: ÑéÖ¤pin2£¬ÎÞǰÖÃÌõ¼þ
Êä Èë:
bPsIdx ЭÒéÕ»ºÅ£¬È¡Öµ0,1
pPinCod PINÂ룬×î¶àZ_APUICC_MAX_PIN_NUM ¸ö×Ö½Ú
Êä ³ö:
NONE
·µ »Ø:
¶¯×÷½á¹û£¬È¡Öµ²ÎÕպ궨ÒåZ_APUICC_CMD_OKµÈ
==================================================================*/
DWORD zApUicc_VerifyPin2Proc(BYTE bPsIdx, const PBYTE pPinCod);
/*==================================================================
º¯ÊýÃû³Æ: zApUicc_QueryEfStatusProc
º¯Êý¹¦ÄÜ: ²éѯÎļþµÄ¼¤»î״̬
Êä Èë:
bPsIdx ЭÒéÕ»ºÅ£¬È¡Öµ0,1
wKeyid Îļþ¶ÔÓ¦µÄkeyid
Êä ³ö:
NONE
·µ »Ø:
Îļþ״̬£¬È¡Öµ:
Z_APUICC_EFSTATUS_INVALID δ¼¤»î
Z_APUICC_EFSTATUS_REHAB ¼¤»î
Z_APUICC_EFSTATUS_ERROR »ñȡʧ°Ü
˵ Ã÷:
º¯Êý½ö´¦ÀísimÓ¦ÓÃÏÂ(ADNºÍBDN)
==================================================================*/
BYTE zApUicc_QueryEfStatusProc(BYTE bPsIdx, WORD wKeyid);
/*==================================================================
º¯ÊýÃû³Æ: zApUicc_ModifyEfStatusProc
º¯Êý¹¦ÄÜ: ÐÞ¸ÄÎļþ״̬
Êä Èë:
bPsIdx ЭÒéÕ»ºÅ£¬È¡Öµ0,1
wKeyid Îļþ¶ÔÓ¦µÄkeyid
bMode ÐÞ¸ÄÀàÐÍ£¬È¡Öµ:
Z_APUICC_EFSTATUS_INVALID δ¼¤»î
Z_APUICC_EFSTATUS_REHAB ¼¤»î
Êä ³ö:
NONE
·µ »Ø:
¶¯×÷½á¹û£¬È¡Öµ²ÎÕպ궨ÒåZ_APUICC_CMD_OKµÈ
˵ Ã÷:
º¯Êý½ö´¦ÀísimÓ¦ÓÃÏÂ(ADNºÍBDN)
==================================================================*/
DWORD zApUicc_ModifyEfStatusProc(BYTE bPsIdx, WORD wKeyid, BYTE bMode);
/*==================================================================
º¯ÊýÃû³Æ: zApUicc_HasRecCache
º¯Êý¹¦ÄÜ: ÅжÏÎļþ¼Ç¼ÊÇ·ñÓÐcache
Êä Èë:
bPsIdx ЭÒéÕ»ºÅ£¬È¡Öµ0,1
wKeyid Îļþ¶ÔÓ¦µÄkeyid
bRecId ¼Ç¼Ë÷Òý
Êä ³ö:
NONE
·µ »Ø:
0 ²»´æÔÚ£¬ 1´æÔÚ
˵ Ã÷:
==================================================================*/
BYTE zApUicc_HasRecCache(BYTE bPsIdx, WORD wKeyid, BYTE bRecId);
/*****************************************************************************
* º¯ÊýÃû £ºzUiccmng_GetIsimChId
* ¹¦ÄÜ £º»ñÈ¡isimÓ¦ÓöÔÓ¦µÄͨµÀid
* ÊäÈë²ÎÊý £ºtTaskIdx - ЭÒéջʵÀýºÅ£¬È¡Öµ0 or 1.
* Êä³ö²ÎÊý £ºÎÞ
* ·µ»ØÖµËµÃ÷£ºÎÞ
* ÆäËû˵Ã÷ £º
*****************************************************************************/
extern BYTE zUiccmng_GetIsimChId(BYTE tTaskIdx);
/* ==================================================================
º¯ÊýÃû³Æ: zDev_ReadNV_UiccItem
º¯Êý¹¦ÄÜ:»ñÈ¡NVÖд洢µÄµ¥¿¨Ë«´ýTD/LTEÒ»²à¿¨Ïà¹Ø²ÎÊý
·µ »Ø:Z_APUICC_CMD_OK±íʾ³É¹¦
×¢ ÊÍ:
================================================================== */
extern DWORD zDev_ReadNV_UiccItem(BYTE bUiccKeyId, BYTE bStartRec, BYTE bEndRec,PBYTE pValBuf);
/* ==================================================================
º¯ÊýÃû³Æ: zDev_WriteNV_UiccItem
º¯Êý¹¦ÄÜ:дÈëNVÖд洢µÄµ¥¿¨Ë«´ýTD/LTEÒ»²à¿¨Ïà¹Ø²ÎÊý
·µ »Ø:ÎÞ
×¢ ÊÍ:
================================================================== */
extern VOID zDev_WriteNV_UiccItem(BYTE bUiccKeyId, BYTE bStartRec, BYTE bEndRec,PBYTE pValBuf);
/* ============================================================================
º¯ÊýÃû³Æ: zPS_dev_ReadItem_NoBackup
º¯Êý¹¦ÄÜ: Ñϸñ±£Ö¤¶ÁÈ¡/¸üнá¹ûºÍ¿¨Ò»ÖÂ
Êä Èë: bUiccKeyId
bStartRec Æðʼ¼Ç¼ºÅ, ´Ó1¿ªÊ¼
bEndRec ÖÕÖ¹¼Ç¼ºÅ, ´Ó1¿ªÊ¼
Êä ³ö£º pValBuf Êý¾ÝÄÚ´æÖ¸Õ룬Óɵ÷ÓÃÕßÉêÇëÄÚ´æ
·µ »Ø£º DWORD
×¢ ÊÍ£º Ŀǰmmiaµ÷Óà _Rec±êʶµÄΪ¼Ç¼ÐÍÎļþ£¬bStartRec£¬bEndRec°´ÈçÉÏÌîд
ÆäËüµÄΪ¶þ½øÖÆÎļþ£¬ÌîдbStartRec=1£¬bEndRec=1
-------------------------------------------------------------------------------
ÐÞ¸ÄÈÕÆÚ °æ±¾ ÐÞ¸ÄÈË ÐÞ¸ÄÔ­Òò¼°ÄÚÈÝ
=============================================================================== */
extern DWORD zDev_ReadItem_NoBackup(BYTE bUiccKeyId, BYTE bStartRec, BYTE bEndRec, PBYTE pValBuf,BYTE bIndex);
/* ==================================================================
º¯ÊýÃû³Æ: zDev_UiccSave
º¯Êý¹¦ÄÜ: ½«¿¨ÉÏÎļþÄÚÈÝ»º´æÖÁÊý¾ÝÇø£¬¸Ãº¯Êý½öÌṩ¸øuiccMngʹÓÃ.
Êä Èë: BYTE bUiccKeyId, ÐèÒª»º´æµÄUICCÎļþÔÚPSDEVÖеÄID£¬¶ø²»ÊÇUICCÄ£¿éµÄKEYID
BYTE bMaxRec, ×î´ó¼Ç¼Êý£¬Èç¹ûÊǶþ½øÖÆÎļþ£¬ÔòΪ1.
PBYTE pValBuf,Êý¾ÝÇøÖ¸Õë¶þ½øÖÆÎļþ´æ·Åij¸öÎļþµÄÊý¾Ý½á¹¹;
¼Ç¼Îļþ´æ·ÅÎļþµÄÿһÌõ¼Ç¼£¬°´ÐòÅÅÁÐ.
Êä ³ö: ÎÞ
·µ »Ø: Z_FAIL,Z_SUCC
×¢ ÊÍ: ´Ëº¯Êý½Ó¿ÚÖ»Ìṩ¸øUICCÄ£¿éµ÷ÓÃ
----------------------------------------------------------------------
ÐÞ¸ÄÈÕÆÚ °æ±¾ ÐÞ¸ÄÈË ÐÞ¸ÄÔ­Òò¼°ÄÚÈÝ
================================================================== */
extern BYTE zDev_UiccSave(BYTE bUiccKeyId, BYTE bMaxRec, PBYTE pValBuf,BYTE bIndex);
/* ==================================================================
º¯ÊýÃû³Æ: zDev_UiccGetCardAppType
º¯Êý¹¦ÄÜ: »ñÈ¡uiccÊý¾ÝÇøµÄbCardAppType
Êä Èë:
Êä ³ö:
·µ »Ø:BYTE
×¢ ÊÍ:
----------------------------------------------------------------------
ÐÞ¸ÄÈÕÆÚ °æ±¾ ÐÞ¸ÄÈË ÐÞ¸ÄÔ­Òò¼°ÄÚÈÝ
================================================================== */
extern BYTE zDev_UiccGetCardAppType (BYTE bIndex);
/* ============================================================================
º¯ÊýÃû³Æ: zPS_dev_GetRecNum
º¯Êý¹¦ÄÜ: »ñÈ¡¿¨ÉϼǼÎļþµÄ¼Ç¼¸öÊý
Êä Èë: BYTE bUiccKeyId
BYTE bPsId, ´ý»úЭÒéÕ»ºÅ£¬ÓÐЧֵΪ0£¬1
Êä ³ö£º ÎÞ
·µ »Ø£º ¼Ç¼Êý: ¶þ½øÖÆ 1 £»¼Ç¼ÐÍ >=1 £»Òì³£ 0
×¢ ÊÍ£º
-------------------------------------------------------------------------------
ÐÞ¸ÄÈÕÆÚ °æ±¾ ÐÞ¸ÄÈË ÐÞ¸ÄÔ­Òò¼°ÄÚÈÝ
=============================================================================== */
extern BYTE zDev_GetRecNum(BYTE bUiccKeyId, BYTE bPsId);
extern VOID zDev_SetSv(BYTE bIndex);
/**************************************************************************
* stmÓÃÓÚÐÅÁî¸ú×ÙµÄ½Ó¿Ú *
**************************************************************************/
/*==============================================================================
Ô­ÓApUicc_GetInfoReq_Ev
˵Ã÷: Êý¾Ý¿âÄ£¿éÏò¿¨¶ÁÈ¡µç»°±¾»ò¶ÌÏûÏ¢¼Ç¼Êý
Ô­ÓZPS_ApUicc_PrePersonRecSearchReq_Ev
˵Ã÷: ²éÕҼǼÐÍÎļþÖзûºÏЭÒé pre-personalization½¨ÒéÖµËùÓмǼºÅ
Ô­ÓZPS_ApUicc_EfStatusQueryReq_Ev
˵Ã÷: ²éѯÎļþ״̬£¬¼´invalidate/rehabilitate£¬¸Ãº¯Êý½öÕë¶ÔsimÓ¦ÓÃÏÂ(ADNºÍBDN)ʵÏÖ
==============================================================================*/
typedef struct{
WORD wKeyId; /*keyid*/
BYTE abPadding[2];
}T_zApUicc_GetInfo_Req, T_zApUicc_PrePersnRecSrch_Req, T_zApUicc_EfStatusQuery_Req;
/*==============================================================================
Ô­ÓApUicc_GetInfoCnf_Ev
˵Ã÷: Êý¾Ý¿âÄ£¿éÏò¿¨¶ÁÈ¡µç»°±¾»ò¶ÌÏûÏ¢¼Ç¼ÊýµÄÏìÓ¦
==============================================================================*/
typedef struct{
WORD wKeyId; /*keyid*/
BYTE bRecNum; /*Record Number*/
BYTE bRecLength; /*Record length*/
DWORD dwStatus;
}T_zApUicc_GetInfo_Cnf;
/*==============================================================================
Ô­ÓZPS_ApUicc_PrePersnRecSrchCnf_Ev
˵Ã÷: ²éÕҼǼÐÍÎļþÖзûºÏЭÒé pre-personalization½¨ÒéÖµËùÓмǼºÅ
==============================================================================*/
typedef struct {
WORD wKeyId;
BYTE bFreeRecNum; /*²éÕÒµ½µÄÂú×ãpre-personalization½¨ÒéÖµ¼Ç¼ÊýÊý×éÖÐÓÐЧ³¤¶È£¬²éÕÒʧ°ÜÔò³¤¶ÈΪ0*/
BYTE bPadding1;
BYTE abFreeRec[ZPS_ApUicc_MAX_FREEREC_NUM]; /*²éÕÒµ½µÄÂú×ãpre-personalization½¨ÒéÖµ¼Ç¼Êý*/
BYTE bPadding2;
}T_zApUicc_PrePersnRecSrch_Cnf;
/*==============================================================================
Ô­ÓZPS_ApUicc_PbSearchReq_Ev
˵Ã÷: °´Ö¸¶¨pattern²éÕÒ·ûºÏµÄ¼Ç¼ºÅ,½öÏÞ3G¿¨
==============================================================================*/
typedef struct {
WORD wKeyId;
BYTE bPatternLen;
BYTE bPadding1;
BYTE abPattern[ZPS_ApUicc_MAX_PATTERN_NUM];
BYTE bPadding2;
}T_zApUicc_PbSearch_Req;
/*==============================================================================
Ô­ÓZPS_ApUicc_PbSearchCnf_Ev
˵Ã÷: °´Ö¸¶¨ÄÚÈݲéÕÒµ½µÄËùÓмǼ
==============================================================================*/
typedef struct {
WORD wKeyId;
BYTE bAccordNum;
BYTE bPadding1;
BYTE abAccordRec[ZPS_ApUicc_MAX_ACCORDREC_NUM];
BYTE bPadding2;
}T_zApUicc_PbSearch_Cnf;
/*==============================================================================
Ô­ÓZPS_ApUicc_EfStatusQueryCnf_Ev
˵Ã÷: ²éѯÎļþ״̬ÏìÓ¦£¬¼´invalidate/rehabilitate£¬¸Ãº¯Êý½öÕë¶ÔsimÓ¦ÓÃÏÂ(ADNºÍBDN)ʵÏÖ
==============================================================================*/
typedef struct {
BYTE bEfStatus; /*
ZPS_ApUicc_EfStatus_INVALID Îļþinvalidate
ZPS_ApUicc_EfStatus_REHAB Îļþrehabilitate
ZPS_ApUicc_EfStatus_ERROR ²éѯ´íÎó*/
BYTE abPadding[3];
}T_zApUicc_EfStatusQuery_Cnf;
/*==============================================================================
Ô­ÓZPS_ApUicc_EfStatusModifyReq_Ev
˵Ã÷: ¸ü¸ÄÎļþ״̬£¬Ê¹Îļþinvalidate/rehabilitate,¸Ãº¯Êý½öÕë¶ÔsimÓ¦ÓÃÏÂ(ADNºÍBDN)ʵÏÖ
==============================================================================*/
typedef struct {
WORD wKeyId;
BYTE bMode; /*ZPS_ApUicc_EfStatusModify_INVALID ʹÎļþinvalidate
ZPS_ApUicc_EfStatusModify_REHAB ʹÎļþrehabilitate*/
BYTE bPadding;
}T_zApUicc_EfStatusModify_Req;
/*==============================================================================
Ô­ÓZPS_ApUicc_EfStatusModifyCnf_Ev
˵Ã÷: ¸ü¸ÄÎļþ״̬ÏìÓ¦,¸Ãº¯Êý½öÕë¶ÔsimÓ¦ÓÃÏÂ(ADNºÍBDN)ʵÏÖ
==============================================================================*/
typedef struct {
DWORD dwErrCode; /*Ö´Ðнá¹ûÂ룬²Î¼ûuiccÍ·Îļþ¶¨Òå*/
}T_zApUicc_EfStatusModify_Cnf;
/*==============================================================================
Ô­ÓAP_UICC_READ_EID_REQ_EV(ATI->UiccMnger)
˵Ã÷: ATIÇëÇó¶ÁÈ¡¿¨ÖеÄEID Îļþ
==============================================================================*/
typedef struct{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abPadding[2];
}T_zPS_ApUicc_Read_Eid_Req,
T_zApUicc_Read_Eid_Req;
/*==============================================================================
Ô­ÓAP_UICC_READ_EID_CNF_EV(UiccManager->ATII)
˵Ã÷: ¶ÁÇëÇóµÄÏìÓ¦
==============================================================================*/
typedef struct{
BYTE bSrcIndex;
BYTE bDesIndex;
BYTE abEid[Z_APUICC_EID_LEN];
}T_zPS_ApUicc_Read_Eid_Cnf,
T_zApUicc_Read_Eid_Cnf;
#endif /* AP_UICC_INTERFACE_H */