Commit Graph
104 Commits
Author SHA1 Message Date
rich 03bd0e7625 palm-client: Contacts shows the route only when known (not "flood" on nearly every row), so names get the room 2026-11-04 07:39:45 -05:00
rich 2643a2b40e palm-client: wrapping doesn't split a @[Name] mention across lines (it stays one chip) unless the mention alone is longer than the line 2026-11-04 07:39:45 -05:00
rich aa3a5da9fe palm-client: one DbOpen for the three stores (in vmcode4: frees 420 bytes of vmcode2; the channel cache is now backed up too); notes on why session.c stays in segment 1 and on AppLoadPrefs loading every module's prefs 2026-11-04 07:36:27 -05:00
rich 14c18b95ee docs: progress for the interruptible connect 2026-11-04 07:35:43 -05:00
rich 003860fa46 docs: progress for incremental contacts, ack expiry and check backoff 2026-11-04 07:23:39 -05:00
rich aedf6eb4c7 palm-client: a connect gives way to the user: a tap or key press stops it (before the radio answers) or skips the refresh steps left (after), instead of locking the app for up to 7 s 2026-11-04 07:23:36 -05:00
rich 73861a9f12 palm-client: closed-app checks that find no radio space out (doubling, up to an hour); a check or app session that reaches the radio restores the interval 2026-11-04 06:56:36 -05:00
rich 3edce2b5cd palm-client: the ack timeout check only scans the message store once the earliest deadline can have passed, not every poll 2026-11-04 06:56:36 -05:00
rich 745892d5f3 palm-client: reconnects download only the contacts changed since the last download (the first connect of a run is still a full refresh) 2026-11-04 06:56:36 -05:00
rich 8764e8823a docs: progress for the review fixes 2026-11-04 06:55:15 -05:00
rich 04346a4b7c palm-client: standard Edit menu on every screen with a text field; Contacts, Serial Ports and Screenshot shortcuts move off C, P and S 2026-11-03 18:20:37 -05:00
rich 35663f62af palm-client: channel history follows the channel's key when its slot changes, and is set aside when it's left; the new-messages marker survives old messages dropping off 2026-11-03 18:20:37 -05:00
rich da92a158bb palm-client: reply waits never pass a negative timeout (it could mean wait forever) 2026-11-03 18:20:37 -05:00
rich 1ff401f6e3 docs: progress for screenshots 2026-11-03 13:02:44 -05:00
rich 73430ad038 palm-client: screenshot sounds the error when the screen has no bitmap; make shots stops cleanly without the database 2026-11-03 11:50:10 -05:00
rich b9dc923e0f palm-client: screenshots (Options > Screenshot, Screenshot in 5 s; make shots)
The screen bits go into a VisorMeshShots record (shots.c, segment 1, no
globals: the delayed one runs from a procedure alarm inside whatever loop is
running, so menus and popups can be captured). make shots fetches the
database over HotSync and tools/shots.py writes PNGs to build/shots/.
2026-11-03 11:48:13 -05:00
rich dafd6166ac docs: progress for pins 2026-11-03 11:41:58 -05:00
rich 663a91d9c3 palm-client: pin channels too; pinned conversations get their own section on Home
Pins hold the conversation type and key (prefs v2; v1 DM pins carry over).
PinsGroup (segment 4) moves pinned rows into a Pinned section at the top,
channels then DMs, and drops sections left empty.
2026-11-03 11:40:05 -05:00
rich 3fd932da4f palm-client: pin DMs to the top of Home's Direct list (tap and hold: Pin/Unpin)
Pins are kept by key prefix (pins.c, segment 4, up to 8), so they work for
senders who aren't contacts; those get a Pin-only popup. Pinned DMs sort
first, most recent first among themselves; the rest keep their order.
2026-11-03 11:31:44 -05:00
rich 9cca51a8dd palm-client: tap and hold a DM on Home for Contact Info, Reset Path, Remove Contact
The contact screen's Reset Path and Remove become ContactResetPath/ContactRemove
for any contact. Unknown senders fall back to a tap. The popup now flips above
the row against the list's bottom, not the row's (it always opened below).
2026-11-03 11:23:08 -05:00
rich a11d20bfe0 AGENTS.md: workflow, build, bench and Palm OS rules for coding agents 2026-11-03 11:20:48 -05:00
rich c0f364a89c docs: progress for tap-and-hold 2026-11-03 11:17:26 -05:00
rich aa09b1800d palm-client: tap and hold a channel on Home for Mute/Unmute, Channel Scope, Leave
RowList gets an optional hold callback: the pen still (3 px) on a row for half
a second unhighlights it, and lifting calls the callback (DMs fall back to a
tap). The channel actions take a slot, with the menu versions wrapping them.
2026-11-03 11:11:30 -05:00
rich 7b2f10343c docs: progress for the background message check 2026-11-03 11:09:24 -05:00
rich be2d287ab2 palm-client: background check opens the channel and contact lists
Without them every channel lookup failed: the alert showed 'Channel N', channel
messages sounded as private and muted channels weren't skipped.
2026-11-03 10:55:55 -05:00
rich e3a3aa376e palm-client: new-message alert lists the count per conversation; icon from meshcore-visor-hair-1.png
Checks add the messages they pulled (outside muted channels) to a pending
table in unsaved prefs, with names looked up while they have globals; the
display launch lists up to five conversations and 'N more elsewhere'.
make_icon.sh takes a PNG and thresholds the 1-bit icons instead of dithering.
2026-11-03 10:48:53 -05:00
rich 3ccbb6599f palm-client: background check tells the app is open by a feature, not SysCurAppDatabase
In the alarm launch SysCurAppDatabase names VisorMesh itself, so every check
was skipped as 'app open' (status stayed 'Not checked yet').
2026-11-03 08:56:31 -05:00
rich 297a53ac49 palm-client: exiting keeps a pending background-check alarm (the time Preferences showed) 2026-11-03 08:46:53 -05:00
rich 33867c9ffe palm-client: menus split into Go / Channel / Options, per screen
Channel menu only on Home (Add) and in a channel conversation (Add, Leave,
Mute, Scope); DMs and the other screens get Go and Options. The Contacts
list now has the menu too.
2026-11-03 08:45:07 -05:00
rich 966b0bdc1b palm-client: app icon from meshcore-visor-hair.svg (tools/make_icon.sh); background check status on Preferences
The alarm now stays set while the app is open (checks skip) and is set as
soon as the interval changes; each check records what it got to, shown as
'Last 8:11 no radio, next 8:16'.
2026-11-03 08:37:52 -05:00
rich 531697479c palm-client: check for messages while closed (alarm every 5-60 min, Preferences > Check when closed)
The alarm launch sublaunches the app with globals to connect without the
channel/contact refresh, sync queued messages and play the sound; new
messages keep the alarm for display, which shows an alert with Open.
Untested on the device.
2026-11-03 07:23:16 -05:00
rich 2eda7e1212 palm-client: fourth code segment (map, flood scopes); title status no longer leaves text behind 2026-11-02 13:12:30 -05:00
rich 6dd623f778 palm-client: glyphs for 12 common emoji, tap an emoji to see it enlarged 2026-11-02 13:07:01 -05:00
rich ae4d8453d8 palm-client: contact keys and unknown-sender prefixes in hex without StrPrintF (showed zeros) 2026-11-02 12:39:35 -05:00
rich deec3112d4 palm-client: Map screen with an OSM basemap (tools/make_map.py) and positioned nodes 2026-11-02 12:33:52 -05:00
rich f0ef46bef5 palm-client: failed marker on Home follows the newest outgoing message 2026-11-02 11:20:56 -05:00
rich 7c4473bcb5 palm-client: flood scopes (list, radio default, per-channel scope, discover from neighbouring repeaters) 2026-11-02 11:17:44 -05:00
rich 1c3c9c3b25 fonts README: where 5x8.bdf comes from 2026-11-02 10:58:33 -05:00
rich b57c51feb7 palm-client: mute channels and a larger text option (5x8 font) on a Preferences screen 2026-11-02 10:58:16 -05:00
rich 04dc47664b palm-client: interrupt-driven SB-LoRa receive (slot IRQ handler drains the SC16IS740 into a ring) 2026-11-02 10:44:19 -05:00
rich beff26b28e palm-client: notification sounds per event kind, with a Sounds screen 2026-11-02 10:38:42 -05:00
rich dbf8995433 docs/reference: Handspring SDK (HsExt.h, Springboard docs and tools) 2026-11-02 10:28:07 -05:00
rich 4c66088eff palm-client: check for an SB-LoRa module with HsCardAttrGet before bus access; shorter Node-screen errors 2026-11-02 10:25:36 -05:00
rich f877fdddb1 palm-client: don't restore the Slot link at launch (empty slot bus error reset the Visor on every launch) 2026-11-02 10:14:12 -05:00
rich ab583ff4dc palm-client: SB-LoRa transport (bus SPI, SC16IS740 driver, Slot link) with simulated-carrier tests 2026-11-02 10:03:51 -05:00
rich 80a0c90954 palm-client: bridge.sh to start, stop and check the Visor USB bridge 2026-11-02 09:55:11 -05:00
rich 8d8cd563d1 progress: repeater admin console and contact screens verified on the Neo 2026-11-02 07:21:41 -05:00
rich 4068473ad1 palm-client: admin console for repeaters and rooms (CLI, status, telemetry)
Login on a repeater opens the console (rooms: More > Admin Console). A
command line sends CLI commands (SEND_TXT_MSG with txt_type CLI); replies,
which the radio delivers as CLI-type DMs, go to the console instead of the
conversation. Status (SEND_STATUS_REQ -> 0x87) shows the repeater's
RepeaterStats: battery, uptime, queue, noise, last RSSI/SNR, packet counts,
airtime, dups and errors. Telem (SEND_TELEMETRY_REQ -> 0x8B) decodes the
Cayenne LPP readings. Cmds lists common commands and Read settings (ten
gets); items ending in ... go into the command line to finish. One request
at a time, the rest queued; no answer is reported after the radio's
estimate plus 8 s.

remote_fmt.c (builders, parsers, text) is pure C and host-tested; the
console and screen are in segment 3 (12.4 KB).
2026-11-02 07:17:03 -05:00
rich fe5064cdab palm-client: contact detail with signal history, room login, add contact by key
Contact detail (new screen, segment 3): type, route, last advert, the full
key, and every time the radio heard the node directly with SNR/RSSI.
Message, Login (rooms and repeaters, password prompt), More: Reset Path,
Remove.

Signal history comes from the radio's RX log pushes (0x88), which it
already sends for every packet: a zero-hop advert names its sender; a
flooded packet's last path hash names the repeater we heard it from.
Hearings of the same node within a minute merge. 48 entries, kept in an
unsaved preference across launches. Parser host-tested, including
transport codes and direct routes (no 'from').

Rooms: Message logs in first if needed (SEND_LOGIN, then the
LOGIN_SUCCESS/FAIL push, waiting as long as the radio estimates). Room
posts are signed messages: the author's 4-byte prefix is now parsed and
the transcript shows the author's name instead of the room's.

Add Contact (Contacts > Add): name, type and 64-hex-digit key, sent with
ADD_UPDATE_CONTACT with an unknown path, for messaging a node whose advert
hasn't been heard.
2026-11-01 21:55:52 -05:00
rich 55b77c84a7 palm-client: third code section (vmcode3); checker resolves COFF symbol sections
visormesh.def adds vmcode3 and sections.h VM_SECT3, ahead of new screens
(segment 2 is at 27 KB). check_sections.py checks every extra section, and
now maps COFF symbols' (sec N) to section names: before, it only resolved
section symbols such as .text, not named ones. sect2.py takes --sect3.
2026-11-01 21:49:29 -05:00