13#define SUBGHZ_SETTING_DEFAULT_PRESET_COUNT 4
21void subghz_setting_load(
SubGhzSetting* instance,
const char* file_path);
23size_t subghz_setting_get_frequency_count(
SubGhzSetting* instance);
25size_t subghz_setting_get_hopper_frequency_count(
SubGhzSetting* instance);
27size_t subghz_setting_get_preset_count(
SubGhzSetting* instance);
29const char* subghz_setting_get_preset_name(
SubGhzSetting* instance,
size_t idx);
31int subghz_setting_get_inx_preset_by_name(
SubGhzSetting* instance,
const char* preset_name);
33uint8_t* subghz_setting_get_preset_data(
SubGhzSetting* instance,
size_t idx);
35size_t subghz_setting_get_preset_data_size(
SubGhzSetting* instance,
size_t idx);
37uint8_t* subghz_setting_get_preset_data_by_name(
SubGhzSetting* instance,
const char* preset_name);
39bool subghz_setting_load_custom_preset(
41 const char* preset_name,
44bool subghz_setting_delete_custom_preset(
SubGhzSetting* instance,
const char* preset_name);
46uint32_t subghz_setting_get_frequency(
SubGhzSetting* instance,
size_t idx);
48uint32_t subghz_setting_get_hopper_frequency(
SubGhzSetting* instance,
size_t idx);
50uint32_t subghz_setting_get_frequency_default_index(
SubGhzSetting* instance);
52uint32_t subghz_setting_get_default_frequency(
SubGhzSetting* instance);
Definition subghz_setting.c:179