Loading...
Searching...
No Matches
holtek_ht12x.h
1#pragma once
2
3#include "base.h"
4
5#define SUBGHZ_PROTOCOL_HOLTEK_HT12X_NAME "Holtek_HT12X"
6
9
10extern const SubGhzProtocolDecoder subghz_protocol_holtek_th12x_decoder;
11extern const SubGhzProtocolEncoder subghz_protocol_holtek_th12x_encoder;
12extern const SubGhzProtocol subghz_protocol_holtek_th12x;
13
19void* subghz_protocol_encoder_holtek_th12x_alloc(SubGhzEnvironment* environment);
20
25void subghz_protocol_encoder_holtek_th12x_free(void* context);
26
33SubGhzProtocolStatus
34 subghz_protocol_encoder_holtek_th12x_deserialize(void* context, FlipperFormat* flipper_format);
35
40void subghz_protocol_encoder_holtek_th12x_stop(void* context);
41
47LevelDuration subghz_protocol_encoder_holtek_th12x_yield(void* context);
48
54void* subghz_protocol_decoder_holtek_th12x_alloc(SubGhzEnvironment* environment);
55
60void subghz_protocol_decoder_holtek_th12x_free(void* context);
61
66void subghz_protocol_decoder_holtek_th12x_reset(void* context);
67
74void subghz_protocol_decoder_holtek_th12x_feed(void* context, bool level, uint32_t duration);
75
81uint8_t subghz_protocol_decoder_holtek_th12x_get_hash_data(void* context);
82
90SubGhzProtocolStatus subghz_protocol_decoder_holtek_th12x_serialize(
91 void* context,
92 FlipperFormat* flipper_format,
93 SubGhzRadioPreset* preset);
94
101SubGhzProtocolStatus
102 subghz_protocol_decoder_holtek_th12x_deserialize(void* context, FlipperFormat* flipper_format);
103
109void subghz_protocol_decoder_holtek_th12x_get_string(void* context, FuriString* output);
Definition flipper_format.c:12
Definition string.c:4
Definition level_duration.h:15
Definition environment.c:4
Definition holtek_ht12x.c:30
Definition types.h:84
Definition holtek_ht12x.c:40
Definition types.h:97
Definition types.h:129
Definition types.h:35