#pragma once

#include <softbus_core/plugin/IParser.h>

namespace canopen {

class CanopenParser : public softbus::core::IParser {
public:
    softbus::core::ParseResult parseFrame(const uint8_t* data, std::size_t size,
                                          const std::string& sourceId) override;
    const char* protocolName() const override { return "canopen"; }
};

} // namespace canopen
