Change can_message_t class usage for new j1939
[apps/agl-service-can-low-level.git] / low-can-binding / diagnostic / diagnostic-manager.hpp
index 26c869e..64a19d7 100644 (file)
@@ -84,7 +84,7 @@ public:
 
        // Decoding part
        openxc_VehicleMessage relay_diagnostic_response(active_diagnostic_request_t* adr, const DiagnosticResponse& response, const uint64_t timestamp);
-       openxc_VehicleMessage relay_diagnostic_handle(active_diagnostic_request_t* entry, const can_message_t& cm);
-       openxc_VehicleMessage find_and_decode_adr(const can_message_t& cm);
-       bool is_diagnostic_response(const can_message_t& cm);
+       openxc_VehicleMessage relay_diagnostic_handle(active_diagnostic_request_t* entry, std::shared_ptr<message_t> m);
+       openxc_VehicleMessage find_and_decode_adr(std::shared_ptr<message_t> m);
+       bool is_diagnostic_response(std::shared_ptr<message_t> m);
 };