Skip to content

Commit cf59498

Browse files
committed
HK version 2.4.2
1 parent 907252c commit cf59498

28 files changed

+1596
-839
lines changed

Apache_2_0_GSC-16127-1_CFS_HK.pdf

440 KB
Binary file not shown.

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
cmake_minimum_required(VERSION 2.6.4)
22
project(CFS_HK C)
33

4+
include_directories(fsw/public_inc)
45
include_directories(fsw/mission_inc)
56
include_directories(fsw/platform_inc)
7+
include_directories(fsw/src)
68

79
aux_source_directory(fsw/src APP_SRC_FILES)
10+
aux_source_directory(fsw/tables APP_TABLE_FILES)
811

912
# Create the app module
1013
add_cfe_app(hk ${APP_SRC_FILES})
14+
add_cfe_tables(hk ${APP_TABLE_FILES})

Core Flight System (CFS) NOSA.pdf

-127 KB
Binary file not shown.

README.md

Lines changed: 55 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,62 @@
1-
# Housekeeping
1+
core Flight System (cFS) Housekeeping Application (HK)
2+
======================================================
23

3-
NASA core Flight System Housekeeping Application
4+
Open Source Release Readme
5+
==========================
46

5-
## Description
7+
HK Release 2.4.2
68

7-
The Housekeeping application (HK) is a core Flight System (cFS) application that is a plug in to the Core Flight Executive (cFE) component of the cFS.
9+
Date: 4/17/2020
810

9-
The cFS is a platform and project independent reusable software framework and set of reusable applications developed by NASA Goddard Space Flight Center. This framework is used as the basis for the flight software for satellite data systems and instruments, but can be used on other embedded systems. More information on the cFS can be found at [http://cfs.gsfc.nasa.gov](http://cfs.gsfc.nasa.gov)
11+
Introduction
12+
-------------
13+
The Housekeeping application (HK) is a core Flight System (cFS) application
14+
that is a plug in to the Core Flight Executive (cFE) component of the cFS.
1015

11-
The HK application is used for building and sending combined telemetry messages (from individual system applications) to the software bus for routing. Combining messages is performed in order to minimize downlink telemetry bandwidth. Combined messages are also useful for organizing certain types of data packets together. HK provides the capability to generate multiple combined packets so that data can be sent at different rates.
16+
The HK application is used for building and sending combined telemetry messages
17+
(from individual system applications) to the software bus for routing. Combining
18+
messages is performed in order to minimize downlink telemetry bandwidth.
19+
Combining certain data from multiple messages into one message eliminates the
20+
message headers that would be required if each message was sent individually.
21+
Combined messages are also useful for organizing certain types of data. This
22+
application may be used for data types other than housekeeping telemetry. HK
23+
provides the capability to generate multiple combined packets (a.k.a. output
24+
packets) so that data can be sent at different rates (e.g. a fast, medium and
25+
slow packet).
1226

13-
## License
27+
The HK application is written in C and depends on the cFS Operating System
28+
Abstraction Layer (OSAL) and cFE components. There is additional HK application
29+
specific configuration information contained in the application user's guide
30+
available in https://github.com/nasa/HK/tree/master/docs/users_guide
1431

15-
This software is licensed under the NASA Open Source Agreement. http://ti.arc.nasa.gov/opensource/nosa
32+
This software is licensed under the NASA Open Source Agreement.
33+
http://ti.arc.nasa.gov/opensource/nosa
34+
35+
36+
Software Included
37+
------------------
38+
39+
Housekeeping application (HK) 2.4.2
40+
41+
42+
Software Required
43+
------------------
44+
45+
Operating System Abstraction Layer 5.0 or higher can be
46+
obtained at https://github.com/nasa/osal
47+
48+
core Flight Executive 6.7.0 or higher can be obtained at
49+
https://github.com/nasa/cfe
50+
51+
Note: An integrated bundle including the cFE, OSAL, and PSP can
52+
be obtained at https://github.com/nasa/cfs
53+
54+
About cFS
55+
----------
56+
The cFS is a platform and project independent reusable software framework and
57+
set of reusable applications developed by NASA Goddard Space Flight Center.
58+
This framework is used as the basis for the flight software for satellite data
59+
systems and instruments, but can be used on other embedded systems. More
60+
information on the cFS can be found at http://cfs.gsfc.nasa.gov
61+
62+
EOF

cfs-hk-app-OSS-readme.txt

Lines changed: 0 additions & 92 deletions
This file was deleted.
534 KB
Binary file not shown.

fsw/mission_inc/hk_perfids.h

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,29 @@
11
/************************************************************************
22
** File: hk_perfids.h
33
**
4-
** Copyright © 2007-2014 United States Government as represented by the
5-
** Administrator of the National Aeronautics and Space Administration.
6-
** All Other Rights Reserved.
4+
** NASA Docket No. GSC-16,127-1, and identified as "Core Flight Software System
5+
** (CFS) Housekeeping Application Version 2”
76
**
8-
** This software was created at NASA's Goddard Space Flight Center.
9-
** This software is governed by the NASA Open Source Agreement and may be
10-
** used, distributed and modified only pursuant to the terms of that
11-
** agreement.
7+
** Copyright © 2007-2014 United States Government as represented by the
8+
** Administrator of the National Aeronautics and Space Administration. All Rights
9+
** Reserved.
10+
**
11+
** Licensed under the Apache License, Version 2.0 (the "License");
12+
** you may not use this file except in compliance with the License.
13+
** You may obtain a copy of the License at
14+
** http://www.apache.org/licenses/LICENSE-2.0
15+
**
16+
** Unless required by applicable law or agreed to in writing, software
17+
** distributed under the License is distributed on an "AS IS" BASIS,
18+
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19+
** See the License for the specific language governing permissions and
20+
** limitations under the License.
1221
**
1322
** Purpose:
1423
** Define HK Performance IDs
1524
**
1625
** Notes:
1726
**
18-
** $Log: hk_perfids.h $
19-
** Revision 1.2 2015/11/10 16:49:03EST lwalling
20-
** Restore data lost in MKS 2010 from MKS 2009
21-
** Revision 1.1 2015/07/25 21:31:04EDT rperera
22-
** Initial revision
23-
** Member added to project /CFS-APPs-PROJECT/hk/fsw/mission_inc/project.pj
24-
** Revision 1.4 2015/03/04 14:58:32EST sstrege
25-
** Added copyright information
26-
** Revision 1.3 2010/05/21 16:02:37EDT jmdagost
27-
** Corrected performance ID to be the value specified in the CFS Standards doc (in decimal).
28-
** Revision 1.2 2010/04/09 13:20:48EDT jmdagost
29-
** Changed HK performance ID from 0x00000025 to 37. Also added doxygen comments similar to those in SC.
30-
** Revision 1.1 2008/05/02 12:18:41EDT rjmcgraw
31-
** Initial revision
32-
** Member added to project c:/MKSDATA/MKS-REPOSITORY/CFS-REPOSITORY/hk/fsw/mission_inc/project.pj
3327
**
3428
*************************************************************************/
3529
#ifndef _hk_perfids_h_

fsw/platform_inc/hk_msgids.h

Lines changed: 17 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,29 @@
11
/************************************************************************
2-
** File:
3-
** $Id: hk_msgids.h 1.2 2015/11/10 16:49:01EST lwalling Exp $
2+
** File: hk_msgids.h
43
**
5-
** Copyright © 2007-2014 United States Government as represented by the
6-
** Administrator of the National Aeronautics and Space Administration.
7-
** All Other Rights Reserved.
4+
** NASA Docket No. GSC-16,127-1, and identified as "Core Flight Software System
5+
** (CFS) Housekeeping Application Version 2”
86
**
9-
** This software was created at NASA's Goddard Space Flight Center.
10-
** This software is governed by the NASA Open Source Agreement and may be
11-
** used, distributed and modified only pursuant to the terms of that
12-
** agreement.
7+
** Copyright © 2007-2014 United States Government as represented by the
8+
** Administrator of the National Aeronautics and Space Administration. All Rights
9+
** Reserved.
10+
**
11+
** Licensed under the Apache License, Version 2.0 (the "License");
12+
** you may not use this file except in compliance with the License.
13+
** You may obtain a copy of the License at
14+
** http://www.apache.org/licenses/LICENSE-2.0
15+
**
16+
** Unless required by applicable law or agreed to in writing, software
17+
** distributed under the License is distributed on an "AS IS" BASIS,
18+
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19+
** See the License for the specific language governing permissions and
20+
** limitations under the License.
1321
**
1422
** Purpose:
1523
** The CFS Housekeeping (HK) Application Message IDs header file
1624
**
1725
** Notes:
1826
**
19-
** $Log: hk_msgids.h $
20-
** Revision 1.2 2015/11/10 16:49:01EST lwalling
21-
** Restore data lost in MKS 2010 from MKS 2009
22-
** Revision 1.1 2015/07/25 21:31:14EDT rperera
23-
** Initial revision
24-
** Member added to project /CFS-APPs-PROJECT/hk/fsw/platform_inc/project.pj
25-
** Revision 1.5 2015/03/04 14:58:29EST sstrege
26-
** Added copyright information
27-
** Revision 1.4 2008/09/17 15:50:29EDT rjmcgraw
28-
** DCR4040:1 Carriage return/line feed missing on some lines
29-
** Revision 1.3 2008/05/07 10:00:28EDT rjmcgraw
30-
** DCR1647:4 Removed the _CMD from HK_SEND_HK_CMD_MID
31-
** Revision 1.2 2008/04/28 11:02:26EDT rjmcgraw
32-
** DCR1647:1 Changed msg id values to CFS cpu1 assigned IDs
33-
** Revision 1.1 2008/04/23 11:39:38EDT rjmcgraw
34-
** Initial revision
35-
** Member added to CFS project
3627
**
3728
*************************************************************************/
3829
#ifndef _hk_msgids_h_

fsw/platform_inc/hk_platform_cfg.h

Lines changed: 20 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,29 @@
11
/************************************************************************
2-
** File:
3-
** $Id: hk_platform_cfg.h 1.2 2015/11/10 16:49:03EST lwalling Exp $
4-
**
5-
** Copyright © 2007-2014 United States Government as represented by the
6-
** Administrator of the National Aeronautics and Space Administration.
7-
** All Other Rights Reserved.
8-
**
9-
** This software was created at NASA's Goddard Space Flight Center.
10-
** This software is governed by the NASA Open Source Agreement and may be
11-
** used, distributed and modified only pursuant to the terms of that
12-
** agreement.
2+
** File: hk_platform_cfg.h
3+
**
4+
** NASA Docket No. GSC-16,127-1, and identified as "Core Flight Software System
5+
** (CFS) Housekeeping Application Version 2”
6+
**
7+
** Copyright © 2007-2014 United States Government as represented by the
8+
** Administrator of the National Aeronautics and Space Administration. All Rights
9+
** Reserved.
10+
**
11+
** Licensed under the Apache License, Version 2.0 (the "License");
12+
** you may not use this file except in compliance with the License.
13+
** You may obtain a copy of the License at
14+
** http://www.apache.org/licenses/LICENSE-2.0
15+
**
16+
** Unless required by applicable law or agreed to in writing, software
17+
** distributed under the License is distributed on an "AS IS" BASIS,
18+
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19+
** See the License for the specific language governing permissions and
20+
** limitations under the License.
1321
**
1422
** Purpose:
1523
** The CFS Housekeeping (HK) Application platform configuration header file
1624
**
1725
** Notes:
1826
**
19-
** $Log: hk_platform_cfg.h $
20-
** Revision 1.2 2015/11/10 16:49:03EST lwalling
21-
** Restore data lost in MKS 2010 from MKS 2009
22-
** Revision 1.1 2015/07/25 21:31:16EDT rperera
23-
** Initial revision
24-
** Member added to project /CFS-APPs-PROJECT/hk/fsw/platform_inc/project.pj
25-
** Revision 1.8 2015/03/04 14:58:29EST sstrege
26-
** Added copyright information
27-
** Revision 1.7 2012/08/15 18:32:39EDT aschoeni
28-
** Added ability to discard incomplete combo packets
29-
** Revision 1.6 2011/06/23 12:00:02EDT jmdagost
30-
** Moved HK_MISSION_REV from version header to here.
31-
** Revision 1.5 2010/05/06 15:32:55EDT jmdagost
32-
** Changed location of hk_cpy_tbl.tbl from /cf/ to /cf/apps/
33-
** Revision 1.4 2009/12/03 16:32:17EST jmdagost
34-
** Expanded comment on mempool size definition, corrected copy table filename.
35-
** Revision 1.3 2009/04/18 12:55:14EDT dkobe
36-
** Updates to correct doxygen comments
37-
** Revision 1.2 2008/05/07 09:55:22EDT rjmcgraw
38-
** DCR1647:3 Romoved the Hk from copy table name and runtime table name
39-
** Revision 1.1 2008/04/09 16:39:33EDT rjmcgraw
40-
** Initial revision
41-
** Member added to project c:/MKSDATA/MKS-REPOSITORY/CFS-REPOSITORY/hk/fsw/platform_inc/project.pj
4227
**
4328
*************************************************************************/
4429
#ifndef _hk_platform_cfg_h_
@@ -141,7 +126,7 @@
141126
** the #OS_MAX_PATH_LEN value.
142127
*/
143128

144-
#define HK_COPY_TABLE_FILENAME "/cf/apps/hk_cpy_tbl.tbl"
129+
#define HK_COPY_TABLE_FILENAME "/cf/hk_cpy_tbl.tbl"
145130

146131
/** \hkcfg Mission specific version number for HK application
147132
**

0 commit comments

Comments
 (0)