9d868898ac7e32f26c91715788d565ea1419518a
Options > Add Channel: a #hashtag channel's key is the first 16 bytes of SHA-256 of its UTF-8 name, '#' included (companion_protocol.md: #test -> 9cd8fcf2...); a private channel is joined with its 32-hex-digit key. It goes in the first free slot via CMD_SET_CHANNEL and opens the new conversation. Options > Leave Channel empties the open channel's slot (empty name, zero secret) after asking. Creating a private channel isn't offered: the Visor has no good randomness for a key. SHA-256 is plain C in the second segment, host-tested against 'abc', the documented #test key and every padding boundary. Adds VmParseHex and VmBuildSetChannel with tests. sections.h leaves the attribute off under clang so the editor's checker stops flagging it.
VisorMesh
A MeshCore client for the Handspring Visor (Palm OS 3.5.2H3.0).
The Visor works as a terminal for a MeshCore companion radio. The radio (a Seeed XIAO nRF52840 with a Wio-SX1262) handles LoRa, routing and crypto. The Visor only speaks the companion framing protocol over a byte stream. The radio sits on a custom Springboard module with its own LiPo, so it keeps meshing while the Visor sleeps.
See docs/design.md for the architecture and the reasons behind each decision, and docs/progress.md for the current status and log.
Repo layout
| Path | What |
|---|---|
hardware/sb-lora/ |
SB-LoRa Springboard carrier board: KiCad, fab outputs (JLCPCB), generator scripts. See its README |
firmware/ |
Patches to MeshCore: companion firmware on the XIAO's hardware UART (D6/D7) |
palm-client/ |
Palm OS client app (.prc), not started yet |
docs/design.md |
Architecture, protocol notes and decisions |
docs/progress.md |
Status, milestones and a dated log |
docs/reference/ |
Third-party reference: Handspring Springboard dev guide and mechanical spec, springSD v1.1 hardware |
Versioning
Hardware revisions are tagged in git (hw-v0.1, hw-v0.2, ...), so the files that went to fab for each order stay recoverable. Each board's README records its revision and status.
Releases
1
VisorMesh v0.1
Latest
Languages
C
70.6%
Python
26%
OpenSCAD
1.2%
Makefile
1.1%
Shell
1%