mirror of
https://protopirate.net/ProtoPirate/ProtoPirate.git
synced 2026-08-18 11:49:44 +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)
38 lines
1.2 KiB
C
38 lines
1.2 KiB
C
#include "../protopirate_protocol_plugins.h"
|
|
#include "../protocols_common.h"
|
|
#include "../ford_v1.h"
|
|
#include "../ford_v2.h"
|
|
#include "../ford_v3.h"
|
|
#include "../honda_v2.h"
|
|
|
|
static const SubGhzProtocol* const protopirate_protocol_registry_fm_f4_items[] = {
|
|
&ford_protocol_v1,
|
|
&ford_protocol_v2,
|
|
&ford_protocol_v3,
|
|
&honda_v2_protocol,
|
|
};
|
|
|
|
static const SubGhzProtocolRegistry protopirate_protocol_registry_fm_f4 = {
|
|
.items = protopirate_protocol_registry_fm_f4_items,
|
|
.size = sizeof(protopirate_protocol_registry_fm_f4_items) /
|
|
sizeof(protopirate_protocol_registry_fm_f4_items[0]),
|
|
};
|
|
|
|
static const ProtoPirateProtocolPlugin protopirate_fm_f4_plugin = {
|
|
.plugin_name = "ProtoPirate FM F4 Registry",
|
|
.kind = ProtoPirateProtocolPluginKindRx,
|
|
.route = ProtoPirateProtocolRegistryRouteFMF4,
|
|
.registry = &protopirate_protocol_registry_fm_f4,
|
|
.release = NULL,
|
|
};
|
|
|
|
static const FlipperAppPluginDescriptor protopirate_fm_f4_plugin_descriptor = {
|
|
.appid = PROTOPIRATE_PROTOCOL_PLUGIN_APP_ID,
|
|
.ep_api_version = PROTOPIRATE_PROTOCOL_PLUGIN_API_VERSION,
|
|
.entry_point = &protopirate_fm_f4_plugin,
|
|
};
|
|
|
|
const FlipperAppPluginDescriptor* protopirate_fm_f4_plugin_ep(void) {
|
|
return &protopirate_fm_f4_plugin_descriptor;
|
|
}
|