summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeokhee Lee <seokhee.lee@lge.com>2021-03-05 18:17:43 +0900
committerSeokhee Lee <seokhee.lee@lge.com>2021-03-05 18:17:43 +0900
commitec8790cb9a6e5f443304a5b4506b7d5ddc47c2b6 (patch)
tree7e8dafd70741244df3916a09757df06bbc05a998
parent13f9c89ced6ffaeb1faf485152e27e1f40d234cd (diff)
downloadvSomeIP-ec8790cb9a6e5f443304a5b4506b7d5ddc47c2b6.tar.gz
Support REQUEST_ACK message type
This change supports REQUEST_ACK message type for SOMEIPSRV_ONWIRE_09 in OPEN Alliance Automotive Ethernet ECU Test Specification.
-rw-r--r--implementation/utility/include/utility.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/implementation/utility/include/utility.hpp b/implementation/utility/include/utility.hpp
index db54eb9..434ef11 100644
--- a/implementation/utility/include/utility.hpp
+++ b/implementation/utility/include/utility.hpp
@@ -36,9 +36,7 @@ public:
}
static inline bool is_request(message_type_e _type) {
- return ((_type < message_type_e::MT_NOTIFICATION)
- || (_type >= message_type_e::MT_REQUEST_ACK
- && _type <= message_type_e::MT_REQUEST_NO_RETURN_ACK));
+ return (_type < message_type_e::MT_NOTIFICATION);
}
static inline bool is_request_no_return(std::shared_ptr<message> _message) {