mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-08 05:39:09 -07:00
28 lines
453 B
C
28 lines
453 B
C
#pragma once
|
|
|
|
#include "continuity.h"
|
|
#include "fastpair.h"
|
|
#include "swiftpair.h"
|
|
|
|
union ProtocolCfg {
|
|
ContinuityCfg continuity;
|
|
FastpairCfg fastpair;
|
|
SwiftpairCfg swiftpair;
|
|
};
|
|
|
|
extern const Protocol* protocols[];
|
|
|
|
extern const size_t protocols_count;
|
|
|
|
typedef struct {
|
|
bool random_mac;
|
|
ProtocolCfg cfg;
|
|
} Payload;
|
|
|
|
struct Attack {
|
|
const char* title;
|
|
const char* text;
|
|
const Protocol* protocol;
|
|
Payload payload;
|
|
};
|