mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-25 03:29:58 -07:00
30 lines
510 B
C
30 lines
510 B
C
#pragma once
|
|
|
|
#include "continuity.h"
|
|
#include "fastpair.h"
|
|
#include "smartthings.h"
|
|
#include "swiftpair.h"
|
|
|
|
union ProtocolCfg {
|
|
ContinuityCfg continuity;
|
|
FastpairCfg fastpair;
|
|
SmartthingsCfg smartthings;
|
|
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;
|
|
};
|