X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=low-can-binding%2Fcan%2Fcan-decoder.hpp;h=2f7823ad8bd94ee433301e6a35d43f157033e99e;hb=542e3d732ec17e4c49d1059a9262f6535a7f3e62;hp=78de8ee1b4465a68db4761426d4816ddf986b0fe;hpb=96232f8f7cf8b93f1a3ef3ed9a4816c575cefe87;p=apps%2Fagl-service-can-low-level.git diff --git a/low-can-binding/can/can-decoder.hpp b/low-can-binding/can/can-decoder.hpp index 78de8ee1..2f7823ad 100644 --- a/low-can-binding/can/can-decoder.hpp +++ b/low-can-binding/can/can-decoder.hpp @@ -24,16 +24,18 @@ class decoder_t { public: + static int handle_sign(const signal_t& signal, std::vector& data_signal, uint8_t new_end_bit, const std::vector& can_data); static float parse_signal_bitfield(signal_t& signal, std::shared_ptr message); static openxc_DynamicField decode_state(signal_t& signal, std::shared_ptr message, bool* send); static openxc_DynamicField decode_boolean(signal_t& signal, std::shared_ptr message, bool* send); static openxc_DynamicField decode_ignore(signal_t& signal, std::shared_ptr message, bool* send); static openxc_DynamicField decode_noop(signal_t& signal, std::shared_ptr message, bool* send); + static openxc_DynamicField decode_bytes(signal_t& signal, std::shared_ptr message, bool* send); static openxc_DynamicField translate_signal(signal_t& signal, std::shared_ptr message, bool* send); static openxc_DynamicField decode_signal(signal_t& signal, std::shared_ptr message, bool* send); static float decode_obd2_response(const DiagnosticResponse* response, float parsed_payload); -}; \ No newline at end of file +};