Skip to content

Feat/user btn wake up#1

Open
weebl2000 wants to merge 612 commits into
csrutil:feat/user-btn-wake-upfrom
weebl2000:feat/user-btn-wake-up
Open

Feat/user btn wake up#1
weebl2000 wants to merge 612 commits into
csrutil:feat/user-btn-wake-upfrom
weebl2000:feat/user-btn-wake-up

Conversation

@weebl2000
Copy link
Copy Markdown

No description provided.

liamcottle and others added 30 commits January 15, 2026 06:36
slot overwrite logic can now safely use contact.lastmod to find oldest contact for overwrite
fix: bump max contacts for heltec v3 companion usb
set the default TX power to 7dBm to avoid illegal power output by default.
Add Variant rak3401 (for new 1W booster kit)
As described on meshcore-dev#1276, tested and working on my heltec wireless paper v1.2
…wer-changes

Change the Station G2's default TX power
Remove _serial->isConnected() logic from buzzer notifications
weebl2000 and others added 26 commits February 28, 2026 19:09
… LNA operation

The RAK13302 1W module uses a Skyworks SKY66122-11 front-end module with
three digital control pins (CSD, CTX, CPS) that must be actively driven
by the host MCU. The previous code only managed CTX (GPIO 31) — toggling
it for TX/RX — but never initialized CSD (GPIO 24) or CPS (GPIO 21),
leaving them floating with no pull-up/pull-down resistors on the PCB.

With floating CSD and CPS, the SKY66122 was in an undefined operating
mode:
- The 30 dB TX PA may not have been reliably engaging
- The 16 dB RX LNA was never reliably active, degrading receive
sensitivity
1. warm sleep
2. wake to stdby
3. Calibrate(0x7F) to reset all internal blocks
4. re-apply DIO2 RF / boosted gain & register patch to make sure
everything is as it was
Similar to SX126x but simpler.
Pin mapping verified against HTIT-Tracker V0.5 schematic:
- GPIO35 (GPS_EN): N-ch MOSFET drives P-ch high-side switch, active HIGH
- GPIO36 (GPS_RST): hardware reset, active LOW
- GPIO33/34: UART TX/RX

Delegates power management to MicroNMEALocationProvider begin()/stop()
which independently controls GPS power via GPS_EN and shares VEXT with
the display through RefCountedDigitalPin.
On the T114, GPS_RESET (pin 38) is the same pin as PIN_3V3_EN.
MicroNMEALocationProvider::begin() sets pin 38 HIGH (powering the 3V3
rail) but stop() never set it back LOW, leaving the GPS module powered
even when disabled.

Assert reset pin in stop() to mirror begin(), and guard
_location->loop() behind gps_active check.

Fixes meshcore-dev#1628
Filter auto-add of new contacts by hop count (issues meshcore-dev#1533, meshcore-dev#1546).
Setting is configurable from the companion app via extended
CMD_SET/GET_AUTOADD_CONFIG protocol (0 = no limit, 1-63 = max hops).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Change > to >= so stored value 1 means direct/0-hop only (liamcottle)
- Clamp max_hops to 63 on write since getPathHashCount() caps at 63 (robekl)
- Update comments to reflect encoding: 0=no limit, 1=direct only, N=up to N-1 hops

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…er-by-hops

Add configurable max hops filter for auto-add contacts
…racker_gps

Support GPS properly on Heltec Wireless Tracker v1.x
…_lna

Hold GC1109 PA_POWER during deep sleep for LNA RX wake
…r-leak

Fix GPS UART consuming +8mA when disabled (nRF52)
…122-11-fem

Fix RAK3401 SKY66122-11 FEM control: enable CSD/CPS for proper PA/LNA operation
fix agc reset on SX126x, SX1276 & LR11x0 chips
csrutil pushed a commit that referenced this pull request Mar 8, 2026
…md: Categorising section 5.14. "Q: Are there are projects built around MeshCore?""

docs/faq.md: Categorising section 5.14. "Q: Are there are projects built around MeshCore?"
csrutil pushed a commit that referenced this pull request Apr 28, 2026
Fix remote LNA toggle bugs: correct register comparison, add missing implementation & wire up companion radio
csrutil pushed a commit that referenced this pull request Apr 28, 2026
Update from Main repo's dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.