Flipper Developer Docs
Loading...
Searching...
No Matches
decoder.h
1
#pragma once
2
3
#include <stdbool.h>
4
#include <stdint.h>
5
#include <stddef.h>
6
7
#ifdef __cplusplus
8
extern
"C"
{
9
#endif
10
11
typedef
struct
SubGhzBlockDecoder
SubGhzBlockDecoder
;
12
13
struct
SubGhzBlockDecoder
{
14
uint32_t parser_step;
15
uint32_t te_last;
16
uint64_t decode_data;
17
uint8_t decode_count_bit;
18
};
19
25
void
subghz_protocol_blocks_add_bit(
SubGhzBlockDecoder
* decoder, uint8_t bit);
26
33
void
subghz_protocol_blocks_add_to_128_bit(
34
SubGhzBlockDecoder
* decoder,
35
uint8_t bit,
36
uint64_t* head_64_bit);
37
43
uint8_t subghz_protocol_blocks_get_hash_data(
SubGhzBlockDecoder
* decoder,
size_t
len);
44
45
#ifdef __cplusplus
46
}
47
#endif
SubGhzBlockDecoder
Definition
decoder.h:13
lib
subghz
blocks
decoder.h
Generated by
1.12.0