mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 15:00:46 +00:00
23 lines
923 B
C
23 lines
923 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
typedef struct InfraredBruteForce InfraredBruteForce;
|
|
|
|
InfraredBruteForce* infrared_brute_force_alloc();
|
|
void infrared_brute_force_free(InfraredBruteForce* brute_force);
|
|
void infrared_brute_force_set_db_filename(InfraredBruteForce* brute_force, const char* db_filename);
|
|
bool infrared_brute_force_calculate_messages(InfraredBruteForce* brute_force);
|
|
bool infrared_brute_force_start(
|
|
InfraredBruteForce* brute_force,
|
|
uint32_t index,
|
|
uint32_t* record_count);
|
|
bool infrared_brute_force_is_started(InfraredBruteForce* brute_force);
|
|
void infrared_brute_force_stop(InfraredBruteForce* brute_force);
|
|
bool infrared_brute_force_send_next(InfraredBruteForce* brute_force);
|
|
void infrared_brute_force_clear_records(InfraredBruteForce* brute_force);
|
|
void infrared_brute_force_add_record(
|
|
InfraredBruteForce* brute_force,
|
|
uint32_t index,
|
|
const char* name);
|