summaryrefslogtreecommitdiff
path: root/src/gateway/dlt_gateway.h
diff options
context:
space:
mode:
authorChristoph Lipka <clipka@jp.adit-jv.com>2016-01-20 14:57:57 +0900
committerGernot Wirschal <gernot.wirschal@bmw.de>2016-04-26 16:01:26 +0200
commitcc4517dcffc6e5fd66791fca486586ae9b948174 (patch)
tree4cea5f06acd0fd50823e66f758b6df51d38c79fd /src/gateway/dlt_gateway.h
parentc75c984cfb1c6d154b14ebfca64c8222c4013c6b (diff)
downloadDLT-daemon-cc4517dcffc6e5fd66791fca486586ae9b948174.tar.gz
MultiNode: Send control messages after connection
A list of control messages can be specified in the dlt_gateway.conf. These messages then are send immediately to the passive node after the connection has been established. Currently supported control messages are - GET_LOG_INFO - GET_SOFTWARE_VERSION Having the "SendControl" property is now mandatory for a passive node configuration, but the list of control messages might be empty. Signed-off-by: Christoph Lipka <clipka@jp.adit-jv.com> Change-Id: I0ae4501449bf264c2d6f32724b0f035926115611
Diffstat (limited to 'src/gateway/dlt_gateway.h')
-rw-r--r--src/gateway/dlt_gateway.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gateway/dlt_gateway.h b/src/gateway/dlt_gateway.h
index eacdf0b..255f855 100644
--- a/src/gateway/dlt_gateway.h
+++ b/src/gateway/dlt_gateway.h
@@ -163,6 +163,19 @@ int dlt_gateway_process_on_demand_request(DltGateway *g,
int connection_status,
int verbose);
+/**
+ * Send control message to passive node.
+ *
+ * @param con DltGatewayConnection
+ * @param g DltGateway
+ * @param daemon_local DltDaemonLocal
+ * @param verbose verbose flag
+ */
+void dlt_gateway_send_control_message(DltGatewayConnection *con,
+ DltGateway *g,
+ DltDaemonLocal *daemon_local,
+ int verbose);
+
/* _ONLY_ for development purposes */
void print_gateway_connection_details(const DltGateway *g);