forked from P1sec/QCSuper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmessages.py
247 lines (128 loc) · 2.99 KB
/
messages.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
#!/usr/bin/python3
#-*- encoding: utf-8 -*-
"""
This files contains a list of the Diag protocol commands,
as it can be found in other open-source projects.
"""
DIAG_VERNO_F = 0
DIAG_ESN_F = 1
DIAG_PEEKB_F = 2
DIAG_PEEKW_F = 3
DIAG_PEEKD_F = 4
DIAG_POKEB_F = 5
DIAG_POKEW_F = 6
DIAG_POKED_F = 7
DIAG_OUTP_F = 8
DIAG_OUTPW_F = 9
DIAG_INP_F = 10
DIAG_INPW_F = 11
DIAG_STATUS_F = 12
DIAG_LOGMASK_F = 15
DIAG_LOG_F = 16
DIAG_NV_PEEK_F = 17
DIAG_NV_POKE_F = 18
DIAG_BAD_CMD_F = 19
DIAG_BAD_PARM_F = 20
DIAG_BAD_LEN_F = 21
DIAG_BAD_MODE_F = 24
DIAG_TAGRAPH_F = 25
DIAG_MARKOV_F = 26
DIAG_MARKOV_RESET_F = 27
DIAG_DIAG_VER_F = 28
DIAG_TS_F = 29
DIAG_TA_PARM_F = 30
DIAG_MSG_F = 31
DIAG_HS_KEY_F = 32
DIAG_HS_LOCK_F = 33
DIAG_HS_SCREEN_F = 34
DIAG_PARM_SET_F = 36
DIAG_NV_READ_F = 38
DIAG_NV_WRITE_F = 39
DIAG_CONTROL_F = 41
DIAG_ERR_READ_F = 42
DIAG_ERR_CLEAR_F = 43
DIAG_SER_RESET_F = 44
DIAG_SER_REPORT_F = 45
DIAG_TEST_F = 46
DIAG_GET_DIPSW_F = 47
DIAG_SET_DIPSW_F = 48
DIAG_VOC_PCM_LB_F = 49
DIAG_VOC_PKT_LB_F = 50
DIAG_ORIG_F = 53
DIAG_END_F = 54
DIAG_SW_VERSION_F = 56
DIAG_DLOAD_F = 58
DIAG_TMOB_F = 59
DIAG_FTM_CMD_F = 59
DIAG_EXT_SW_VERSION_F = 60
DIAG_TEST_STATE_F = 61
DIAG_STATE_F = 63
DIAG_PILOT_SETS_F = 64
DIAG_SPC_F = 65
DIAG_BAD_SPC_MODE_F = 66
DIAG_PARM_GET2_F = 67
DIAG_SERIAL_CHG_F = 68
DIAG_PASSWORD_F = 70
DIAG_BAD_SEC_MODE_F = 71
DIAG_PR_LIST_WR_F = 72
DIAG_PR_LIST_RD_F = 73
DIAG_SUBSYS_CMD_F = 75
DIAG_FEATURE_QUERY_F = 81
DIAG_SMS_READ_F = 83
DIAG_SMS_WRITE_F = 84
DIAG_SUP_FER_F = 85
DIAG_SUP_WALSH_CODES_F = 86
DIAG_SET_MAX_SUP_CH_F = 87
DIAG_PARM_GET_IS95B_F = 88
DIAG_FS_OP_F = 89
DIAG_AKEY_VERIFY_F = 90
DIAG_BMP_HS_SCREEN_F = 91
DIAG_CONFIG_COMM_F = 92
DIAG_EXT_LOGMASK_F = 93
DIAG_EVENT_REPORT_F = 96
DIAG_STREAMING_CONFIG_F = 97
DIAG_PARM_RETRIEVE_F = 98
DIAG_STATUS_SNAPSHOT_F = 99
DIAG_RPC_F = 100
DIAG_GET_PROPERTY_F = 101
DIAG_PUT_PROPERTY_F = 102
DIAG_GET_GUID_F = 103
DIAG_USER_CMD_F = 104
DIAG_GET_PERM_PROPERTY_F = 105
DIAG_PUT_PERM_PROPERTY_F = 106
DIAG_PERM_USER_CMD_F = 107
DIAG_GPS_SESS_CTRL_F = 108
DIAG_GPS_GRID_F = 109
DIAG_GPS_STATISTICS_F = 110
DIAG_ROUTE_F = 111
DIAG_IS2000_STATUS_F = 112
DIAG_RLP_STAT_RESET_F = 113
DIAG_TDSO_STAT_RESET_F = 114
DIAG_LOG_CONFIG_F = 115
DIAG_TRACE_EVENT_REPORT_F = 116
DIAG_SBI_READ_F = 117
DIAG_SBI_WRITE_F = 118
DIAG_SSD_VERIFY_F = 119
DIAG_LOG_ON_DEMAND_F = 120
DIAG_EXT_MSG_F = 121
DIAG_ONCRPC_F = 122
DIAG_PROTOCOL_LOOPBACK_F = 123
DIAG_EXT_BUILD_ID_F = 124
DIAG_EXT_MSG_CONFIG_F = 125
DIAG_EXT_MSG_TERSE_F = 126
DIAG_EXT_MSG_TERSE_XLATE_F = 127
DIAG_SUBSYS_CMD_VER_2_F = 128
DIAG_EVENT_MASK_GET_F = 129
DIAG_EVENT_MASK_SET_F = 130
DIAG_CHANGE_PORT_SETTINGS_F = 140
DIAG_CNTRY_INFO_F = 141
DIAG_SUPS_REQ_F = 142
DIAG_MMS_ORIG_SMS_REQUEST_F = 143
DIAG_MEAS_MODE_F = 144
DIAG_MEAS_REQ_F = 145
DIAG_QSR_EXT_MSG_TERSE_F = 146
DIAG_DCI_CMD_REQ_F = 147
DIAG_DCI_DELAYED_RSP_F = 148
DIAG_BAD_TRANS_F = 149
DIAG_SSM_DISALLOWED_CMD_F = 150
DIAG_MAX_F = 150