Flipper Zero Firmware
Loading...
Searching...
No Matches
dickert_mahs.h
1#pragma once
2
3#include "base.h"
4
5#define SUBGHZ_PROTOCOL_DICKERT_MAHS_NAME "Dickert_MAHS"
6
9
10extern const SubGhzProtocolDecoder subghz_protocol_dickert_mahs_decoder;
11extern const SubGhzProtocolEncoder subghz_protocol_dickert_mahs_encoder;
12extern const SubGhzProtocol subghz_protocol_dickert_mahs;
13
20void* subghz_protocol_encoder_dickert_mahs_alloc(SubGhzEnvironment* environment);
21
26void subghz_protocol_encoder_dickert_mahs_free(void* context);
27
36SubGhzProtocolStatus
37 subghz_protocol_encoder_dickert_mahs_deserialize(void* context, FlipperFormat* flipper_format);
38
43void subghz_protocol_encoder_dickert_mahs_stop(void* context);
44
51LevelDuration subghz_protocol_encoder_dickert_mahs_yield(void* context);
52
59void* subghz_protocol_decoder_dickert_mahs_alloc(SubGhzEnvironment* environment);
60
65void subghz_protocol_decoder_dickert_mahs_free(void* context);
66
71void subghz_protocol_decoder_dickert_mahs_reset(void* context);
72
79void subghz_protocol_decoder_dickert_mahs_feed(void* context, bool level, uint32_t duration);
80
87uint8_t subghz_protocol_decoder_dickert_mahs_get_hash_data(void* context);
88
99SubGhzProtocolStatus subghz_protocol_decoder_dickert_mahs_serialize(
100 void* context,
101 FlipperFormat* flipper_format,
102 SubGhzRadioPreset* preset);
103
112SubGhzProtocolStatus
113 subghz_protocol_decoder_dickert_mahs_deserialize(void* context, FlipperFormat* flipper_format);
114
120void subghz_protocol_decoder_dickert_mahs_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 dickert_mahs.c:22
Definition types.h:84
Definition dickert_mahs.c:32
Definition types.h:97
Definition types.h:129
Definition types.h:35