Use newly generated cpp file with default encoders
[apps/agl-service-can-low-level.git] / examples / basic / application-generated.cpp
index 88ee94b..f4fddf0 100644 (file)
@@ -1,6 +1,6 @@
 #include "application.hpp"
 #include "../can/can-decoder.hpp"
-
+#include "../can/can-encoder.hpp"
 
 // >>>>> handlers.cpp >>>>>
 #include "can/canread.h"
@@ -22,7 +22,7 @@ void initializeMyStuff() { }
 void initializeOtherStuff() { }
 
 void myLooper() {
-    // this function will be called once each time through the main loop, after
+    // this function will be called once, each time through the main loop, after
     // all CAN message processing has been completed
 }
 
@@ -145,7 +145,8 @@ application_t::application_t()
                                        1.00000f,
                                        handleObd2Pid,
                                        nullptr,
-                                       true
+                                       true,
+                                       false
                                })}
 ,                              {std::make_shared<diagnostic_message_t>(diagnostic_message_t{
                                        12,
@@ -156,7 +157,8 @@ application_t::application_t()
                                        1.00000f,
                                        nullptr,
                                        nullptr,
-                                       true
+                                       true,
+                                       false
                                })}
 ,                              {std::make_shared<diagnostic_message_t>(diagnostic_message_t{
                                        6,
@@ -167,7 +169,8 @@ application_t::application_t()
                                        1.00000f,
                                        handleMyDiagRequest,
                                        nullptr,
-                                       true
+                                       true,
+                                       false
                                })}
 
                        } // end diagnostic_messages_ vector