Change enum type to flag and add iso tp protocol
[src/low-level-can-generator.git] / src / openxc / can_message.hpp
index 98b38a5..555b47d 100755 (executable)
@@ -25,6 +25,7 @@ namespace openxc
                bool                                                    is_fd_;\r
                bool                                                    is_extended_;\r
                bool                                                    is_j1939_;\r
+               bool                                                    is_isotp_;\r
                uint32_t                                                length_;\r
                float                                                   min_value;\r
                float                                                   max_value;\r
@@ -38,6 +39,8 @@ namespace openxc
                bool is_extended() const;\r
                void is_j1939(const bool is_j1939);\r
                bool is_j1939() const;\r
+               void is_isotp(const bool is_isotp);\r
+               bool is_isotp() const;\r
                std::string     bus() const;\r
                bool bit_numbering_inverted() const;\r
                const std::vector<signal>& signals() const;\r