From 4b9c4f26f805826c6ce3ec81792efbceff54e631 Mon Sep 17 00:00:00 2001 From: Frederic Berat Date: Thu, 28 Jan 2016 11:28:34 +0100 Subject: 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 Change-Id: If37cb0dfc7e765a1752e438e61c1622ffb7dbc4f --- src/gateway/dlt_gateway_types.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gateway/dlt_gateway_types.h') 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_ */ -- cgit v1.2.1