Commit Graph
1391 Commits
Author SHA1 Message Date
TinkeringDao cc6ae5900a fix(m9): prevent TX sag and 20s publish hold from triggering false 3% shutoff
- On HAS_THINKNODE_M9, only snap batteryMvSampled()'s EMA on hardware
  charger state transitions (GPIO1 5V_TEST / GPIO8 DONE#) rather than
  >70 mV voltage steps, so a transient IR drop during a +22 dBm LR1110
  transmission is smoothed by the EMA instead of snapping downward.
- Sample batteryMvSampled() directly in pagerLowBatteryTick() rather
  than batteryMvSmoothed()'s 20 s held value, since the 3-read (6 s)
  debounce plus 10 s countdown (16 s total) is shorter than the 20 s
  hold window and would otherwise repeat a single sagged reading.

Signed-off-by: TinkeringDao <203040288+TinkeringDao@users.noreply.github.com>
2026-11-12 02:14:17 +01:00
Kaj SchittecatandClaude Opus 5.5 22314c74a9 touch: leave the SD emoji pack out of the T-LoRa Pager, whose app slot is full
The tagged beta_103 Pager image overflowed its 4,063,232-byte slot by 2 KB.
Without the pack the LR1121 image has 5 KB to spare. The Pager never had the
pack, so nothing is taken away.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 18:33:02 +01:00
Kaj SchittecatandClaude Opus 5.5 acde9730be touch: V4-R8 screen rotation, with a Keep prompt that falls back to portrait
The first boot in a landscape asks "Keep this orientation?" with one Keep
button in a corner and a 15 s countdown. Keep stores the choice; no tap, or a
restart before one, goes back to portrait, so a touch map that does not fit a
unit can never leave it stuck. Asked for on Discord by e4m7g6.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 17:11:25 +01:00
Kaj SchittecatandClaude Opus 5.5 4698b19a56 touch: File Transfer shows a progress bar, the share done and the time left
Asked for on Discord by benanderson. The time left uses the rate seen since the
transfer started, once it has run two seconds. Language store v33 snapshot
refreshed with the two new strings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 16:40:26 +01:00
Kaj SchittecatandClaude Opus 5.5 2e71e5b512 Merge #826: ThinkNode M9 board init, charger sense, 20 MHz SD, IMU/compass, LR1110 wrapper
Language rows from both sides kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 15:23:32 +01:00
TinkeringDao 63f40f27ed fix(m9): hardware init, charger sense, SD clock, IMU/compass, and LR1110 wrapper
Scope ThinkNode M9 board support and UI integration cleanly off main:
- variants/thinknode_m9: move M9LR1110Wrapper.h under variants/thinknode_m9 (matching Pager's CustomLR1121Wrapper.h pattern without shadowing core RadioLibWrappers.h) and calibrate LR1110 from STDBY_RC per Semtech SWDR001
- variants/thinknode_m9: 3-state USB VBUS + LGS4056HDA DONE# charger sense, ADC2 Wi-Fi contention filter, 20 MHz SD SPI clock, SPI CS pre-park, GPIO46 key LED mirror, deep-sleep wake/isolation, QMI8658A IMU gestures, MMC5603NJ auto-SR heading, and L76K GPS wake/ESD pin release
- src/main.cpp, DataStore.cpp, MyMesh.cpp, HardwareRtcClock.cpp, WadaNmeaLocationProvider.h, UITask.cpp: gate all M9/LR1110 paths under HAS_THINKNODE_M9 / HAS_M9_IMU / HAS_M9_KEYBOARD / USE_LR1110 so non-M9 targets retain identical RAM, flash, and SPIFFS behavior
- deploy/apps/lang/*.lang & test/test_m9_board.cpp: add .lang entries (leaving generated i18n_builtin.h untouched) and host unit tests for M9 board peripherals
2026-11-11 14:07:47 +01:00
Kaj SchittecatandClaude Opus 5.5 66315eb7e9 lua: http_get, http_post and request start the network worker themselves
All three run on the tile worker, which exists only once the map, the Store or
the update check has started it. An app opened from its launcher after a
reboot queued its fetch and never got a callback. Found on the T-Deck with
#788's request(); the older calls had the same gap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 12:23:47 +01:00
Kaj SchittecatandClaude Opus 5.5 838280ea24 apps: language store v33 (Chats filter, emoji tab names), builtin table regenerated
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 11:37:55 +01:00
Kaj SchittecatandClaude Opus 5.5 919af1cc47 Merge #616 (TerryTel93): emoji pack from the SD card, rebased on main
Follow-ups in the merge, from the review:
- emojiRememberRecent copies the picked text first: a Recent cell points into
  s_emoji_recent, and the shift overwrote it before the copy into slot 0.
- The text menu's Emoji opens the emoji set (it passed k_emoji_items, which
  marked the sheet as special characters, so nothing was remembered).
- Without a pack the picker is the plain grid it always was: no tabs, no
  Recent, and hearts never show as a "More" tab (they sit under Smileys).
- Removed wada_shape_flag_codepoint, which nothing called.
- emoji_data.c regenerated with the merged add-emoji.py (the eight bot emoji
  from beta_102 kept); the EmojiGlyph typedef stays on one line.
- .lang rows for the tab names in all 15 languages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 11:36:20 +01:00
Kaj SchittecatandClaude Opus 5.5 3558384ba7 lua: wada.net.request answers -1 without Wi-Fi or below 46 KB internal heap; store flush every 30 s under the watchdog guard (#788)
A Bluetooth-only boot never started lwIP, so a connect there asserts. A TLS
handshake on a short internal heap starves Wi-Fi's own buffers. The periodic
store flush runs on the UI thread and can hit SPIFFS garbage collection, the
beta_25 watchdog class, so it is guarded and rate-capped at 30 s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 11:31:51 +01:00
Kaj Schittecat 78f88efd2b Merge #788 (oumike): Cyberspace app, wada.net.request over verified https, wada.json, label:on_press 2026-11-11 11:31:51 +01:00
Kaj Schittecat 5da1ca2716 Merge #812 (zmiguel): exFAT microSD support 2026-11-11 11:29:45 +01:00
Michael A. CojocariandClaude Opus 5.5 9cf9982cba touch: Chats "U" unread-only filter; All / Channels / Direct becomes a dropdown (#824)
The Chats header gains a "U" chip (hint "Unread only") that narrows the list to
threads with unread messages, within whichever filter is active. Reading a thread
clears its count, so it drops out of the list on the way back from the chat.
The choice persists across reboots (touch prefs v73, one trailing byte, OFF by
default; v72 blobs migrate with it off).

All / Channels / Direct moves from three chips to one "▼ All" dropdown chip that
opens the same option sheet as the Contacts filter. The header now holds two
chips instead of three, and tightens chip padding before dropping the title.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01He9DHFAogA78DjoetZ19s6
Signed-off-by: Michael A. Cojocari <michael.cojocari@gmail.com>
2026-11-10 20:58:26 -05:00
Kaj SchittecatandClaude Opus 5.5 c96743dc3f touch: the GPS page keeps room for the receiver line (#778)
The status gained a third line while searching, but the height pinned for it
still assumed two, so the text was clipped. Its buffer also grows for
languages that need two bytes a letter.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 17:08:33 +01:00
Kaj SchittecatandClaude Opus 5.5 966190e9c7 touch: the GPS start is watched for as long as the receiver runs (#778)
A receiver still finishing an earlier stop goes on sending for a moment after
the start and then falls silent. One good sentence ended the repeats, so it
stayed silent until the GPS was next restarted. The check now keeps running
and starts it again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 17:02:44 +01:00
Kaj SchittecatandClaude Opus 5.5 e2b7b11281 apps: language store v32 (new rows for this round, translations from #631)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 15:26:11 +01:00
Kaj SchittecatandClaude Opus 5.5 4f4c11df5d Merge PR #631 (oumike: i18n: translations from #611)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 15:25:03 +01:00
Kaj SchittecatandClaude Opus 5.5 e295e0aa56 touch: wada.mesh.ping for Lua (#816), traces come back along their route, hidden TAK texts stay silent
wada.mesh.ping traces one repeater with no login and reports through
app.on_ping, gated like discover().

A trace ends at whoever hears its last forwarder, so a route trace to a
repeater behind other repeaters now runs out, through it and back. The Ping
fallback keeps the path from before the guest login, which resets it, and
only its own trace clears a waiting Ping.

Messages between TAK apps are now dropped before notify(), which runs ahead
of the chat code, so they no longer raise a chip or wake the screen. System
info shows the message counts, for #792.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 15:24:37 +01:00
Kaj SchittecatandClaude Opus 5.5 129b91a7aa touch: option to hide MediaMesh and TAK texts in chats
MeshCore Open TAK and Wadamesh TAK carry photos, voice, one-time-pad traffic
and team tracking as ordinary texts, which read as gibberish here. With the
new switch in Radio & Mesh, messages between apps are dropped before any
notification and the rest show as a short label that keeps the caption. Off
by default. Frames still reach a connected phone app.

The recognition rules are jade-on-mesh's, from their notes for Wadamesh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 14:12:26 +01:00
Kaj SchittecatandClaude Opus 5.5 fae96adfb4 touch: eight more emoji for a channel bot, repeater paths in the Lua SDK
Ice cube, the red, yellow, green and blue circles, oncoming car, hiking boot
and the police light render now. Noto moved its PNGs under 2D/, so the bake
script follows it.

on_message gains m.hops and m.path on floods, rx_log and on_packet gain
p.path on floods, and wada.mesh.repeats returns the repeaters heard as a
second value. Requested by jadestarwatcher on Discord.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 13:38:26 +01:00
Kaj SchittecatandClaude Opus 5.5 99067ffafa touch: the stepper row tag is declared on boards without keypad navigation (#815 follow-up); regenerated language table
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 12:14:18 +01:00
Kaj SchittecatandClaude Opus 5.5 3db63037f9 touch: a DM that only looks like a MeshCore One reaction stays a message (#795 follow-up), muted radar widget redraws its dots (#799 follow-up)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 11:48:54 +01:00
Kaj Schittecat fe853802e9 Merge PR #795 (oumike: touch: emoji reactions from MeshCore Open and MeshCore One read as reactions (#791)) 2026-11-10 11:48:32 +01:00
Kaj Schittecat a2c036aad7 Merge PR #799 (oumike: theme: Mute colours and animations (#798)) 2026-11-10 11:48:30 +01:00
Kaj Schittecat 52e8b0d81d Merge PR #784 (oumike): touch(T-Deck Pro): e-paper fonts, settings buttons, no status-bar name, chat header (#767) 2026-11-10 11:47:39 +01:00
Kaj Schittecat db1b57d9f0 Merge PR #782 (oumike): lang: Mark all as read translated in the chat list menu (#775) 2026-11-10 11:45:14 +01:00
Kaj SchittecatandClaude Opus 5.5 5af6e01e0e touch: T-Deck Max external antenna switch (#777), wada.sys.lock and contact favorites for Lua (#817), web port stays open for the browser client (#793 follow-up)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 11:45:13 +01:00
Kaj Schittecat d919d6911f Merge PR #793 (CarpeNoctem: web: close the 8765 listener when unused and require one on-screen code for every browser feature) 2026-11-10 11:44:18 +01:00
Kaj SchittecatandClaude Opus 5.5 8928b89208 touch: GPS start repeated until sentences flow, ten-minute first fix under the saver, GPS page says if the receiver talks (#778); trace hops are 1, 2 or 4 bytes (#818); Ping traces a repeater that refuses the login (#780); import logs why it failed (#822)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 11:44:16 +01:00
Kaj Schittecat 604ec28b0b Merge PR #772 (MrYoshii: pager: W/A/S/D pan the map, bottom menu hidden there) 2026-11-10 11:37:59 +01:00
Kaj Schittecat 7b74b476ca Merge PR #771 (MrYoshii: pager: Back on the Theme page offers an unapplied look) 2026-11-10 11:37:57 +01:00
Kaj Schittecat c7f717c4a9 Merge PR #770 (MrYoshii: pager: raise the microSD card to 20 MHz after mount) 2026-11-10 11:37:55 +01:00
Kaj Schittecat 9539d24df9 Merge PR #769 (MrYoshii: pager: knob detents and fast turns (fixes #643)) 2026-11-10 11:37:54 +01:00
Kaj Schittecat f5d193283a Merge PR #786 (Ender436: T-Deck Pro/Max: refresh lock screen every 5 minutes) 2026-11-10 11:37:52 +01:00
Kaj Schittecat b456297de0 Merge PR #815 (denmojo: touch(nav): LEFT/RIGHT on a settings stepper row press - and +) 2026-11-10 11:37:50 +01:00
Kaj Schittecat 6fc2699b7e Merge PR #814 (denmojo: m9: Volume steps for the buzzer (LEDC duty instead of tone())) 2026-11-10 11:37:48 +01:00
Kaj Schittecat d7a0526857 Merge PR #811 (jcyrio: M9: double-tap SPACE switches the keyboard language again) 2026-11-10 11:37:47 +01:00
Kaj Schittecat ce094e82a2 Merge PR #796 (oumike: touch: chat icon initials are the first letters of the first and last word (#785)) 2026-11-10 11:37:41 +01:00
Kaj Schittecat 26ac49c4ba Merge PR #802 (oumike: Hide the control-centre keyboard-light chip on older T-Deck keyboards) 2026-11-10 11:37:39 +01:00
Kaj Schittecat 62b7d7f2a6 Merge PR #779 (oumike: web: Contacts "Peers" leaves out rooms; add a "Rooms" filter (#776)) 2026-11-10 11:37:37 +01:00
Kaj Schittecat 10be07d169 Merge PR #783 (oumike: touch: the guest logins behind Ping and Telemetry flood at 1-byte hashes, like Admin (#780)) 2026-11-10 11:37:36 +01:00
Michael A. CojocariandCopilot 9a6850e6e2 touch(T-Deck Pro): chat back arrow works on the second header row (#767)
The chat-settings hit area spanned the whole second row and took the
back arrow's taps. It now starts right of the arrow, and the centred
picture and name keep clear of it.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-07 23:14:39 -05:00
Michael A. CojocariandCopilot 9255aec53b touch(T-Deck Pro): clock at the far left, two-row chat header, Normal-face battery window (#767)
- The clock holds the top row's far left corner on every page, an open
  chat included; the chat's top row (icons, battery, unread count) is
  the same as on every other page.
- An open chat gets a second header row: the back arrow at its far left,
  the chat's picture and name centred; the row opens the chat settings.
- The battery window keeps the Normal faces at every Text size (it was
  garbled at Huge).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-07 22:58:38 -05:00
Dennis M ee15057ee6 touch(nav): LEFT/RIGHT on a settings stepper row press - and +
Spatial ranking sent LEFT from a stepper's + to a switch on the row above and RIGHT to the next row's button, so a keypad user who had pressed + had to climb back up to reach - again. With - or + of a setStepperRow cluster focused, LEFT now focuses - and RIGHT focuses +, and an Enter tap goes through the nav keypad (the path OK takes, so a disabled button stays inert and the press shows); UP/DOWN leave the row, the rule a focused slider already follows. Covers every stepper row: Volume, Do Not Disturb From/Until, the custom UTC offset and battery capacity.

The T-Deck trackball's D-pad mode is left out: it samples a roll to its dominant axis, so a slightly sideways roll past a stepper row would otherwise change and save the setting. The cluster is tagged through its user data because the four LV_OBJ_FLAG_USER bits are all in use, and only the - and + children react. THINKNODE_M9_SHORTCUTS.md and the M9 and Tanmatsu sections of docs.html describe the slider and stepper keys.

Signed-off-by: Dennis M <denmojo@users.noreply.github.com>
2026-11-06 21:04:31 -08:00
Dennis M ab44bad7a4 m9: Volume steps for the buzzer (LEDC duty instead of tone())
The M9's piezo on GPIO9 was driven by tone(), a fixed 50% square wave, so the Sound page had no Volume row on this board. Drive it from LEDC channel 4 instead and scale the duty from the existing snd_vol pref (squared curve, 100% = the old 50% drive, 0% = no chime). The Volume stepper the codec boards already show now appears on the M9 too, and an M9 that never set a volume defaults to 100, so it sounds as before.

The prefs are read in v4BuzzerBeep on the UI/mesh loop and handed to the task, because every pref write closes and reopens the shared Preferences handle; at 0% no task is created. The chime's notes now live in one table that both the LEDC path and the Heltec V4's tone() path play, and the V4 keeps tone(). Comments, TouchPrefsSchema.h, M9_PORT.md and the Sound card in docs.html are updated to match.

Signed-off-by: Dennis M <denmojo@users.noreply.github.com>
2026-11-06 21:03:17 -08:00
José Valdiviesso c6ccb08d90 exFAT microSD support
Signed-off-by: José Valdiviesso <zmiguel.alves@gmail.com>
2026-11-06 18:38:40 +01:00
jcyrio ed4ee9cd11 UITask: the double-space comment names kDoubleSpaceMs, not 250 ms
Review follow-up: the comment above the toggle still said "within 250 ms",
which is only true off the M9. Comment only.

Signed-off-by: jcyrio <50239349+jcyrio@users.noreply.github.com>
2026-11-06 06:53:40 -07:00
jcyrioandClaude Opus 5.5 f281ffa228 M9: double-tap SPACE switches the keyboard language again
On beta_100 the M9's language shortcut never fired. handleHwKey switches
when two spaces arrive within 250 ms, but the M9's same-key guard (#671)
drops a second space that arrives inside its own window, which is up to
250 ms and exactly 250 ms right after boot. Every second tap fast enough
to switch was thrown away as a bounce.

On the M9 the second tap may now come up to kM9DoubleSpaceMs (the guard's
250 ms ceiling + 200 ms) after the first. A chatter repeat of one space
still falls inside the guard's window and is dropped, so a single press
cannot switch the language. Other boards keep 250 ms.

With the longer limit, a one-letter word typed quickly (" a ") would have
counted as a double tap, because the timer only looked at the last space.
Any other key now clears it, on every board, so only two spaces in a row
switch.

test_m9_keyboard: the second space gets past the guard and within the
limit at any pace, and a chattering space types one space.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: jcyrio <50239349+jcyrio@users.noreply.github.com>
2026-11-06 02:09:43 -07:00
Michael A. CojocariandCopilot 8956620d33 touch(T-Deck Pro): no lock wallpaper on e-paper, quieter badges, drop dirty log (#767)
- The lock screen always uses the built-in black-on-white view on the Pro.
  The Wallpaper row, its picker and the file manager's "Set as wallpaper"
  button are no longer built there, and a picture saved earlier is ignored.
- The Chats unread and Contacts discovered badges only change text or
  visibility when the value changes. They were redrawing every 250 ms
  tick whenever there were unread messages or discovered nodes.
- Remove the EPD_DIRTY_LOG diagnostics.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Michael A. Cojocari <michael.cojocari@gmail.com>
2026-11-04 12:13:24 -05:00
Michael A. CojocariandCopilot b24661fec3 Hide the control-centre keyboard-light chip on older T-Deck keyboards
Keyboard controller firmware before LilyGo's 2024-12-25 release has no
backlight command, so the chip did nothing (only Alt+B works there).
Hide it whenever the older keyboard protocol is in use, the same gate
that already hides Settings > Keyboard backlight (#382). The chip count
follows, so the tile grid stays laid out correctly.

Fixes ALLFATHER-BV/wadamesh#801

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Michael A. Cojocari <michael.cojocari@gmail.com>
2026-11-03 20:02:10 -05:00