|
| 1 | +/************************************************************************ |
| 2 | + * NASA Docket No. GSC-18,719-1, and identified as “core Flight System: Bootes” |
| 3 | + * |
| 4 | + * Copyright (c) 2020 United States Government as represented by the |
| 5 | + * Administrator of the National Aeronautics and Space Administration. |
| 6 | + * All Rights Reserved. |
| 7 | + * |
| 8 | + * Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 9 | + * not use this file except in compliance with the License. You may obtain |
| 10 | + * a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | + * |
| 12 | + * Unless required by applicable law or agreed to in writing, software |
| 13 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | + * See the License for the specific language governing permissions and |
| 16 | + * limitations under the License. |
| 17 | + ************************************************************************/ |
| 18 | + |
| 19 | +/** |
| 20 | + * @file |
| 21 | + * CI_LAB Application Public Definitions |
| 22 | + * |
| 23 | + * This provides default values for configurable items that affect |
| 24 | + * the interface(s) of this module. This includes the CMD/TLM message |
| 25 | + * interface, tables definitions, and any other data products that |
| 26 | + * serve to exchange information with other entities. |
| 27 | + * |
| 28 | + * @note This file may be overridden/superceded by mission-provided defintions |
| 29 | + * either by overriding this header or by generating definitions from a command/data |
| 30 | + * dictionary tool. |
| 31 | + */ |
| 32 | +#ifndef CI_LAB_INTERFACE_CFG_H |
| 33 | +#define CI_LAB_INTERFACE_CFG_H |
| 34 | + |
| 35 | +/** |
| 36 | + * @brief The base UDP port where CI_LAB will listen for incoming messages |
| 37 | + * |
| 38 | + * In order to allow multiple instances of CFE to run on the same host, the |
| 39 | + * processor number - 1 is added to this value. This, if this is set to |
| 40 | + * "1234", then the following ports will be used at runtime: |
| 41 | + * |
| 42 | + * Processor 1: port 1234 |
| 43 | + * Processor 2: port 1235 |
| 44 | + * Processor 3: port 1236 |
| 45 | + * |
| 46 | + * And so forth for however many processor numbers exist in the system |
| 47 | + */ |
| 48 | +#define CI_LAB_BASE_UDP_PORT 1234 |
| 49 | + |
| 50 | +#endif |
0 commit comments