Files
MeshCore-Solo/variants/techo/target.h
T

32 lines
925 B
C
Raw Normal View History

#pragma once
2025-03-27 19:34:16 +11:00
#define RADIOLIB_STATIC_ONLY 1
#include <RadioLib.h>
#include <helpers/radiolib/RadioLibWrappers.h>
#include <helpers/nrf52/TechoBoard.h>
#include <helpers/radiolib/CustomSX1262Wrapper.h>
#include <helpers/AutoDiscoverRTCClock.h>
2025-05-03 13:14:03 +10:00
#include <helpers/SensorManager.h>
#include <helpers/sensors/EnvironmentSensorManager.h>
2025-05-28 22:21:51 -07:00
#include <helpers/sensors/LocationProvider.h>
#ifdef DISPLAY_CLASS
#include <helpers/ui/GxEPDDisplay.h>
2025-08-08 15:34:58 +02:00
#include <helpers/ui/MomentaryButton.h>
#endif
extern TechoBoard board;
2025-03-27 19:34:16 +11:00
extern WRAPPER_CLASS radio_driver;
extern AutoDiscoverRTCClock rtc_clock;
extern EnvironmentSensorManager sensors;
#ifdef DISPLAY_CLASS
extern DISPLAY_CLASS display;
2025-08-08 15:34:58 +02:00
extern MomentaryButton user_btn;
#endif
bool radio_init();
2025-03-27 19:34:16 +11:00
uint32_t radio_get_rng_seed();
void radio_set_params(float freq, float bw, uint8_t sf, uint8_t cr);
void radio_set_tx_power(uint8_t dbm);
mesh::LocalIdentity radio_new_identity();