-
Notifications
You must be signed in to change notification settings - Fork 6
/
sbn_client_defs.h
28 lines (24 loc) · 1.08 KB
/
sbn_client_defs.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
/*
** GSC-18396-1, “Software Bus Network Client for External Process”
**
** Copyright © 2019 United States Government as represented by
** the Administrator of the National Aeronautics and Space Administration.
** No copyright is claimed in the United States under Title 17, U.S. Code.
** All Other Rights Reserved.
**
** Licensed under the NASA Open Source Agreement version 1.3
** See "NOSA GSC-18396-1.pdf"
*/
#ifndef _sbn_client_defs_h_
#define _sbn_client_defs_h_
/* Refer to sbn_cont_tbl.c to make sure port and ip_addr match
* SBN is running here: <- Should be in the platform config */
#define SBN_CLIENT_PORT 1234
#define SBN_CLIENT_IP_ADDR "127.0.0.1"
#define CFE_SBN_CLIENT_MSG_ID_TO_PIPE_ID_MAP_SIZE 32
#define SBN_HEARTBEAT_MSG 0xA0
#define CFE_SBN_CLIENT_MAX_MESSAGE_SIZE CFE_SB_MAX_SB_MSG_SIZE
#define CFE_SBN_CLIENT_MAX_MSG_IDS_PER_PIPE 4
#define CFE_PLATFORM_SBN_CLIENT_MAX_PIPES 5 /* CFE_PLATFORM_SB_MAX_PIPES could be used */
#define CFE_PLATFORM_SBN_CLIENT_MAX_PIPE_DEPTH 32
#endif /* _sbn_client_defs_h_ */