summaryrefslogtreecommitdiff
path: root/components/rvi_common/include/rvi_msgpack_rpc.hrl
diff options
context:
space:
mode:
Diffstat (limited to 'components/rvi_common/include/rvi_msgpack_rpc.hrl')
-rw-r--r--components/rvi_common/include/rvi_msgpack_rpc.hrl17
1 files changed, 17 insertions, 0 deletions
diff --git a/components/rvi_common/include/rvi_msgpack_rpc.hrl b/components/rvi_common/include/rvi_msgpack_rpc.hrl
new file mode 100644
index 0000000..91c54d8
--- /dev/null
+++ b/components/rvi_common/include/rvi_msgpack_rpc.hrl
@@ -0,0 +1,17 @@
+%% -*- mode: erlang; indent-tabs-mode: nil; -*-
+%%=============================================================================
+%%
+%% Copyright (C) 2015, Jaguar Land Rover
+%%
+%% This program is licensed under the terms and conditions of the
+%% Mozilla Public License, version 2.0. The full text of the
+%% Mozilla Public License is at https://www.mozilla.org/MPL/2.0/
+
+-define(CONNECT_TIMEOUT, 5000).
+-define(CALL_TIMEOUT, 5000).
+
+-define(TYPE_REQUEST, 0).
+-define(TYPE_RESPONSE, 1).
+-define(TYPE_NOTIFY, 2).
+
+-define(RPC_PORT, 8000).