Jakub
f5b3213f80
Merge upstream/main (v1.16.0) into wio-unified
...
Merge 254 upstream commits. Highlights relevant to the Wio fork: native
NRF52 companion power-saving (sleep when !hasPendingWork), preamble 16->32
for SF<9, generic sensor-registration model, CMD_SEND_RAW_PACKET, isEink()
display abstraction, KEEP_DISPLAY_ON_USB, contacts-sync/transient fixes.
Conflicts resolved (11 files):
- buzzer.h/.cpp: keep NRF52 include guard + our begin()->startup(); fold in
upstream doc comment.
- platformio (wio + eink): keep our slim env layout, add upstream kiss_modem
env (+ debug_tool=stlink on eink ble).
- GxEPDDisplay.h: take upstream isEink() override.
- EnvironmentSensorManager.h: take upstream's wider #if guard.
- DataStore.cpp: take upstream saveContacts(filter) signature, keep our
::openWrite (member openWrite would shadow the global 2-arg overload).
- main.cpp: keep our watchdog init + add board.onBootComplete(); adopt
upstream's `if(!hasPendingWork()) sleep` loop.
- MyMesh.h: version -> v1.16-solo.0, build date 6 Jun 2026.
- MyMesh.cpp: keep both CMD codes (SCREENSHOT 66 + RAW_PACKET 65), both field
inits, both handlers, our screenshot fns + upstream saveContacts/save_filter,
upstream hasPendingWork() + our MyMeshBot include.
- UITask.cpp: keep our solo splash/clock page/snprintf/buzzer init; merge
auto-off (+ opt-in KEEP_DISPLAY_ON_USB); merge low-batt shutdown (our EMA +
prefs threshold + upstream's !isExternalPowered() guard and eink-aware delay).
Post-merge drift fixes (upstream API/architecture changes, not conflicts):
- applyTxPower(): radio_set_tx_power() removed upstream -> radio_driver.setTxPower().
- Sensor refactor dropped the per-sensor *_initialized flags our
getAvailableLPPTypes() relied on; removed that override and the SENSORS page
now derives available LPP types from the populated sensors_lpp buffer.
README kept ours via .gitattributes merge=ours. Builds verified on all 5 Wio
envs (dual, eink dual, radio_ble, dual_dev, eink_dual_dev). Not yet
hardware-verified.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-06 17:21:41 +02:00
Jakub
c3846ba9f5
feat(wio-tracker-l1): add settings screen and companion radio improvements
...
Settings screen (UI_HAS_JOYSTICK_UPDOWN build variant):
- Display brightness (5 levels, contrast curve tuned for SH1106 non-linearity)
- Buzzer on/off (respected at startup, no more forced unmute)
- TX power (2–22 dBm)
- Auto-off delay (5s / 15s / 30s / 60s / never)
- GPS update interval (off / 30s / 1min / 5min / 15min / 30min)
- Timezone offset (UTC-12..+14) for clock screen
- Low battery auto-shutdown threshold (off / 3.0–3.5V, default 3.4V)
- Battery display mode (icon / % / voltage)
Battery:
- EMA filter (alpha=0.2) on ADC readings to smooth voltage spikes from uneven load
- Battery % calculated using low_batt_mv as 0% anchor
- Mute icon repositions dynamically based on battery display width
Clock screen on HomeScreen showing time/date with timezone support.
Build:
- _settings variants added for USB and BLE companion radio builds
- Automatic UF2 generation on every build via create-uf2.py post-script
- UI_HAS_JOYSTICK_UPDOWN flag guards joystick_up/down to avoid breaking other boards
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-13 21:09:46 +02:00
Scott Powell
0a8a0a4904
* Refactor: removed duplicated radio_rng_seed(), radio_set_params(), radio_set_tx_power()
2026-05-01 14:47:07 +10:00
OverkillFPV
958204c7f1
Merge branch 'dev' into lora-longer-preamble
2026-04-16 20:43:46 +10:00
overkillfpv
f0ec5d2ae7
changed to set the preamble on radio settings change
2026-03-29 21:45:16 +11:00
João Brázio
9a95e25ef2
Remove unused RX boosted gain mode functions and related preprocessor directives across multiple variants
2026-03-05 18:38:57 +00:00
João Brázio
71136671bd
Implement remote lna toggle cli cmd
2026-02-10 15:02:23 +00:00
Wessel Nieboer
d0720c63c2
Allow negative tx power
...
Like SX1262 allows -9 dBm lowest, some allow lower but that probably
isn't useful
2026-02-06 02:24:51 +01:00
Florent
7d62a27836
uitask: bring back buzzer toggle on tracker l1
2025-10-18 13:40:01 +02:00
Scott Powell
cd920693ec
* UITask: new UI_HAS_JOYSTICK
...
* MomentaryButton: new constructor 'multiclick' param
* WIoTrackerL1: now just use joystick, joystick press for KEY_ENTER, no multi-click for snappier UI
2025-10-16 17:33:22 +11:00
Florent
f9543bb7bb
tracker_l1: support for EnvironmentSensorManager
2025-09-21 22:14:22 +02:00
taco
cb8ca91d27
WioTrackerL1: add joystick left and right for new UI
2025-08-17 19:01:28 +10:00
taco
86671c0ff8
Support NewUI on WioTrackerL1
2025-08-16 09:29:48 +10:00
taco
78cd655789
Seeed Wio Tracker L1: initial support
2025-07-11 01:08:38 +10:00