16 Commits
Author SHA1 Message Date
agessaman 7652ec5c26 kiss_modem: reach FEM gain through the board's radio.fem CLI commands
Boards own their FEM control through handleCommand() ("get/set
radio.fem.rxgain|txgain"). Use that instead of a parallel set of FEM
virtuals on MainBoard, so any board that implements the commands works
in KISS with no extra code.

- Remove the six FEM virtuals from MainBoard and the board overrides.
- KissModem talks to the board in one adapter. A gain counts as
  controllable only if "get" replies exactly "> on" or "> off". "set"
  is checked by reading the state back, never by its reply wording.
- SetFemState always replies with the read-back state once the
  requested bits pass the capability check.
- Guard the boards' prefs writes against a NULL store. KISS attaches
  no prefs, so "set radio.fem.*" would dereference NULL.
- Wio Tracker L1 1W TX gain is exposed again, matching its CLI.
2026-09-23 17:31:20 -07:00
Scott Powell b5b20a7738 * refactored 'FEM' commands for HeltecTrackerV2 & HeltecV4 2026-08-24 02:16:18 +10:00
Kevin Le 446e6b7d41 Fixed hibernate/powerOff for ESP32 boards to stay at uA 2026-07-05 23:47:27 +07:00
Quency-D 9641f7b2a2 Merge branch 'dev' into cli-lna-command 2026-04-25 15:28:07 +08:00
Marco bac05f985b Add Heltec V4 set adc.multiplier 2026-04-19 15:29:43 +02:00
Quency-D 1cc1b7fa58 Add v4 FEM LNA CLI control commands. 2026-03-24 10:48:15 +08:00
Quency-D 76952869c1 Fixed the compilation error of HeltecV4Board::begin. 2026-03-05 14:34:12 +08:00
Quency-D 0a55f83077 Merge branch 'dev' into dev-heltec-v4.3 2026-03-04 09:46:42 +08:00
Wessel Nieboer c7fd4ee9e2 Add 1ms delay after powering PA (cold-boot) 2026-02-28 19:05:31 +01:00
Wessel Nieboer 75730e60db Hold GC1109 PA_POWER during deep sleep for LNA RX wake
The GC1109 FEM needs its VFEM_Ctrl pin held HIGH during deep sleep
to keep the LNA active, enabling proper RX sensitivity for
wake-on-packet. Without this, the LNA is unpowered during sleep
and RX wake sensitivity is degraded by ~17dB.

Release RTC holds in begin() after configuring GPIO registers
(not before) to ensure glitch-free pin transitions on wake.

Trade-off: ~6.5mA additional sleep current for significantly
improved wake-on-packet range.
2026-02-28 19:05:31 +01:00
Quency-D 9c2fb042f6 Added version identification. 2026-02-27 16:49:00 +08:00
Quency-D ea13847dd5 add heltec v4.3 2026-02-26 17:47:03 +08:00
Quency-D 165b36bbf0 Add v4-tft code. 2026-01-26 13:48:15 +08:00
Scott Powell d1f1c2e15b Revert "add heltec_v4 tft expansion box"
This reverts commit 456c86795d.
2025-11-27 21:34:52 +11:00
Quency-D 456c86795d add heltec_v4 tft expansion box 2025-11-19 11:43:52 +08:00
Quency-D a126906276 add heltec_v4 board. 2025-09-22 19:58:27 +08:00