Enabled pocsag

This commit is contained in:
HTotoo
2023-09-21 08:09:28 +02:00
parent 99b3d08f5b
commit 97e0c01bc3
2 changed files with 11 additions and 1 deletions

View File

@@ -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,
};

View File

@@ -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,
};