mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Enabled pocsag
This commit is contained in:
@@ -364,6 +364,15 @@ const SubGhzProtocolDecoder subghz_protocol_pocsag_decoder = {
|
||||
.get_string = subhz_protocol_decoder_pocsag_get_string,
|
||||
};
|
||||
|
||||
const SubGhzProtocolEncoder subghz_protocol_pocsag_encoder = {
|
||||
.alloc = NULL,
|
||||
.free = NULL,
|
||||
|
||||
.deserialize = NULL,
|
||||
.stop = NULL,
|
||||
.yield = NULL,
|
||||
};
|
||||
|
||||
const SubGhzProtocol subghz_protocol_pocsag = {
|
||||
.name = SUBGHZ_PROTOCOL_POCSAG_NAME,
|
||||
.type = SubGhzProtocolTypeStatic,
|
||||
@@ -371,4 +380,5 @@ const SubGhzProtocol subghz_protocol_pocsag = {
|
||||
SubGhzProtocolFlag_Load,
|
||||
|
||||
.decoder = &subghz_protocol_pocsag_decoder,
|
||||
.encoder = &subghz_protocol_pocsag_encoder,
|
||||
};
|
||||
|
||||
@@ -60,7 +60,7 @@ const SubGhzProtocol* subghz_protocol_registry_items[] = {
|
||||
&ws_protocol_tx_8300,
|
||||
&ws_protocol_wendox_w6726,
|
||||
&ws_protocol_auriol_ahfl,
|
||||
// &subghz_protocol_pocsag,
|
||||
&subghz_protocol_pocsag,
|
||||
&tpms_protocol_schrader_gg4,
|
||||
&subghz_protocol_bin_raw,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user