📄 diagcmd.h
字号:
/* Read Preferred Roaming list from the phone.*/
#define DIAG_PR_LIST_RD_F 73
/* 74 Reserved */
/* Subssytem dispatcher (extended diag cmd) */
#define DIAG_SUBSYS_CMD_F 75
/* 76-80 Reserved */
/* Asks the phone what it supports */
#define DIAG_FEATURE_QUERY_F 81
/* 82 Reserved */
/* Read SMS message out of NV */
#define DIAG_SMS_READ_F 83
/* Write SMS message into NV */
#define DIAG_SMS_WRITE_F 84
/* info for Frame Error Rate
on multiple channels */
#define DIAG_SUP_FER_F 85
/* Supplemental channel walsh codes */
#define DIAG_SUP_WALSH_CODES_F 86
/* Sets the maximum # supplemental
channels */
#define DIAG_SET_MAX_SUP_CH_F 87
/* get parms including SUPP and MUX2:
obsoletes PARM_GET and PARM_GET_2 */
#define DIAG_PARM_GET_IS95B_F 88
/* Performs an Embedded File System
(EFS) operation. */
#define DIAG_FS_OP_F 89
/* AKEY Verification. */
#define DIAG_AKEY_VERIFY_F 90
/* Handset emulation - Bitmap screen */
#define DIAG_BMP_HS_SCREEN_F 91
/* Configure communications */
#define DIAG_CONFIG_COMM_F 92
/* Extended logmask for > 32 bits. */
#define DIAG_EXT_LOGMASK_F 93
/* 94-95 reserved */
/* Static Event reporting. */
#define DIAG_EVENT_REPORT_F 96
/* Load balancing and more! */
#define DIAG_STREAMING_CONFIG_F 97
/* Parameter retrieval */
#define DIAG_PARM_RETRIEVE_F 98
/* A state/status snapshot of the DMSS. */
#define DIAG_STATUS_SNAPSHOT_F 99
/* Used for RPC */
#define DIAG_RPC_F 100
/* Get_property requests */
#define DIAG_GET_PROPERTY_F 101
/* Put_property requests */
#define DIAG_PUT_PROPERTY_F 102
/* Get_guid requests */
#define DIAG_GET_GUID_F 103
/* Invocation of user callbacks */
#define DIAG_USER_CMD_F 104
/* Get permanent properties */
#define DIAG_GET_PERM_PROPERTY_F 105
/* Put permanent properties */
#define DIAG_PUT_PERM_PROPERTY_F 106
/* Permanent user callbacks */
#define DIAG_PERM_USER_CMD_F 107
/* GPS Session Control */
#define DIAG_GPS_SESS_CTRL_F 108
/* GPS search grid */
#define DIAG_GPS_GRID_F 109
/* GPS Statistics */
#define DIAG_GPS_STATISTICS_F 110
/* Packet routing for multiple instances of diag */
#define DIAG_ROUTE_F 111
/* IS2000 status */
#define DIAG_IS2000_STATUS_F 112
/* RLP statistics reset */
#define DIAG_RLP_STAT_RESET_F 113
/* (S)TDSO statistics reset */
#define DIAG_TDSO_STAT_RESET_F 114
/* Logging configuration packet */
#define DIAG_LOG_CONFIG_F 115
/* Static Trace Event reporting */
#define DIAG_TRACE_EVENT_REPORT_F 116
/* SBI Read */
#define DIAG_SBI_READ_F 117
/* SBI Write */
#define DIAG_SBI_WRITE_F 118
/* SSD Verify */
#define DIAG_SSD_VERIFY_F 119
/* Log on Request */
#define DIAG_LOG_ON_DEMAND_F 120
/* Request for extended msg report */
#define DIAG_EXT_MSG_F 121
/* ONCRPC diag packet */
#define DIAG_ONCRPC_F 122
/* Diagnostics protocol loopback. */
#define DIAG_PROTOCOL_LOOPBACK_F 123
/* Extended build ID text */
#define DIAG_EXT_BUILD_ID_F 124
/* Request for extended msg report */
#define DIAG_EXT_MSG_CONFIG_F 125
/* Extended messages in terse format */
#define DIAG_EXT_MSG_TERSE_F 126
/* Translate terse format message identifier */
#define DIAG_EXT_MSG_TERSE_XLATE_F 127
/* Subssytem dispatcher Version 2 (delayed response capable) */
#define DIAG_SUBSYS_CMD_VER_2_F 128
/* Get the event mask */
#define DIAG_EVENT_MASK_GET_F 129
/* Set the event mask */
#define DIAG_EVENT_MASK_SET_F 130
#ifdef _SAMSUNG_MP_RTC_TIME
#define DIAG_RTC_SET_F 131
#endif
//sec_ui2_kkw_20050725_3
#ifdef _SAMSUNG_MP_PRECONFIG
/* SET Factory Pre-configuration Request/Response */
#define DIAG_FAC_PRECFG_SET_F 132
/* GET Factory Pre-configuration Request/Response */
#define DIAG_FAC_PRECFG_GET_F 133
#endif //_SAMSUNG_MP_PRECONFIG
#ifdef _SAMSUNG_HW_TFLASH //sec_system_Erik_051230_1
#define DIAG_TFS4_EXPLORER_ENA_F 134
#define DIAG_TFS4_EXPLORER_DIS_F 135
#endif
#ifdef _SAMSUNG_BT_FACTORYTEST//sec_system_wkjoo_050805
/* BT FTM Test Request/Response */
#define DIAG_BT_FTM_F 136
#endif
//sec_ui2_kkw_20050825_1 start
#define DIAG_FACTORY_RESET_F 240
#define DIAG_SERVICE_RESET_F 241
#define DIAG_RESET_VERIFY_F 242
#define DIAG_CUSTOM_RESET_F 243
#define DIAG_FULL_SVC_RESET_F 244
#define DIAG_PM_RESET_F 245 // sec_system_insunPyo_20060112 PM Reset
//sec_ui2_kkw_20050825_1 end
#ifdef _SAMSUNG_MP_CUSTOM_RESET
/* EFS Reset Request/Response */
#define DIAG_EFS_RESET_F 137 //力炼扁贱 夸没荤亲, Full reset俊辑 nv_restore啊 救凳
/* EFS Rebuild Request/Response */
#define DIAG_EFS_REBUILD_F 138
/* Response ack if full reset success */
#define DIAG_FULL_RESET_ACK_F 139
/* Do full reset (factory reset) Request/Response */
#define DIAG_DO_FULL_RESET_F 140
/* NV item backup Request/Response */
#define DIAG_NV_BACKUP_F 141
/* NV item restore Request/Response */
#define DIAG_NV_RESTORE_F 142
/* Number of packets defined. */
#define DIAG_MAX_F 145
#else
/* Number of packets defined. */
#define DIAG_MAX_F 136
#endif
/* RESERVED CODES: 131-139 */
typedef enum {
DIAG_SUBSYS_OEM = 0,
DIAG_SUBSYS_ZREX = 1,
DIAG_SUBSYS_SD = 2,
DIAG_SUBSYS_BT = 3,
DIAG_SUBSYS_WCDMA = 4,
DIAG_SUBSYS_HDR = 5,
DIAG_SUBSYS_DIABLO = 6,
DIAG_SUBSYS_TREX = 7,
DIAG_SUBSYS_GSM = 8,
DIAG_SUBSYS_UMTS = 9,
DIAG_SUBSYS_HWTC = 10,
DIAG_SUBSYS_FTM = 11,
DIAG_SUBSYS_REX = 12,
DIAG_SUBSYS_GPS = 13,
DIAG_SUBSYS_WMS = 14,
DIAG_SUBSYS_CM = 15,
DIAG_SUBSYS_HS = 16,
DIAG_SUBSYS_AUDIO_SETTINGS = 17,
DIAG_SUBSYS_DIAG_SERV = 18,
DIAG_SUBSYS_FS = 19,
DIAG_SUBSYS_PORT_MAP_SETTINGS = 20,
DIAG_SUBSYS_MEDIAPLAYER = 21,
DIAG_SUBSYS_QCAMERA = 22,
DIAG_SUBSYS_MOBIMON = 23,
DIAG_SUBSYS_GUNIMON = 24,
DIAG_SUBSYS_LSM = 25,
DIAG_SUBSYS_QCAMCORDER = 26,
DIAG_SUBSYS_MUX1X = 27,
DIAG_SUBSYS_DATA1X = 28,
DIAG_SUBSYS_SRCH1X = 29,
DIAG_SUBSYS_CALLP1X = 30,
DIAG_SUBSYS_APPS = 31,
DIAG_SUBSYS_SETTINGS = 32,
DIAG_SUBSYS_GSDI = 33,
DIAG_SUBSYS_TMC = 34,
DIAG_SUBSYS_USB = 35,
DIAG_SUBSYS_PM = 36,
DIAG_SUBSYS_DEBUG = 37,
DIAG_SUBSYS_QTV = 38,
DIAG_SUBSYS_CLKRGM = 39,
DIAG_SUBSYS_DEVICES = 40,
DIAG_SUBSYS_WLAN = 41,
DIAG_SUBSYS_PS_DATA_LOGGING = 42,
DIAG_SUBSYS_MFLO = 43,
DIAG_SUBSYS_DTV = 44,
DIAG_SUBSYS_RRC = 45,
DIAG_SUBSYS_PROF = 46,
DIAG_SUBSYS_TCXOMGR = 47,
DIAG_SUBSYS_NV = 48,
DIAG_SUBSYS_AUTOCONFIG = 49,
DIAG_SUBSYS_PARAMS = 50,
DIAG_SUBSYS_MDDI = 51,
DIAG_SUBSYS_DS_ATCOP = 52,
DIAG_SUBSYS_L4LINUX = 53,
DIAG_SUBSYS_MVS = 54,
DIAG_SUBSYS_CNV = 55,
DIAG_SUBSYS_APIONE_PROGRAM = 56,
DIAG_SUBSYS_LAST,
/* Subsystem IDs reserved for OEM use */
DIAG_SUBSYS_RESERVED_OEM_0 = 250,
DIAG_SUBSYS_RESERVED_OEM_1 = 251,
DIAG_SUBSYS_RESERVED_OEM_2 = 252,
DIAG_SUBSYS_RESERVED_OEM_3 = 253,
DIAG_SUBSYS_RESERVED_OEM_4 = 254,
DIAG_SUBSYS_RESERVED_OEM_5 = 255,
} diagpkt_subsys_cmd_enum_type;
#endif /* DIAGCMD_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -