From 7ac14ddbaefe2c51f868a604a516cf5f9a553e0f Mon Sep 17 00:00:00 2001 From: Lutz Bichler Date: Wed, 23 Jul 2014 17:21:45 +0200 Subject: Service availability detection by service discovery is basically working, but: 1. A concept for handling the case of partly stopped (meaning not on all offered endpoints) services is needed. 2. The session counter should be incremented after successful send operations only. 3. The data structures used to within the RM need rework. There are too many interconnected (by shared pointers) maps. --- interface/vsomeip/primitive_types.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'interface') diff --git a/interface/vsomeip/primitive_types.hpp b/interface/vsomeip/primitive_types.hpp index 9ad4ff7..7a30033 100644 --- a/interface/vsomeip/primitive_types.hpp +++ b/interface/vsomeip/primitive_types.hpp @@ -7,6 +7,7 @@ #ifndef VSOMEIP_PRIMITIVE_TYPES_HPP #define VSOMEIP_PRIMITIVE_TYPES_HPP +#include #include namespace vsomeip { @@ -35,6 +36,10 @@ typedef uint8_t interface_version_t; typedef uint8_t byte_t; +// Addresses +typedef std::array< byte_t, 4 > ipv4_address_t; +typedef std::array< byte_t, 16 > ipv6_address_t; + } // namespace vsomeip #endif // VSOMEIP_PRIMITIVE_TYPES_HPP -- cgit v1.2.1