Use newly generated cpp file with default encoders
[apps/agl-service-can-low-level.git] / low-can-binding / binding / application-generated.cpp
index 8253c62..5a67d86 100644 (file)
@@ -1,10 +1,11 @@
 #include "application.hpp"
 #include "../can/can-decoder.hpp"
+#include "../can/can-encoder.hpp"
 
 application_t::application_t()
        : can_bus_manager_{utils::config_parser_t{"/etc/dev-mapping.conf"}}
        , can_message_set_{
-               {std::make_shared<can_message_set_t>(can_message_set_t{0,"example",
+               {std::make_shared<can_message_set_t>(can_message_set_t{0,"AGL Virtual Car",
                        { // beginning can_message_definition_ vector
                                {std::make_shared<can_message_definition_t>(can_message_definition_t{"ls",0x30,can_message_format_t::STANDARD,frequency_clock_t(5.00000f),true,
                                        { // beginning can_signals vector
@@ -39,7 +40,7 @@ application_t::application_t()
                                                        false,
                                                        {
                                                        },
-                                                       false,
+                                                       true,
                                                        nullptr,
                                                        nullptr,
                                                        false
@@ -57,7 +58,7 @@ application_t::application_t()
                                                        false,
                                                        {
                                                        },
-                                                       false,
+                                                       true,
                                                        nullptr,
                                                        nullptr,
                                                        false
@@ -75,7 +76,7 @@ application_t::application_t()
                                                        false,
                                                        {
                                                        },
-                                                       false,
+                                                       true,
                                                        nullptr,
                                                        nullptr,
                                                        false
@@ -429,7 +430,7 @@ application_t::application_t()
                                        0,
                                        0,
                                        UNIT::INVALID,
-                                       6.00000f,
+                                       5.00000f,
                                        decoder_t::decode_obd2_response,
                                        nullptr,
                                        true,
@@ -441,7 +442,7 @@ application_t::application_t()
                                        0,
                                        0,
                                        UNIT::INVALID,
-                                       6.00000f,
+                                       5.00000f,
                                        decoder_t::decode_obd2_response,
                                        nullptr,
                                        true,