📄 m_sat.val
字号:
*/
#define RSLT_PERF_SUCCESS (0x0) /* Command performed successfully */
#define RSLT_PERF_PART_CMPR (0x1) /* Command performed with partial comprehension */
#define RSLT_PERF_MISS_INFO (0x2) /* Command performed with missing information */
#define RSLT_RFSH_ADD_EF (0x3) /* Refresh performed with additional EF read */
#define RSLT_PERF_MDFY_SIM (0x5) /* Command performed but modified by SIM */
#define RSLT_PERF_LIM_SRV (0x6) /* Command performed successfully, limited service */
#define RSLT_PERF_MDFIED (0x7) /* Command performed with modification (class e) */
#define RSLT_SESS_USR_TERM (0x10) /* Proactive SIM session terminated by user */
#define RSLT_SESS_USR_BACK (0x11) /* Backward move in proactive SIM session */
#define RSLT_NO_RESP (0x12) /* No response from user */
#define RSLT_HELP_USR_REQ (0x13) /* Help information required by user */
#define RSLT_USER_TERM_SS (0x14) /* SS or USSD transaction terminated by user */
#define RSLT_ME_UNAB_PROC (0x20) /* ME is unable to process command */
#define RSLT_NTW_UNAB_PROC (0x21) /* Network is unable to process command */
#define RSLT_USR_REJ (0x22) /* User did not accept set up request */
#define RSLT_USR_CLR_DWN (0x23) /* User cleared down call before connection or network release */
#define RSLT_CC_SIM_TMP (0x25) /* Interaction with call control by SIM temporary problem */
#define RSLT_LABRWS_GENERIC (0x26) /* Launch browser generic error code (class e) */
#define RSLT_ME_CAP (0x30) /* Command beyond ME capabilities */
#define RSLT_UNKN_TYPE (0x31) /* Command type not understood */
#define RSLT_UNKN_DATA (0x32) /* Command data not understood */
#define RSLT_UNKN_NR (0x33) /* Command number not understood */
#define RSLT_SS_ERR (0x34) /* SS return error */
#define RSLT_SMS_ERR (0x35) /* SMS RP-ERROR */
#define RSLT_ERR_REQ_VAL (0x36) /* Error, required values are missing */
#define RSLT_USSD_ERR (0x37) /* USSD return error */
#define RSLT_CC_SIM_PRM (0x39) /* interaction with call control by SIM or SMS control by SIM permanent problem */
#define RSLT_BEARIND_PERR (0x3a) /* Bearer Independent Protocol error (class e) */
/*
* Value constants for add
*/
#define ADD_NO_CAUSE (0x0) /* No specific cause can be given */
#define ADD_ME_SCR_BUSY (0x1) /* ME: Screen is busy */
#define ADD_ME_CALL_BUSY (0x2) /* ME: currently busy on call */
#define ADD_ME_SS_BUSY (0x3) /* ME: currently busy on SS transaction */
#define ADD_ME_NO_SERV (0x4) /* ME: no service */
#define ADD_ME_ACC_BAR (0x5) /* ME: Access control class bar */
#define ADD_ME_RR_DENIED (0x6) /* ME: Radio resource not granted */
#define ADD_ME_NO_SPCH_CALL (0x7) /* ME: Not in speech call */
#define ADD_ME_USSD_BUSY (0x8) /* ME: currently busy on USSD transaction */
#define ADD_CC_NOT_ALLWD (0x1) /* Call Control: Action not allowed */
#define ADD_CC_REQ_CHNG (0x2) /* Call Control: Type of request has changed */
#define ADD_LBP_BEARR_NAVAIL (0x1) /* Launch browser: Bearer unavailable (class c) */
#define ADD_LBP_BRWSR_NAVAIL (0x2) /* Launch browser: Browser unavailable (class c) */
#define ADD_LBP_ME_UNABL_RDPD (0x3) /* Launch browser: ME unable to read provisioning data (class c) */
#define ADD_BIP_NO_CHAN_AVAIL (0x1) /* No channel available (class e) */
#define ADD_BIP_CHAN_CLOSD (0x2) /* Channel closed (class e) */
#define ADD_BIP_CHANID_NT_VLD (0x3) /* Channel identifier not valid (class e) */
#define ADD_BIP_BUF_SIZ_NAVAIL (0x4) /* Requested buffer size not available (class e) */
#define ADD_BIP_SECUR_ERR (0x5) /* Security error (unsuccessful authentication) (class e) */
#define ADD_BIP_SIME_ITL_NAVAIL (0x6) /* Requested SIM/ME interface transport level not available (class e) */
/*
* Value constants for time_unit
*/
#define TU_MIN (0x0) /* Minutes */
#define TU_SEC (0x1) /* Seconds */
#define TU_100_MSEC (0x2) /* Tenth of seconds */
/*
* Value constants for event
*/
#define EVENT_MT_CALL (0x0) /* Incoming Call */
#define EVENT_CALL_CONN (0x1) /* Call is connected */
#define EVENT_CALL_DISC (0x2) /* Call is disconnected */
#define EVENT_LOC_STATUS (0x3) /* Service status change */
#define EVENT_USER_ACTIVE (0x4) /* User activity */
#define EVENT_IDLE_SCREEN (0x5) /* Idle screen is available */
#define EVENT_BROWS_TERMIN (0x8) /* Browser Termination (if class c supported) */
#define EVENT_DATA_AVAIL (0x9) /* Data available (if class e supported) */
#define EVENT_CHAN_STAT (0xa) /* Channel Status (if class e supported) */
#define EVENT_GNOLZ_DEF (0x0) /* Reserved */
/*
* Value constants for oth_addr_type
*/
#define IPv4 (0x21) /* Internet Protocal vers.4 */
#define IPv6 (0x57) /* Internet Protocal vers.6 */
#define OTH_ADDR_TYPE_GNOLZ_DEF (0x0) /* reserved */
/*
* Value constants for trans_prot_type
*/
#define UDP (0x1) /* User Datagramm Protocol */
#define TCP (0x2) /* Transmission Control Protocol */
#define TRANS_PROT_TYPE_GNOLZ_DEF (0x0) /* reserved */
/*
* Value constants for browser
*/
#define DEFAULT_BROWSER (0x0) /* Default browser usage */
#define BROWSER_GNOLZ_DEF (0x0) /* reserved */
/*
* Value constants for brows_term_s
*/
#define USER_TERMINATION (0x0) /* terminated by user action */
#define ERROR_TERMINATION (0x1) /* terminated by error */
/*
* Value constants for chan_stat_link
*/
#define LINK_NO_ESTABL (0x0) /* link not established or PDP context not activated */
#define LINK_ESTABL (0x1) /* link established or PDP context activated */
/*
* Value constants for chan_stat_inf1
*/
#define CHAN_STAT_INF1_GNOLZ_DEF (0x0) /* reserved */
/*
* Value constants for chan_id
*/
#define NO_CHAN_AVAIL (0x0)
#define CHANNEL_ID_1 (0x1)
#define CHANNEL_ID_2 (0x2)
#define CHANNEL_ID_3 (0x3)
#define CHANNEL_ID_4 (0x4)
#define CHANNEL_ID_5 (0x5)
#define CHANNEL_ID_6 (0x6)
#define CHANNEL_ID_7 (0x7)
/*
* Value constants for chan_stat_inf2
*/
#define NO_FURTH_INFO (0x0) /* no further info can be given */
#define CHAN_STAT_INF2_GNOLZ_1 (0x1) /* reserved */
#define CHAN_STAT_INF2_GNOLZ_2 (0x2) /* reserved */
#define CHAN_STAT_INF2_GNOLZ_3 (0x3) /* reserved */
#define CHAN_STAT_INF2_GNOLZ_4 (0x4) /* reserved */
#define LINK_DROPPED (0x5) /* link dropped */
#define CHAN_STAT_INF2_GNOLZ_DEF (0x0) /* reserved */
/*
* Value constants for gprs_pdp_type
*/
#define PDP_TYPE_IP (0x2) /* Internet Protocol, IETF STD 5 */
/*
* Value constants for bc_rpi
*/
#define BC_RPI_ALT (0x1) /* Alternate mode */
#define BC_RPI_SEQ (0x3) /* Sequential mode */
#define BC_RPI_GNOLZ_DEF (0x0) /* Reserved */
/*
* Value constants for loc_state
*/
#define LOC_ST_NORMAL (0x1) /* Normal service */
#define LOC_ST_LIMITED (0x2) /* Limited service */
#define LOC_ST_NOSERV (0x3) /* No service */
#define LOC_STATE_GNOLZ_DEF (0x0) /* Reserved */
/*
* Value constants for bear_type
*/
#define BT_CSD (0x1) /* bearer type CSD */
#define BT_GPRS (0x2) /* bearer type GPRS */
#define BT_DEFAULT (0x3) /* default bearer parameters */
/*
* Value constants for bearer
*/
#define B_SMS (0x0) /* short message service */
#define B_CSD (0x1) /* circle switched data */
#define B_USSD (0x2) /* unstructured supplementary service data */
#define B_GPRS (0x3) /* generel packet radio systeme */
#define BEARER_GNOLZ_DEF (0x0) /* reserved */
/*
* user defined constants
*/
#define MAX_PARTY_NUM_SAT (0x1e0)
#define MAX_SUBADDR_NUM (0x14)
#define MAX_CH_DATA_LEN (0xf1)
#define MAX_CMD_AT_LEN (0xf1)
#define MAX_ALPHA_ID_LEN (0xf1)
#define MAX_SS_STRING_LEN (0x3c)
#define MAX_SAT_USSD_LEN (0xa0)
#define MAX_SMS_DIGIT_LEN (0x14)
#define MAX_SMS_TPDU_LEN (0xb8)
#define MAX_CAP_CNF_LEN (0x70)
#define MAX_TEXT_LEN (0xa0)
#define MAX_EVENT_LIST_LEN (0xa)
#define MAX_TI_LEN (0x10)
#define MAX_DTMF_LEN (0x50)
#define MAX_PROV_F_PATH_LEN (0x10)
#define MAX_BEARER_LIST_LEN (0xfd)
#define MAX_CAUSE_LEN (0x1e)
#define CCR_ALLW_NO_MDFY (0x0)
#define CCR_NOT_ALLW (0x1)
#define CCR_ALLW_WITH_MDFY (0x2)
#define MAX_SAT_APN_LEN (0x66)
#define MAX_URL_LEN (0xfd)
#define MAX_PFP_ELEM (0xa)
#include "CDG_LEAVE.h"
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -