- 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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
- 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>
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>
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>
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>
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>
- 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>
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.
FixesALLFATHER-BV/wadamesh#801
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Michael A. Cojocari <michael.cojocari@gmail.com>