Loading...
Searching...
No Matches
secplus_v2.h
1#pragma once
2
3#include "base.h"
4#include "public_api.h"
5
6#define SUBGHZ_PROTOCOL_SECPLUS_V2_NAME "Security+ 2.0"
7
10
11extern const SubGhzProtocolDecoder subghz_protocol_secplus_v2_decoder;
12extern const SubGhzProtocolEncoder subghz_protocol_secplus_v2_encoder;
13extern const SubGhzProtocol subghz_protocol_secplus_v2;
14
20void* subghz_protocol_encoder_secplus_v2_alloc(SubGhzEnvironment* environment);
21
26void subghz_protocol_encoder_secplus_v2_free(void* context);
27
34SubGhzProtocolStatus
35 subghz_protocol_encoder_secplus_v2_deserialize(void* context, FlipperFormat* flipper_format);
36
41void subghz_protocol_encoder_secplus_v2_stop(void* context);
42
48LevelDuration subghz_protocol_encoder_secplus_v2_yield(void* context);
49
55void* subghz_protocol_decoder_secplus_v2_alloc(SubGhzEnvironment* environment);
56
61void subghz_protocol_decoder_secplus_v2_free(void* context);
62
67void subghz_protocol_decoder_secplus_v2_reset(void* context);
68
75void subghz_protocol_decoder_secplus_v2_feed(void* context, bool level, uint32_t duration);
76
82uint8_t subghz_protocol_decoder_secplus_v2_get_hash_data(void* context);
83
91SubGhzProtocolStatus subghz_protocol_decoder_secplus_v2_serialize(
92 void* context,
93 FlipperFormat* flipper_format,
94 SubGhzRadioPreset* preset);
95
102SubGhzProtocolStatus
103 subghz_protocol_decoder_secplus_v2_deserialize(void* context, FlipperFormat* flipper_format);
104
110void subghz_protocol_decoder_secplus_v2_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 types.h:84
Definition secplus_v2.c:31
Definition types.h:97
Definition secplus_v2.c:41
Definition types.h:129
Definition types.h:35