-
Notifications
You must be signed in to change notification settings - Fork 210
/
Copy pathcfe_evs_eventids.h
495 lines (450 loc) · 10.9 KB
/
cfe_evs_eventids.h
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
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
/************************************************************************
* NASA Docket No. GSC-18,719-1, and identified as “core Flight System: Bootes”
*
* Copyright (c) 2020 United States Government as represented by the
* Administrator of the National Aeronautics and Space Administration.
* All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
************************************************************************/
/**
* @file
*
* cFE Event Services Event IDs
*/
#ifndef CFE_EVS_EVENTS_H
#define CFE_EVS_EVENTS_H
/**
* \name EVS event IDs
*/
/**\{*/
/**
* \brief EVS No-op Command Success Event ID
*
* \par Type: INFORMATION
*
* \par Cause:
*
* \link #CFE_EVS_NOOP_CC EVS NO-OP command \endlink success.
*/
#define CFE_EVS_NOOP_EID 0
/**
* \brief EVS Initialization Event ID
*
* \par Type: INFORMATION
*
* \par Cause:
*
* Event Services Task initialization complete.
*/
#define CFE_EVS_STARTUP_EID 1
/**
* \brief EVS Write Event Log Command File Write Entry Failed Event ID
*
* \par Type: ERROR
*
* \par Cause:
*
* \link #CFE_EVS_WRITE_LOG_DATA_FILE_CC EVS Write Event Log Command \endlink failure
* writing data to the file.
*/
#define CFE_EVS_ERR_WRLOGFILE_EID 2
/**
* \brief EVS Write Event Log Command Filename Parse or File Create Failed Event ID
*
* \par Type: ERROR
*
* \par Cause:
*
* \link #CFE_EVS_WRITE_LOG_DATA_FILE_CC EVS Write Event Log Command \endlink failure
* parsing the file name or during open/creation of the file. OVERLOADED
*/
#define CFE_EVS_ERR_CRLOGFILE_EID 3
/**
* \brief EVS Invalid Message ID Received Event ID
*
* \par Type: ERROR
*
* \par Cause:
*
* Invalid message ID received on the EVS message pipe.
*/
#define CFE_EVS_ERR_MSGID_EID 5
/**
* \brief EVS Command Event Not Registered For Filtering Event ID
*
* \par Type: ERROR
*
* \par Cause:
*
* An EVS command handler failure due to the event not being registered for filtering. OVERLOADED
*/
#define CFE_EVS_ERR_EVTIDNOREGS_EID 6
/**
* \brief EVS Command Application Not Registered With EVS Event ID
*
* \par Type: ERROR
*
* \par Cause:
*
* An EVS command handler failure due to the referenced application not being registered with EVS. OVERLOADED
*/
#define CFE_EVS_ERR_APPNOREGS_EID 7
/**
* \brief EVS Command Get Application Data Failure Event ID
*
* \par Type: ERROR
*
* \par Cause:
*
* An EVS command handler failure retrieving the application data. OVERLOADED
*/
#define CFE_EVS_ERR_ILLAPPIDRANGE_EID 8
/**
* \brief EVS Command Get Application ID Failure Event ID
*
* \par Type: ERROR
*
* \par Cause:
*
* An EVS command handler failure retrieving the application ID. OVERLOADED
*/
#define CFE_EVS_ERR_NOAPPIDFOUND_EID 9
/**
* \brief EVS Set Event Format Command Invalid Format Event ID
*
* \par Type: ERROR
*
* \par Cause:
*
* \link #CFE_EVS_SET_EVENT_FORMAT_MODE_CC EVS Set Event Format Command \endlink failure
* due to invalid format argument.
*/
#define CFE_EVS_ERR_ILLEGALFMTMOD_EID 10
/**
* \brief EVS Add Filter Command Max Filters Exceeded Event ID
*
* \par Type: ERROR
*
* \par Cause:
*
* \link #CFE_EVS_ADD_EVENT_FILTER_CC EVS Add Filter Command \endlink failure
* due to exceeding the maximum number of filters.
*/
#define CFE_EVS_ERR_MAXREGSFILTER_EID 11
/**
* \brief EVS Write Application Data Command Write Data Failure Event ID
*
* \par Type: ERROR
*
* \par Cause:
*
* \link #CFE_EVS_WRITE_APP_DATA_FILE_CC Write Application Data Command \endlink failure
* to write application EVS data.
*/
#define CFE_EVS_ERR_WRDATFILE_EID 12
/**
* \brief EVS Write Application Data Command Filename Parse or File Create Failed Event ID
*
* \par Type: ERROR
*
* \par Cause:
*
* \link #CFE_EVS_WRITE_APP_DATA_FILE_CC Write Application Data Command \endlink failed
* to parse the filename or open/create the file. OVERLOADED
*/
#define CFE_EVS_ERR_CRDATFILE_EID 13
/**
* \brief EVS Write File Header to Log File Failure Event ID
*
* \par Type: ERROR
*
* \par Cause:
*
* Bytes written during Write File Header to Log File was not equal to the expected header size.
*/
#define CFE_EVS_WRITE_HEADER_ERR_EID 14
/**
* \brief EVS Invalid Command Code Received Event ID
*
* \par Type: ERROR
*
* \par Cause:
*
* Invalid command code for message ID #CFE_EVS_CMD_MID received on the EVS message pipe.
*/
#define CFE_EVS_ERR_CC_EID 15
/**
* \brief EVS Reset Counters Command Success Event ID
*
* \par Type: DEBUG
*
* \par Cause:
*
* \link #CFE_EVS_RESET_COUNTERS_CC EVS Reset Counters Command \endlink success.
*/
#define CFE_EVS_RSTCNT_EID 16
/**
* \brief EVS Set Filter Command Success Event ID
*
* \par Type: DEBUG
*
* \par Cause:
*
* \link #CFE_EVS_SET_FILTER_CC EVS Set Filter Command \endlink success.
*/
#define CFE_EVS_SETFILTERMSK_EID 17
/**
* \brief EVS Enable Ports Command Success Event ID
*
* \par Type: DEBUG
*
* \par Cause:
*
* \link #CFE_EVS_ENABLE_PORTS_CC EVS Enable Ports Command \endlink success.
*/
#define CFE_EVS_ENAPORT_EID 18
/**
* \brief EVS Disable Ports Command Success Event ID
*
* \par Type: DEBUG
*
* \par Cause:
*
* \link #CFE_EVS_DISABLE_PORTS_CC EVS Disable Ports Command \endlink success.
*/
#define CFE_EVS_DISPORT_EID 19
/**
* \brief EVS Enable Event Type Command Success Event ID
*
* \par Type: DEBUG
*
* \par Cause:
*
* \link #CFE_EVS_ENABLE_EVENT_TYPE_CC EVS Enable Event Type Command \endlink success.
*/
#define CFE_EVS_ENAEVTTYPE_EID 20
/**
* \brief EVS Disable Event Type Command Success Event ID
*
* \par Type: DEBUG
*
* \par Cause:
*
* \link #CFE_EVS_DISABLE_EVENT_TYPE_CC EVS Disable Event Type Command \endlink success.
*/
#define CFE_EVS_DISEVTTYPE_EID 21
/**
* \brief EVS Set Event Format Mode Command Success Event ID
*
* \par Type: DEBUG
*
* \par Cause:
*
* \link #CFE_EVS_SET_EVENT_FORMAT_MODE_CC EVS Set Event Format Mode Command \endlink success.
*/
#define CFE_EVS_SETEVTFMTMOD_EID 22
/**
* \brief EVS Enable App Event Type Command Success Event ID
*
* \par Type: DEBUG
*
* \par Cause:
*
* \link #CFE_EVS_ENABLE_APP_EVENT_TYPE_CC EVS Enable App Event Type Command \endlink success.
*/
#define CFE_EVS_ENAAPPEVTTYPE_EID 23
/**
* \brief EVS Disable App Event Type Command Success Event ID
*
* \par Type: DEBUG
*
* \par Cause:
*
* \link #CFE_EVS_DISABLE_APP_EVENT_TYPE_CC EVS Disable App Event Type Command \endlink success.
*/
#define CFE_EVS_DISAPPENTTYPE_EID 24
/**
* \brief EVS Enable App Events Command Success Event ID
*
* \par Type: DEBUG
*
* \par Cause:
*
* \link #CFE_EVS_ENABLE_APP_EVENTS_CC EVS Enable App Events Command \endlink success.
*/
#define CFE_EVS_ENAAPPEVT_EID 25
/**
* \brief EVS Disable App Events Command Success Event ID
*
* \par Type: DEBUG
*
* \par Cause:
*
* \link #CFE_EVS_DISABLE_APP_EVENTS_CC EVS Disable App Events Command \endlink success.
*/
#define CFE_EVS_DISAPPEVT_EID 26
/**
* \brief EVS Reset App Event Counter Command Success Event ID
*
* \par Type: DEBUG
*
* \par Cause:
*
* \link #CFE_EVS_RESET_APP_COUNTER_CC EVS Reset App Event Counter Command \endlink success.
*/
#define CFE_EVS_RSTEVTCNT_EID 27
/**
* \brief EVS Reset App Event Filter Command Success Event ID
*
* \par Type: DEBUG
*
* \par Cause:
*
* \link #CFE_EVS_RESET_FILTER_CC EVS Reset App Event Filter Command \endlink success.
*/
#define CFE_EVS_RSTFILTER_EID 28
/**
* \brief EVS Reset All Filters Command Success Event ID
*
* \par Type: DEBUG
*
* \par Cause:
*
* \link #CFE_EVS_RESET_ALL_FILTERS_CC EVS Reset All Filters Command \endlink success.
*/
#define CFE_EVS_RSTALLFILTER_EID 29
/**
* \brief EVS Add Event Filter Command Success Event ID
*
* \par Type: DEBUG
*
* \par Cause:
*
* \link #CFE_EVS_ADD_EVENT_FILTER_CC EVS Add Event Filter Command \endlink success.
*/
#define CFE_EVS_ADDFILTER_EID 30
/**
* \brief EVS Delete Event Filter Command Success Event ID
*
* \par Type: DEBUG
*
* \par Cause:
*
* \link #CFE_EVS_DELETE_EVENT_FILTER_CC EVS Delete Event Filter Command \endlink success.
*/
#define CFE_EVS_DELFILTER_EID 31
/**
* \brief EVS Write Application Data Command Success Event ID
*
* \par Type: DEBUG
*
* \par Cause:
*
* \link #CFE_EVS_WRITE_APP_DATA_FILE_CC EVS Write Application Data Command \endlink success.
*/
#define CFE_EVS_WRDAT_EID 32
/**
* \brief EVS Write Event Log Command Success Event ID
*
* \par Type: DEBUG
*
* \par Cause:
*
* \link #CFE_EVS_WRITE_LOG_DATA_FILE_CC EVS Write Event Log Command \endlink success.
*/
#define CFE_EVS_WRLOG_EID 33
/**
* \brief EVS Add Filter Command Duplicate Registration Event ID
*
* \par Type: ERROR
*
* \par Cause:
*
* \link #CFE_EVS_ADD_EVENT_FILTER_CC EVS Add Filter Command \endlink failure due
* to event already being registered for filtering.
*/
#define CFE_EVS_EVT_FILTERED_EID 37
/**
* \brief EVS Set Log Mode Command Success Event ID
*
* \par Type: DEBUG
*
* \par Cause:
*
* \link #CFE_EVS_SET_LOG_MODE_CC EVS Set Log Mode Command \endlink success.
*/
#define CFE_EVS_LOGMODE_EID 38
/**
* \brief EVS Set Log Mode Command Invalid Mode Event ID
*
* \par Type: ERROR
*
* \par Cause:
*
* \link #CFE_EVS_SET_LOG_MODE_CC EVS Set Log Mode Command \endlink failure
* due to invalid log mode.
*/
#define CFE_EVS_ERR_LOGMODE_EID 39
/**
* \brief EVS Port Or Event Type Bitmask Invalid Event ID
*
* \par Type: ERROR
*
* \par Cause:
*
* Invalid bitmask for EVS port or event type. OVERLOADED
*/
#define CFE_EVS_ERR_INVALID_BITMASK_EID 40
/**
* \brief EVS Send Event API App Not Registered With EVS Event ID
*
* \par Type: ERROR
*
* \par Cause:
*
* An EVS Send Event API called for application not registered with EVS.
*/
#define CFE_EVS_ERR_UNREGISTERED_EVS_APP 41
/**
* \brief EVS Filter Max Count Reached Event ID
*
* \par Type: INFORMATIONAL
*
* \par Cause:
*
* Filter count for the event reached CFE_EVS_MAX_FILTER_COUNT and is latched until filter is reset.
*/
#define CFE_EVS_FILTER_MAX_EID 42
/**
* \brief EVS Invalid Command Length Event ID
*
* \par Type: ERROR
*
* \par Cause:
*
* Invalid length for the command code in message ID #CFE_EVS_CMD_MID received on the EVS message pipe.
*/
#define CFE_EVS_LEN_ERR_EID 43
/**
* \brief EVS Events Squelched Error Event ID
*
* \par Type: ERROR
*
* \par Cause:
*
* Events generated in app at a rate in excess of
* #CFE_PLATFORM_EVS_MAX_APP_EVENT_BURST in one moment or
* #CFE_PLATFORM_EVS_APP_EVENTS_PER_SEC sustained
*/
#define CFE_EVS_SQUELCHED_ERR_EID 44
/**\}*/
#endif /* CFE_EVS_EVENTS_H */