Commit Graph
24 Commits
Author SHA1 Message Date
rich 3f6cf7cc1c docs: upstream issues found so far (pilot-link, PilRC/prc-tools, MeshCore)
Evidence, workaround and suggested fix for each: pilot-link's macOS USB
open race and dead debug logging, PilRC's corrupt NFNT header, the
prc-tools multi-section traps, MeshCore's radio params not retuning until
reboot, the clock persisting through contact lastmods, and stale bytes in
unused GET_CHANNEL replies. Nothing has been filed yet.
2026-11-01 21:48:04 -05:00
rich bd7a9ec4b2 progress: compose, Unicode, line breaks, alerts and new divider verified on the Neo 2026-11-01 17:38:32 -05:00
rich 3e3edb1d4d progress: channels and wake-reconnect verified on the Neo 2026-11-01 17:19:50 -05:00
rich 5aa9a46dcf progress: clock fixed end to end; mentions and segments verified on the Neo 2026-11-01 16:11:54 -05:00
rich 74f2888477 palm-client: second code segment (protocol and text modules)
Code was 28.8 KB of the ~32 KB a single 68k code resource can reach.
visormesh.def declares section vmcode2; multigen generates the stub and
linker script; build-prc takes the name, creator and backup bit from the
.def. protocol.c and ui/text.c move there (segment 1 now 24.3 KB, segment
2 4.9 KB). Every function in them, static ones too, is declared VM_SECT2
so calls from segment 1 go through the __text__vmcode2 jump base, and
their two static const tables became plain data, since const data stays in
segment 1 where PC-relative code in segment 2 can't reach it. The rules
are in src/sections.h. Checked in the objects: no .text left in the moved
files, cross-segment calls go through the section bases.
2026-11-01 15:50:51 -05:00
rich 6c7061f3f1 palm-client: real UTC timestamps (UTC offset setting) and UTF-8 names
Palm OS 3.5's clock is local time with no zone, and SessionNow used it as
UTC: outgoing messages carried times hours off, contact ages all read
'now', and clock sync set the radio (which only moves forward) to the
wrong time. SessionNow now applies a UTC offset kept as an app preference
(default from prefMinutesWestOfGMT, editable in Settings as hours, quarter
hours allowed); display converts back with SessionLocalPalm. Changing the
offset re-syncs the radio clock.

Contact, channel and node names are converted from UTF-8 when stored;
names with emoji showed missing-glyph boxes.
2026-11-01 15:41:57 -05:00
rich 40412223a4 palm-client: shared tables must not be const (prc-tools puts const in code)
The transcript wrapped after a few characters on the Visor: gSmallFontWidths
was const, so prc-tools placed it in .text, but text.c reached it through an
extern declaration A5-relative (lea %a5@(0)) as if it were data, and read
garbage widths. The same applied to gPresets. Both generators now emit
non-const tables, with a note why. Host tests can't see this.
2026-11-01 15:34:13 -05:00
rich c04bebeb81 palm-client: MeshTerm-style screens: conversations, transcript, contacts, node
Home is now the conversation list (channels in slot order, then direct
conversations most recent first) with markers, unread badges, failed
marks, ages and previews; it connects on launch with the saved link.
The conversation screen shows day dividers, sender chips, time column,
wrapped text and SNR or delivery marks (pending, waiting for ack, acked,
failed), with a compose field, a UTF-8 byte counter, Send (or Graffiti
return), and tap-to-retry on failed messages. Contacts pins our node and
shows type marks, heard ages and routes; Message opens a DM. The old main
screen becomes Node with Advert and Done. One Options menu everywhere;
while connected the event loop polls every half second and posts a form
update when messages or contacts change.
2026-11-01 15:29:19 -05:00
rich 7d1c84f35d palm-client: offer a radio reboot after changing radio settings
Reception stayed dead after switching to PhillyMesh until the XIAO was
rebooted: SET_RADIO_PARAMS saves and reports the new values, but the
receiver only retunes on a restart. After a radio change, Settings asks
to reboot the radio (CMD_REBOOT + "reboot"; no reply), waits for it and
reconnects.
2026-11-01 15:10:07 -05:00
rich 5f268f4d0e progress: Node Settings verified on the Visor 2026-11-01 12:15:07 -05:00
rich c9f6aaeae4 Connect screen verified on the Visor; update bridge prompt 2026-11-01 11:57:44 -05:00
rich f4bab463d1 palm-client: USB bench link works end to end
Query radio on the Visor Neo got DEVICE_INFO from the XIAO via USB
cradle -> visor_bridge.py -> FTDI -> D6/D7 UART. The app's HsUd driver
sends on the Visor's HOTSYNC USB port (2), not GENERIC, so the bridge
listens on every port and replies on the one in use; stalled endpoints
are cleared instead of ending the session. The app waits after SrmOpen
and retries sends that time out while the bridge attaches. make install
stops the bridge, which would otherwise grab the Visor during HotSync.
2026-11-01 11:46:04 -05:00
rich 9fba1903af palm-client: protocol builders and parsers for the read-only commands
APP_START/SELF_INFO, GET_CONTACTS/CONTACT/END_OF_CONTACTS and
SYNC_NEXT_MESSAGE with v3 contact and channel message frames, laid out
per MeshCore MyMesh.cpp. Little-endian fields are assembled byte by byte
so they decode correctly on the big-endian 68k. Builders are checked
byte-for-byte against frames the real radio accepted; SELF_INFO and the
empty contact list are real captures (key and name redacted), contact
and message frames are synthetic. companion_query.py gains --text.
2026-11-01 11:20:35 -05:00
rich 829f544479 firmware: D6/D7 UART verified with an FT232R at 115200 8N1 2026-11-01 11:15:49 -05:00
rich e21bc642b1 firmware: enable USB companion link, add bench query tool; verified on XIAO
Flashed the UART companion build to the SB-LoRa XIAO. With
ENABLE_USB_INTERFACE it also answers over USB, so it can be tested and
configured without an adapter. companion_query.py (stdlib only) sends
CMD_DEVICE_QUERY and got DEVICE_INFO for MeshCore v1.17.1; that frame
is now a palm-client host test.
2026-11-01 11:05:42 -05:00
rich 7d1846e3c9 progress: VisorMesh runs on the Visor Neo 2026-11-01 10:54:15 -05:00
rich decded0375 palm-client: pilot-link patch for Visor USB on macOS, verified link
macOS briefly holds the Visor right after HotSync enumerates it, so
pilot-link's single USBDeviceOpen failed with kIOReturnExclusiveAccess
and the Visor reported the connection couldn't be established. The
patch retries the open for up to 2 s. pilot-xfer -l now lists the
Visor Neo's databases.
2026-11-01 10:52:12 -05:00
rich 6ff51bea14 palm-client: install from the dev Mac over USB, drop the remote sync host
pilot-link's macOS backend talks to the cradle through IOKit (port usb:),
so make install runs pilot-xfer locally.
2026-11-01 10:37:31 -05:00
rich f1159d6f48 palm-client: install via the Debian 13 Mac mini instead of a Pi
Rename pi-install.sh to cradle-install.sh, default SYNC_HOST to the
Mac mini, and look for pilot-link in ~/.local (it's no longer packaged
in Debian 13). make install now depends on all, so it works when the
build runs in Docker.
2026-11-01 10:32:20 -05:00
rich cc989cf357 palm-client: Docker toolchain, app scaffold and protocol framing
prc-tools-remix 2.3.6 + PilRC + Palm OS 3.5 SDK (pinned) in a Docker
image; make builds visormesh.prc there when the toolchain isn't local.
App has a main form whose Query button sends CMD_DEVICE_QUERY over the
Serial Manager transport. Companion framing is plain C with host tests.
make install pushes the .prc to a Pi with the USB cradle (untested).
2026-11-01 10:19:33 -05:00
rich a48a0ae90c design: target device is the Visor Neo with a USB cradle 2026-11-01 10:12:54 -05:00
rich 04079afe99 sb-lora: J1 is obsolete; document sourcing and drop unverified XKB substitute
Track the eBay NOS order and open questions about connector offset
variants and long-term supply in progress.md.
2026-11-01 10:08:51 -05:00
rich 3ec4770bf3 progress: SB-LoRa v0.1 ordered from JLCPCB 2026-10-30 14:48:49 -04:00
rich b1b2171852 Initial import: SB-LoRa v0.1 hardware, MeshCore UART patch, design docs
Organize the planning-session outputs into hardware/, firmware/,
palm-client/ and docs/, with design notes and a progress tracker.
2026-10-30 13:33:31 -04:00