diff options
author | Frederic Berat <fberat@de.adit-jv.com> | 2016-01-28 11:28:34 +0100 |
---|---|---|
committer | Gernot Wirschal <gernot.wirschal@bmw.de> | 2016-04-28 10:52:02 +0200 |
commit | 4b9c4f26f805826c6ce3ec81792efbceff54e631 (patch) | |
tree | f054f026fbfcd13775d43d8ee62767dbad907b33 /src/gateway/dlt_gateway_types.h | |
parent | e1bdf1e7f1d2ac87a594abf8622f536d3ff4b0b9 (diff) | |
download | DLT-daemon-4b9c4f26f805826c6ce3ec81792efbceff54e631.tar.gz |
MultiNode: Add support for SerialHeader conf
The New SendSerialHeader configuration allows to define if a gateway
needs this serial header to be sent. It can be configured differently
for each gateway.
If the configuration is not available, the DLT global configuration is
used.
Signed-off-by: Frederic Berat <fberat@de.adit-jv.com>
Change-Id: If37cb0dfc7e765a1752e438e61c1622ffb7dbc4f
Diffstat (limited to 'src/gateway/dlt_gateway_types.h')
-rw-r--r-- | src/gateway/dlt_gateway_types.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gateway/dlt_gateway_types.h b/src/gateway/dlt_gateway_types.h index a328a0b..7c3d45e 100644 --- a/src/gateway/dlt_gateway_types.h +++ b/src/gateway/dlt_gateway_types.h @@ -100,14 +100,16 @@ typedef struct { int timeout_cnt; /* connection timeout counter */ int reconnect_cnt; /* reconnection counter */ int control_msgs[DLT_GATEWAY_MAX_STARTUP_CTRL_MSG]; /* msg IDs send on startup */ + int send_serial; /* Send serial header with control messages */ DltClient client; /* DltClient structure */ } DltGatewayConnection; /* DltGateway structure */ typedef struct { + int send_serial; /* Default: Send serial header with control messages */ DltGatewayConnection *connections; /* pointer to connections */ - int num_connections; /* number of connections */ + int num_connections; /* number of connections */ } DltGateway; #endif /* DLT_GATEWAY_TYPES_H_ */ |