unleashed-firmware/applications/external/pacs_fuzzer/helpers/protocol.h
2023-06-06 16:22:32 +03:00

28 lines
No EOL
448 B
C

#pragma once
#include <stdint.h>
typedef enum {
DS1990,
Metakom,
Cyfral,
// Reserved
FuzzerProtoMax,
} FuzzerProtos;
struct ProtoDict {
const uint8_t* val;
const uint8_t len;
};
typedef struct ProtoDict ProtoDict;
struct FuzzerProtocol {
const char* name;
const uint8_t data_size;
const ProtoDict dict;
};
typedef struct FuzzerProtocol FuzzerProtocol;
extern const FuzzerProtocol fuzzer_proto_items[];