Loading...
Searching...
No Matches
scher_khan.h
1#pragma once
2
3#include "base.h"
4
5#define SUBGHZ_PROTOCOL_SCHER_KHAN_NAME "Scher-Khan"
6
9
10extern const SubGhzProtocolDecoder subghz_protocol_scher_khan_decoder;
11extern const SubGhzProtocolEncoder subghz_protocol_scher_khan_encoder;
12extern const SubGhzProtocol subghz_protocol_scher_khan;
13
19void* subghz_protocol_decoder_scher_khan_alloc(SubGhzEnvironment* environment);
20
25void subghz_protocol_decoder_scher_khan_free(void* context);
26
31void subghz_protocol_decoder_scher_khan_reset(void* context);
32
39void subghz_protocol_decoder_scher_khan_feed(void* context, bool level, uint32_t duration);
40
46uint8_t subghz_protocol_decoder_scher_khan_get_hash_data(void* context);
47
55SubGhzProtocolStatus subghz_protocol_decoder_scher_khan_serialize(
56 void* context,
57 FlipperFormat* flipper_format,
58 SubGhzRadioPreset* preset);
59
66SubGhzProtocolStatus
67 subghz_protocol_decoder_scher_khan_deserialize(void* context, FlipperFormat* flipper_format);
68
74void subghz_protocol_decoder_scher_khan_get_string(void* context, FuriString* output);
Definition flipper_format.c:12
Definition string.c:4
Definition environment.c:4
Definition types.h:84
Definition scher_khan.c:23
Definition types.h:97
Definition scher_khan.c:33
Definition types.h:129
Definition types.h:35