Files
Momentum-Firmware/lib/subghz/protocols/protocol_items.c
T
956MB 7e47619047 Exclude a few SubGHz protocols to save flash space
This branch consolidates several [PRs](https://github.com/Next-Flip/Momentum-Firmware/issues?q=is:pr+is:open+author:956MB) (UI fixes and additions) into a usable build. Flash space is extremely low as is, and excluding some weather stations and other SubGHz protocols is necessary to be able to fit these PRs and allow for further changes. The ones that have been *temporarily* excluded are hopefully uncommon or legacy protocols that won't be missed if you're using this branch. The point of this branch being primarily UI features.

* #327
* #344
* #354
* #385

Excluded protocols:

* Uncommon/Regional gate, garage, and alarm protocols: `nero_sketch`, `nero_radio`, `ido`, `kia`, `power_smart`, `doitrand`, `ansonic`, `smc5326`, `linear_delta3`, `dooya`, `kinggates_stylo_4k`, `dickert_mahs`, `hay21`, `feron`, `elplast`, `schrader_gg4`, `tpms_generic`.
* Obscure weather-station protocols: `solight_te44`, `infactory`, `acurite_986`, `auriol_ahfl`, `auriol_hg0601a`, `emos_e601x`, `gt_wt_02`, `gt_wt_03`, `kedsum_th`, `nexus_th`, `oregon_v1`, `thermopro_tx4`, `tx_8300`, `vauno_en8822c`, `wendox_w6726`.
2026-01-02 12:37:35 -06:00

101 lines
2.9 KiB
C

#include "protocol_items.h" // IWYU pragma: keep
const SubGhzProtocol* const subghz_protocol_registry_items[] = {
// Core
&subghz_protocol_raw,
&subghz_protocol_bin_raw,
&subghz_protocol_princeton,
// Garage/Gate
&subghz_protocol_keeloq,
&subghz_protocol_came,
&subghz_protocol_came_twee,
&subghz_protocol_came_atomo,
&subghz_protocol_nice_flo,
&subghz_protocol_nice_flor_s,
&subghz_protocol_chamb_code,
&subghz_protocol_secplus_v1,
&subghz_protocol_secplus_v2,
&subghz_protocol_linear,
&subghz_protocol_marantec,
&subghz_protocol_marantec24,
&subghz_protocol_somfy_telis,
&subghz_protocol_somfy_keytis,
&subghz_protocol_hormann,
&subghz_protocol_hormann_bisecur,
&subghz_protocol_alutech_at_4n,
&subghz_protocol_faac_slh,
&subghz_protocol_phoenix_v2,
&subghz_protocol_star_line,
&subghz_protocol_gate_tx,
&subghz_protocol_bett,
&subghz_protocol_scher_khan,
&subghz_protocol_gangqi,
&subghz_protocol_roger,
&subghz_protocol_revers_rb2,
&subghz_protocol_holtek,
&subghz_protocol_holtek_th12x,
&subghz_protocol_clemsa,
&subghz_protocol_magellan,
// Established Regional
&subghz_protocol_x10,
&subghz_protocol_pocsag,
&subghz_protocol_intertechno_v3,
&subghz_protocol_legrand,
&subghz_protocol_honeywell,
&subghz_protocol_honeywell_wdb,
&subghz_protocol_mastercode,
&subghz_protocol_megacode,
&subghz_protocol_hollarm,
// &subghz_protocol_nero_sketch,
// &subghz_protocol_nero_radio,
// &subghz_protocol_ido,
// &subghz_protocol_kia,
// &subghz_protocol_power_smart,
// &subghz_protocol_doitrand,
// &subghz_protocol_ansonic,
// &subghz_protocol_smc5326,
// &subghz_protocol_linear_delta3,
// &subghz_protocol_dooya,
// &subghz_protocol_kinggates_stylo_4k,
// &subghz_protocol_dickert_mahs,
// &subghz_protocol_hay21,
// &subghz_protocol_feron,
// &subghz_protocol_elplast,
// Weather Station
&ws_protocol_oregon2,
&ws_protocol_oregon3,
&ws_protocol_lacrosse_tx,
&ws_protocol_acurite_5n1,
&ws_protocol_ambient_weather,
&ws_protocol_bresser_3ch,
&ws_protocol_acurite_592txr,
&ws_protocol_acurite_606tx,
&ws_protocol_acurite_609txc,
&ws_protocol_lacrosse_tx141thbv2,
// &ws_protocol_infactory,
// &ws_protocol_thermopro_tx4,
// &ws_protocol_nexus_th,
// &ws_protocol_gt_wt_02,
// &ws_protocol_gt_wt_03,
// &ws_protocol_acurite_986,
// &ws_protocol_solight_te44,
// &ws_protocol_auriol_th,
// &ws_protocol_oregon_v1,
// &ws_protocol_tx_8300,
// &ws_protocol_wendox_w6726,
// &ws_protocol_auriol_ahfl,
// &ws_protocol_kedsum_th,
// &ws_protocol_emose601x,
// &ws_protocol_vauno_en8822c,
};
const SubGhzProtocolRegistry subghz_protocol_registry = {
.items = subghz_protocol_registry_items,
.size = COUNT_OF(subghz_protocol_registry_items)};