Add T-Beam BPF (144-148 Mhz LoRa)

This commit is contained in:
Austin Lane
2026-02-20 19:07:18 -05:00
committed by Thomas Göttgens
parent d3a86841b9
commit 64f415dc0f
6 changed files with 165 additions and 0 deletions

View File

@@ -113,6 +113,11 @@ void RF95Interface::setTransmitEnable(bool txon)
/// \return true if initialisation succeeded.
bool RF95Interface::init()
{
#ifdef RF95_POWER_EN
digitalWrite(RF95_POWER_EN, HIGH);
pinMode(RF95_POWER_EN, OUTPUT);
#endif
RadioLibInterface::init();
#if defined(RADIOMASTER_900_BANDIT_NANO) || defined(RADIOMASTER_900_BANDIT)
@@ -336,6 +341,10 @@ bool RF95Interface::sleep()
setStandby(); // First cancel any active receiving/sending
lora->sleep();
#ifdef RF95_POWER_EN
digitalWrite(RF95_POWER_EN, LOW);
#endif
#ifdef RF95_FAN_EN
digitalWrite(RF95_FAN_EN, 0);
#endif

View File

@@ -194,6 +194,9 @@
#define HW_VENDOR meshtastic_HardwareModel_T_DECK_PRO
#elif defined(T_BEAM_1W)
#define HW_VENDOR meshtastic_HardwareModel_TBEAM_1_WATT
// Awaiting protobuf merge
// #elif defined(T_BEAM_BPF)
// #define HW_VENDOR meshtastic_HardwareModel_TBEAM_BPF
#elif defined(T_LORA_PAGER)
#define HW_VENDOR meshtastic_HardwareModel_T_LORA_PAGER
#elif defined(HELTEC_V4)