mirror of
https://protopirate.net/ProtoPirate/ProtoPirate.git
synced 2026-07-02 15:11:38 +00:00
62b31bfe95
- 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)
60 lines
1.8 KiB
C
60 lines
1.8 KiB
C
#include "../protopirate_protocol_plugins.h"
|
|
#include "../protocols_common.h"
|
|
#include "../chrysler_v0.h"
|
|
#include "../fiat_v0.h"
|
|
#include "../fiat_v1.h"
|
|
#include "../fiat_v2.h"
|
|
#include "../ford_v0.h"
|
|
#include "../ford_v3.h"
|
|
#include "../kia_v1.h"
|
|
#include "../kia_v2.h"
|
|
#include "../mazda_v0.h"
|
|
#include "../porsche_touareg.h"
|
|
#include "../psa.h"
|
|
#include "../renault_v0.h"
|
|
#include "../subaru.h"
|
|
#include "../star_line.h"
|
|
#include "../honda_v1.h"
|
|
|
|
static const SubGhzProtocol* const protopirate_protocol_registry_am_items[] = {
|
|
&chrysler_protocol_v0,
|
|
&fiat_protocol_v0,
|
|
&fiat_v1_protocol,
|
|
&fiat_v2_protocol,
|
|
&ford_protocol_v0,
|
|
&ford_protocol_v3,
|
|
&honda_v1_protocol,
|
|
&kia_protocol_v1,
|
|
&kia_protocol_v2,
|
|
&mazda_v0_protocol,
|
|
&porsche_touareg_protocol,
|
|
&psa_protocol,
|
|
&renault_v0_protocol,
|
|
&subaru_protocol,
|
|
&subghz_protocol_star_line,
|
|
};
|
|
|
|
static const SubGhzProtocolRegistry protopirate_protocol_registry_am = {
|
|
.items = protopirate_protocol_registry_am_items,
|
|
.size = sizeof(protopirate_protocol_registry_am_items) /
|
|
sizeof(protopirate_protocol_registry_am_items[0]),
|
|
};
|
|
|
|
static const ProtoPirateProtocolPlugin protopirate_am_plugin = {
|
|
.plugin_name = "ProtoPirate AM Default Registry",
|
|
.kind = ProtoPirateProtocolPluginKindRx,
|
|
.route = ProtoPirateProtocolRegistryRouteAMDefault,
|
|
.registry = &protopirate_protocol_registry_am,
|
|
.release = NULL,
|
|
};
|
|
|
|
static const FlipperAppPluginDescriptor protopirate_am_plugin_descriptor = {
|
|
.appid = PROTOPIRATE_PROTOCOL_PLUGIN_APP_ID,
|
|
.ep_api_version = PROTOPIRATE_PROTOCOL_PLUGIN_API_VERSION,
|
|
.entry_point = &protopirate_am_plugin,
|
|
};
|
|
|
|
const FlipperAppPluginDescriptor* protopirate_am_plugin_ep(void) {
|
|
return &protopirate_am_plugin_descriptor;
|
|
}
|