mirror of
https://github.com/BotChain-Robots/firmware.git
synced 2026-07-08 17:47:21 +02:00
21 lines
393 B
C++
21 lines
393 B
C++
|
|
|
|
#ifndef OTAPACKETUILDER_H
|
|
#define OTAPACKETBUILDER_H
|
|
|
|
#include <vector>
|
|
|
|
#include "flatbuffers/flatbuffers.h"
|
|
#include "flatbuffers_generated/OTAPacket_generated.h"
|
|
|
|
namespace Flatbuffers {
|
|
|
|
class OTAPacketBuilder{
|
|
public:
|
|
OTAPacketBuilder() {}
|
|
static const Messaging::OTAPacket *parse_ota_packet(const uint8_t *buffer);
|
|
};
|
|
} // namespace Flatbuffers
|
|
|
|
#endif // OTAPACKETBUILDER_H
|