Loading...
Searching...
No Matches
star_line.h
1#pragma once
2
3#include "base.h"
4
5#define SUBGHZ_PROTOCOL_STAR_LINE_NAME "Star Line"
6
9
10extern const SubGhzProtocolDecoder subghz_protocol_star_line_decoder;
11extern const SubGhzProtocolEncoder subghz_protocol_star_line_encoder;
12extern const SubGhzProtocol subghz_protocol_star_line;
13
19void* subghz_protocol_decoder_star_line_alloc(SubGhzEnvironment* environment);
20
25void subghz_protocol_decoder_star_line_free(void* context);
26
31void subghz_protocol_decoder_star_line_reset(void* context);
32
39void subghz_protocol_decoder_star_line_feed(void* context, bool level, uint32_t duration);
40
46uint8_t subghz_protocol_decoder_star_line_get_hash_data(void* context);
47
55SubGhzProtocolStatus subghz_protocol_decoder_star_line_serialize(
56 void* context,
57 FlipperFormat* flipper_format,
58 SubGhzRadioPreset* preset);
59
66SubGhzProtocolStatus
67 subghz_protocol_decoder_star_line_deserialize(void* context, FlipperFormat* flipper_format);
68
74void subghz_protocol_decoder_star_line_get_string(void* context, FuriString* output);
Definition flipper_format.c:12
Definition string.c:4
Definition environment.c:4
Definition types.h:84
Definition star_line.c:22
Definition types.h:97
Definition star_line.c:33
Definition types.h:129
Definition types.h:35