mirror of
https://protopirate.net/ProtoPirate/ProtoPirate.git
synced 2026-09-26 05:03:36 +00:00
- Split RX registries into more plugins: AM, AM VAG, FM, FM F4, and FM Honda1 - Add per-protocol TX plugins so emulation loads only the selected encoder - Sub Decode (enabled by default) and Timing Tuner as plugins - Max history increased to 20 signals - Fix Sub Decode and simplified UI - Add Check Saved setting ported from dexter_pester PR ! - Fix Fiat V1 decoder and add HITAG2 key TX support - Add Renault V0, Fiat V2, Honda V2, Ford V3 (& US variant) Thanks Ash Sorry this is a lot at once x)
23 lines
649 B
C
23 lines
649 B
C
#pragma once
|
|
|
|
#include <lib/flipper_application/flipper_application.h>
|
|
#include <lib/subghz/types.h>
|
|
#include "protocol_items.h"
|
|
|
|
#define PROTOPIRATE_PROTOCOL_PLUGIN_APP_ID "protopirate_protocol_plugins"
|
|
#define PROTOPIRATE_PROTOCOL_PLUGIN_API_VERSION 2U
|
|
|
|
typedef enum {
|
|
ProtoPirateProtocolPluginKindRx = 0,
|
|
ProtoPirateProtocolPluginKindTx,
|
|
} ProtoPirateProtocolPluginKind;
|
|
|
|
typedef struct {
|
|
const char* plugin_name;
|
|
ProtoPirateProtocolPluginKind kind;
|
|
ProtoPirateProtocolRegistryRoute route;
|
|
const char* protocol_name;
|
|
const SubGhzProtocolRegistry* registry;
|
|
void (*release)(void);
|
|
} ProtoPirateProtocolPlugin;
|