Commit Graph
18 Commits
Author SHA1 Message Date
rich 8a118e4cac palm-client: USB link to the radio via the Visor's HsUd port and a Mac bridge
The Ports screen showed the Neo's Serial Manager drivers, including
'HsUd' (USB, the GENERIC port). The app gets a Serial/USB link switch
(USB default); Query radio retries since the bridge needs a moment to
attach, and SrmSendWait is gone (it can block over USB with no host).
tools/visor_bridge.py (stdlib + libusb via ctypes) finds the GENERIC
port from the Visor's connection info and forwards bytes to the radio's
serial port, logging each companion frame. Ports shows one line per
driver so all of them fit.
2026-11-01 11:32:22 -05:00
rich 259c666ad8 palm-client: Ports diagnostics screen; make editor for clangd
The Ports screen lists Serial Manager drivers (creator, feature flags,
max baud, description) to find which one reaches the USB cradle, as a
first step toward a USB bridge for testing before the boards arrive.
make editor copies the SDK headers out of the image and writes
compile_flags.txt so the editor stops flagging Palm OS types.
2026-11-01 11:24:36 -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 f1bd57a434 firmware: Makefile build at pinned MeshCore, fix I2C pin override
The patch's -UPIN_WIRE_* flags undefined the new values too (PlatformIO
emits -U after all -D), breaking Wire; use build_unflags instead.
Regenerate the patch against MeshCore a366955c. On Apple Silicon, pin the
native GCC 14 toolchain since the default GCC 7.2.1 is x86_64-only.
2026-11-01 11:01:04 -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 5163a3cd1c palm-client: README pilot-link build needs --enable-conduits for pilot-xfer 2026-11-01 10:41:44 -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 a9980648bf sb-lora: correct U1-U7 rotations in CPL for JLC part models
Checked in JLC's placement preview: U1, U2, U4 needed a 90 deg clockwise
turn (270) and U3, U5-U7 a 180 deg turn for pin 1 to land on the pin-1
pad. Y1 and D1 were already correct.
hw-v0.1
2026-10-30 14:23:39 -04:00
rich cf22b6dbde sb-lora: replace out-of-stock crystal with SX3B14.7456F2010F30 (C2901666)
SXT32413BA07 (C6264361) is out of stock at LCSC. Same 14.7456 MHz and
3225-4P footprint; 20 pF load vs 13 pF, so with the existing 22 pF caps
it runs a few tens of ppm high, which is irrelevant for UART timing.
2026-10-30 13:57:15 -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