2023-06-06 19:13:41 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "registry.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern const SubGhzProtocolRegistry subghz_protocol_registry;
|
|
|
|
|
2023-07-06 15:15:03 +00:00
|
|
|
typedef struct SubGhzProtocolDecoderBinRAW SubGhzProtocolDecoderBinRAW;
|
|
|
|
|
|
|
|
bool subghz_protocol_secplus_v2_create_data(
|
|
|
|
void* context,
|
|
|
|
FlipperFormat* flipper_format,
|
|
|
|
uint32_t serial,
|
|
|
|
uint8_t btn,
|
|
|
|
uint32_t cnt,
|
|
|
|
SubGhzRadioPreset* preset);
|
|
|
|
|
|
|
|
bool subghz_protocol_keeloq_create_data(
|
|
|
|
void* context,
|
|
|
|
FlipperFormat* flipper_format,
|
|
|
|
uint32_t serial,
|
|
|
|
uint8_t btn,
|
|
|
|
uint16_t cnt,
|
|
|
|
const char* manufacture_name,
|
|
|
|
SubGhzRadioPreset* preset);
|
|
|
|
|
2023-07-10 16:59:25 +00:00
|
|
|
bool subghz_protocol_keeloq_bft_create_data(
|
|
|
|
void* context,
|
|
|
|
FlipperFormat* flipper_format,
|
|
|
|
uint32_t serial,
|
|
|
|
uint8_t btn,
|
|
|
|
uint16_t cnt,
|
|
|
|
uint32_t seed,
|
|
|
|
const char* manufacture_name,
|
|
|
|
SubGhzRadioPreset* preset);
|
|
|
|
|
2023-07-06 15:15:03 +00:00
|
|
|
void subghz_protocol_decoder_bin_raw_data_input_rssi(
|
|
|
|
SubGhzProtocolDecoderBinRAW* instance,
|
|
|
|
float rssi);
|
|
|
|
|
|
|
|
bool subghz_protocol_secplus_v1_check_fixed(uint32_t fixed);
|
|
|
|
|
2023-07-10 16:59:25 +00:00
|
|
|
bool subghz_protocol_faac_slh_create_data(
|
|
|
|
void* context,
|
|
|
|
FlipperFormat* flipper_format,
|
|
|
|
uint32_t serial,
|
|
|
|
uint8_t btn,
|
|
|
|
uint32_t cnt,
|
|
|
|
uint32_t seed,
|
|
|
|
const char* manufacture_name,
|
|
|
|
SubGhzRadioPreset* preset);
|
|
|
|
|
|
|
|
bool subghz_protocol_came_atomo_create_data(
|
|
|
|
void* context,
|
|
|
|
FlipperFormat* flipper_format,
|
|
|
|
uint32_t serial,
|
|
|
|
uint16_t cnt,
|
|
|
|
SubGhzRadioPreset* preset);
|
|
|
|
|
|
|
|
bool subghz_protocol_somfy_telis_create_data(
|
|
|
|
void* context,
|
|
|
|
FlipperFormat* flipper_format,
|
|
|
|
uint32_t serial,
|
|
|
|
uint8_t btn,
|
|
|
|
uint16_t cnt,
|
|
|
|
SubGhzRadioPreset* preset);
|
|
|
|
|
|
|
|
bool subghz_protocol_nice_flor_s_create_data(
|
|
|
|
void* context,
|
|
|
|
FlipperFormat* flipper_format,
|
|
|
|
uint32_t serial,
|
|
|
|
uint8_t btn,
|
|
|
|
uint16_t cnt,
|
|
|
|
SubGhzRadioPreset* preset,
|
|
|
|
bool nice_one);
|
|
|
|
|
|
|
|
bool subghz_protocol_alutech_at_4n_create_data(
|
|
|
|
void* context,
|
|
|
|
FlipperFormat* flipper_format,
|
|
|
|
uint32_t serial,
|
|
|
|
uint8_t btn,
|
|
|
|
uint16_t cnt,
|
|
|
|
SubGhzRadioPreset* preset);
|
|
|
|
|
2023-06-06 19:13:41 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|