2023-11-03 18:28:34 +00:00
|
|
|
#ifndef APP_CHFRSCANNER_H
|
|
|
|
#define APP_CHFRSCANNER_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
// scan direction, if not equal SCAN_OFF indicates
|
|
|
|
// that we are in a process of scanning channels/frequencies
|
|
|
|
extern int8_t gScanStateDir;
|
|
|
|
extern bool gScanKeepResult;
|
|
|
|
extern bool gScanPauseMode;
|
|
|
|
|
2023-11-27 21:52:54 +00:00
|
|
|
#ifdef ENABLE_SCAN_RANGES
|
|
|
|
extern uint32_t gScanRangeStart;
|
2023-12-16 13:46:01 +00:00
|
|
|
extern uint32_t gScanRangeStop;
|
2023-11-27 21:52:54 +00:00
|
|
|
#endif
|
|
|
|
|
2023-11-03 18:28:34 +00:00
|
|
|
void CHFRSCANNER_Found(void);
|
|
|
|
void CHFRSCANNER_Stop(void);
|
|
|
|
void CHFRSCANNER_Start(const bool storeBackupSettings, const int8_t scan_direction);
|
|
|
|
void CHFRSCANNER_ContinueScanning(void);
|
|
|
|
|
|
|
|
#endif
|