File tree 9 files changed +89
-117
lines changed
9 files changed +89
-117
lines changed Original file line number Diff line number Diff line change 18
18
** See the License for the specific language governing permissions and
19
19
** limitations under the License.
20
20
**
21
- ** File: sample_app_perfids.h
22
- **
23
- ** Purpose:
24
- ** Define Sample App Performance IDs
25
- **
26
- ** Notes:
27
- **
28
21
*************************************************************************/
29
- #ifndef _sample_app_perfids_h_
30
- #define _sample_app_perfids_h_
31
22
32
- #define SAMPLE_APP_PERF_ID 91
23
+ /**
24
+ * @file
25
+ *
26
+ * Define Sample App Performance IDs
27
+ */
28
+
29
+ #ifndef SAMPLE_APP_PERFIDS_H
30
+ #define SAMPLE_APP_PERFIDS_H
33
31
34
- #endif /* _sample_app_perfids_h_ */
32
+ #define SAMPLE_APP_PERF_ID 91
35
33
36
- /************************/
37
- /* End of File Comment */
38
- /************************/
34
+ #endif /* SAMPLE_APP_PERFIDS_H */
Original file line number Diff line number Diff line change 18
18
** See the License for the specific language governing permissions and
19
19
** limitations under the License.
20
20
**
21
- ** File: sample_app_msgids.h
22
- **
23
- ** Purpose:
24
- ** Define Sample App Message IDs
25
- **
26
- ** Notes:
27
- ** Message ID bits relate to the message header based on which version
28
- ** of the message id implementation is being used
29
- **
30
21
*************************************************************************/
31
- #ifndef _sample_app_msgids_h_
32
- #define _sample_app_msgids_h_
33
22
34
- /* The Sample App assumes default configuration which uses V1 of message id implementation */
23
+ /**
24
+ * @file
25
+ *
26
+ * Define Sample App Message IDs
27
+ *
28
+ * \note The Sample App assumes default configuration which uses V1 of message id implementation
29
+ */
30
+
31
+ #ifndef SAMPLE_APP_MSGIDS_H
32
+ #define SAMPLE_APP_MSGIDS_H
35
33
36
34
/* V1 Command Message IDs must be 0x18xx */
37
35
#define SAMPLE_APP_CMD_MID 0x1882
38
36
#define SAMPLE_APP_SEND_HK_MID 0x1883
39
37
/* V1 Telemetry Message IDs must be 0x08xx */
40
38
#define SAMPLE_APP_HK_TLM_MID 0x0883
41
39
42
- #endif /* _sample_app_msgids_h_ */
43
-
44
- /************************/
45
- /* End of File Comment */
46
- /************************/
40
+ #endif /* SAMPLE_APP_MSGIDS_H */
Original file line number Diff line number Diff line change 18
18
** See the License for the specific language governing permissions and
19
19
** limitations under the License.
20
20
**
21
- ** File: sample_app_table.h
22
- **
23
- ** Purpose:
24
- ** Define sample app table
25
- **
26
- ** Notes:
27
- **
28
- **
29
21
*******************************************************************************/
30
- #ifndef _sample_app_table_h_
31
- #define _sample_app_table_h_
22
+
23
+ /**
24
+ * @file
25
+ *
26
+ * Define sample app table
27
+ */
28
+
29
+ #ifndef SAMPLE_APP_TABLE_H
30
+ #define SAMPLE_APP_TABLE_H
32
31
33
32
/*
34
33
** Table structure
@@ -40,8 +39,4 @@ typedef struct
40
39
41
40
} SAMPLE_APP_Table_t ;
42
41
43
- #endif /* _sample_app_table_h_ */
44
-
45
- /************************/
46
- /* End of File Comment */
47
- /************************/
42
+ #endif /* SAMPLE_APP_TABLE_H */
Original file line number Diff line number Diff line change 18
18
** See the License for the specific language governing permissions and
19
19
** limitations under the License.
20
20
**
21
- ** File: sample_app.h
22
- **
23
- ** Purpose:
24
- ** This file is main hdr file for the SAMPLE application.
25
- **
26
- **
27
21
*******************************************************************************/
28
22
29
- #ifndef _sample_app_h_
30
- #define _sample_app_h_
23
+ /**
24
+ * @file
25
+ *
26
+ * Main header file for the SAMPLE application
27
+ */
28
+
29
+ #ifndef SAMPLE_APP_H
30
+ #define SAMPLE_APP_H
31
31
32
32
/*
33
33
** Required header files.
@@ -115,4 +115,4 @@ int32 SAMPLE_APP_TblValidationFunc(void *TblData);
115
115
116
116
bool SAMPLE_APP_VerifyCmdLength (CFE_MSG_Message_t * MsgPtr , size_t ExpectedLength );
117
117
118
- #endif /* _sample_app_h_ */
118
+ #endif /* SAMPLE_APP_H */
Original file line number Diff line number Diff line change 18
18
** See the License for the specific language governing permissions and
19
19
** limitations under the License.
20
20
**
21
- ** File: sample_app_events.h
22
- **
23
- ** Purpose:
24
- ** Define SAMPLE App Events IDs
25
- **
26
- ** Notes:
27
- **
28
21
*************************************************************************/
29
- #ifndef _sample_app_events_h_
30
- #define _sample_app_events_h_
22
+
23
+ /**
24
+ * @file
25
+ *
26
+ * Define SAMPLE App Events IDs
27
+ */
28
+
29
+ #ifndef SAMPLE_APP_EVENTS_H
30
+ #define SAMPLE_APP_EVENTS_H
31
31
32
32
#define SAMPLE_APP_RESERVED_EID 0
33
33
#define SAMPLE_APP_STARTUP_INF_EID 1
40
40
41
41
#define SAMPLE_APP_EVENT_COUNTS 7
42
42
43
- #endif /* _sample_app_events_h_ */
44
-
45
- /************************/
46
- /* End of File Comment */
47
- /************************/
43
+ #endif /* SAMPLE_APP_EVENTS_H */
Original file line number Diff line number Diff line change 18
18
** See the License for the specific language governing permissions and
19
19
** limitations under the License.
20
20
**
21
- ** File: sample_app_msg.h
22
- **
23
- ** Purpose:
24
- ** Define SAMPLE App Messages and info
25
- **
26
- ** Notes:
27
- **
28
- **
29
21
*******************************************************************************/
30
- #ifndef _sample_app_msg_h_
31
- #define _sample_app_msg_h_
22
+
23
+ /**
24
+ * @file
25
+ *
26
+ * Define SAMPLE App Messages and info
27
+ */
28
+
29
+ #ifndef SAMPLE_APP_MSG_H
30
+ #define SAMPLE_APP_MSG_H
32
31
33
32
/*
34
33
** SAMPLE App command codes
@@ -76,8 +75,4 @@ typedef struct
76
75
SAMPLE_APP_HkTlm_Payload_t Payload ; /**< \brief Telemetry payload */
77
76
} SAMPLE_APP_HkTlm_t ;
78
77
79
- #endif /* _sample_app_msg_h_ */
80
-
81
- /************************/
82
- /* End of File Comment */
83
- /************************/
78
+ #endif /* SAMPLE_APP_MSG_H */
Original file line number Diff line number Diff line change 20
20
**
21
21
*************************************************************************/
22
22
23
- /*! @file sample_app_version.h
24
- * @brief Purpose:
23
+ /**
24
+ * @file
25
25
*
26
26
* The Sample App header file containing version information
27
- *
28
27
*/
29
28
30
29
#ifndef SAMPLE_APP_VERSION_H
62
61
", Last Official Release: v1.1.0" /* For full support please use this version */
63
62
64
63
#endif /* SAMPLE_APP_VERSION_H */
65
-
66
- /************************/
67
- /* End of File Comment */
68
- /************************/
Original file line number Diff line number Diff line change 18
18
** limitations under the License.
19
19
*/
20
20
21
- /*
22
- ** File: sample_app_coveragetest_common.h
23
- **
24
- ** Purpose:
25
- ** Common definitions for all sample_app coverage tests
26
- */
21
+ /**
22
+ * @file
23
+ *
24
+ * Common definitions for all sample_app coverage tests
25
+ */
27
26
28
- #ifndef _SAMPLE_APP_COVERAGETEST_COMMON_H_
29
- #define _SAMPLE_APP_COVERAGETEST_COMMON_H_
27
+ #ifndef SAMPLE_APP_COVERAGETEST_COMMON_H
28
+ #define SAMPLE_APP_COVERAGETEST_COMMON_H
30
29
31
30
/*
32
31
* Includes
@@ -66,4 +65,4 @@ void Sample_UT_Setup(void);
66
65
*/
67
66
void Sample_UT_TearDown (void );
68
67
69
- #endif
68
+ #endif /* SAMPLE_APP_COVERAGETEST_COMMON_H */
Original file line number Diff line number Diff line change 18
18
** limitations under the License.
19
19
*/
20
20
21
- /*
22
- ** File: ut_sample_app.h
23
- **
24
- ** Purpose:
25
- ** Extra scaffolding functions for the sample_app unit test
26
- **
27
- ** Notes:
28
- ** This is an extra UT-specific extern declaration
29
- ** to obtain access to an internal data structure
30
- **
31
- ** UT often needs to modify internal data structures in ways that
32
- ** actual applications never would (bypassing the normal API) in
33
- ** order to exercise or set up for off-nominal cases.
34
- */
35
- #ifndef _UT_SAMPLE_APP_H_
36
- #define _UT_SAMPLE_APP_H_
21
+ /**
22
+ * @file
23
+ *
24
+ *
25
+ * Purpose:
26
+ * Extra scaffolding functions for the sample_app unit test
27
+ *
28
+ * Notes:
29
+ * This is an extra UT-specific extern declaration
30
+ * to obtain access to an internal data structure
31
+ *
32
+ * UT often needs to modify internal data structures in ways that
33
+ * actual applications never would (bypassing the normal API) in
34
+ * order to exercise or set up for off-nominal cases.
35
+ */
36
+
37
+ #ifndef UT_SAMPLE_APP_H
38
+ #define UT_SAMPLE_APP_H
37
39
38
40
/*
39
41
* Necessary to include these here to get the definition of the
47
49
*/
48
50
extern SAMPLE_APP_Data_t SAMPLE_APP_Data ;
49
51
50
- #endif /* _UT_SAMPLE_APP_H_ */
52
+ #endif /* UT_SAMPLE_APP_H */
You can’t perform that action at this time.
0 commit comments