rich
|
4b05bf25d5
|
palm-client: Add Channel's New Key (private channels) fills in a random key from a pool fed by what can't be predicted: the exact tick and position of every pen and key event, and the signal readings of every packet the radio reports. Samples are folded into a SHA-256 pool, a key is a hash of it, and the pool moves on after each; it's kept between launches in an unsaved preference (never in a backup). Until 256 samples have come in, New Key asks for a few seconds of stylus movement. Host-tested in tests/test_entropy.c
|
2026-11-08 19:38:55 -05:00 |
|
rich
|
2c32033292
|
palm-client: check_ui.py fails the build when two drawn form objects overlap (a label running into its value or a button); it reads each object's usable bit so popup lists shown by the code don't count
|
2026-11-08 19:35:47 -05:00 |
|
rich
|
18c55ef8aa
|
palm-client: three labels no longer run into what follows them: Node's 'Firmware:' is 'Version:', Preferences' Check when closed trigger moved right (its choices are '5 min' to '1 hour' so the longest still fits), and Flood Scopes' default moved right
|
2026-11-08 19:35:47 -05:00 |
|
rich
|
6c17e25a76
|
palm-client: the request retry rules are in request.c (session.c supplies the link), host-tested with a scripted link in tests/test_request.c: a frame that went out is sent again only while tries allows, one that didn't go is resent up to 4 times without using up tries, one cut off part way never is. check_source.py checks that the functions that send over the air or take a queued message (messages, reactions, adverts, syncs, logins, traces) only ever use tries 1
|
2026-11-08 19:34:16 -05:00 |
|
rich
|
e068a51768
|
palm-client: plain make builds the app again (the replay target had become the default goal)
|
2026-11-08 19:34:16 -05:00 |
|
rich
|
359908e927
|
palm-client: make replay runs the bridge's frame capture through the app's parsers and fails on any frame of a code the app parses that doesn't parse, to catch a firmware layout change before it reaches the Visor. The bridge captures every frame in full with --capture (bridge.sh writes $TMPDIR/visor_frames.txt); captures hold real messages and stay local
|
2026-11-08 19:32:00 -05:00 |
|
rich
|
bb2fc014ab
|
palm-client: the module can't keep waking a Visor on failing batteries. A slot power handler (SbPwr, in the copied block) stops the chip interrupting on a low-voltage shutdown, as the Springboard guide asks of modules without LOWBAT*; since the Neo's OS never reports that reason, the wake's card event handler and BgArmWake also check the battery and turn the wake off at the OS's warning level. Host-tested; untested on hardware
|
2026-11-08 19:27:39 -05:00 |
|
rich
|
e86b14e440
|
palm-client: a saved Slot link is restored at launch while the OS reports a module (checked without touching the bus), so the closed-app check and its wake use the module; with the slot empty it stays off, as before, so a launch can't reset the Visor
|
2026-11-08 19:18:31 -05:00 |
|
rich
|
f53f851b0e
|
palm-client: with the Slot link, the radio's 'message waiting' push wakes the Visor. The slot interrupt handler (SbIrq) spots the frame as it drains the FIFO and, as the Springboard guide describes, holds IRQ* (THR empty) to have the system woken, then keeps it awake 10 s for the app to sync. With Check when closed on, the app leaves a copy of the handler in system-owned memory as it closes (SbWakeArm), with the module asleep between frames; it posts a card event whose handler sets the app's alarm for now, so the closed-app check runs at once. check_sections.py checks that the copied block (SbCoreStart..SbCoreEnd) is whole and refers only to itself. The Slot link no longer reconnects after sleep. Host-tested on the simulated module; untested on hardware
|
2026-11-08 19:17:30 -05:00 |
|
rich
|
6056339ad8
|
palm-client: the contact screen's login status is 'Logging in over the mesh...' (it ran off the edge) and its status line is cut rather than running off; Serial Ports' lines too. check_ui.py now measures literals passed to a screen's own one-line helpers, and fails on a new helper that draws its text until its width is listed
|
2026-11-08 19:00:40 -05:00 |
|
rich
|
19ba4b1cb2
|
palm-client: the screens' run-time lines are built in screen_fmt.c, and tests/test_screens.c checks them with their longest values in the large font. That found the Node clock lines running off the edge even in the small font (now 'Visor 11/8 14:02 (UTC-5:00)' and 'Radio 11/8 19:02 UTC, sys 300', a font row apart), Radio Stats lines too long for big counts (they wrap now, and the test checks they still fit above Done; errors get their own line, in hex that shows), and the contact summary and a Trace message too wide ('Room server' is 'Room'). Rows that could still be long are cut instead of running off
|
2026-11-08 18:53:49 -05:00 |
|
rich
|
a79349eb76
|
palm-client: tools/check_source.py runs on every build and fails it on a static const inside a function in an extra code segment (garbage on the Visor), a menu item no code handles, a shortcut letter used twice on a menu bar or taken from the Edit menu, a form with no event handler, and an ID used twice in one form, menu bar or resource type
|
2026-11-08 18:53:49 -05:00 |
|
rich
|
ff00ac1577
|
palm-client: tools/check_ui.py runs on every build and fails it when a form object or label goes past its form, an alert's buttons don't fit across it (Palm OS's layout, calibrated on the Stale Contacts alert), or a literal drawn with DrawCut would be cut. It flags the old Contact button row and Stale alert
|
2026-11-08 18:40:31 -05:00 |
|
rich
|
0357b2f838
|
palm-client: Add Channel's and Add Contact's notes are three lines each (both ran past the right edge), and a Font Preview line fits in the large font
|
2026-11-08 18:40:31 -05:00 |
|
rich
|
eaf792faf3
|
palm-client: Radio Stats' and SB-LoRa Test's messages wrap onto the next line instead of being cut off at the screen's edge (new DrawWrap)
|
2026-11-08 18:35:53 -05:00 |
|
rich
|
bd9d9ce951
|
palm-client: SB-LoRa Test (Options menu) for board bring-up: the slot's chip selects, which address mapping reaches the SC16IS740 (connector A0 = CPU A1 or A0, with what each read back), its registers after a reset, a 64-byte internal UART loopback, the slot interrupt (the same loopback through the handler) and a DEVICE_QUERY to the radio. Nothing goes over the air; the bus is only touched once the OS reports a module. Host tests cover the mapping and loopback
|
2026-11-08 18:18:54 -05:00 |
|
rich
|
8fa23f94f9
|
palm-client: radio commands are sent again when the frame didn't go at all (the USB host re-attaching), up to 4 times, for every command; the transports now tell nothing-sent from part-sent. Commands that are safe to repeat (clock, flood scopes, add contact, reset path) also get a second try when no reply came. Before, most commands tried once and a USB drop took the app offline
|
2026-11-08 18:18:54 -05:00 |
|
rich
|
597c5ac080
|
palm-client: Map Picker (tools/map_picker.py): pick any area for the Map on a world map in the browser, see each zoom's tiles and the file's estimated size, and build VisorMeshMap.pdb. OpenStreetMap data is fetched per 0.25-degree cell (retrying a busy Overpass server) and cached. Runs on macOS, Windows and Linux with only Python 3; make_map.py is split into reusable steps (its output is unchanged)
|
2026-11-06 12:26:41 -05:00 |
|
rich
|
ce700f1a17
|
palm-client: the Map's street-level zoom covers about 40 x 31 km (the Main Line to Cherry Hill, Chester to Cheltenham; the map is now 2.0 MB), and outside it the zoom below is shown enlarged instead of blank tiles (Ardmore was blank)
|
2026-11-06 12:02:26 -05:00 |
|
rich
|
585ef5a6f8
|
palm-client: the Map gets its own Map menu: Basemap On/Off (M) leaves the nodes on plain white, Neighbour Lines On/Off (L) hides a repeater's neighbour lines. Both are remembered with the view
|
2026-11-06 11:28:28 -05:00 |
|
rich
|
254eb5e96a
|
palm-client: Remove Stale Contacts' buttons are 2 wk / 1 mo / 3 mo / Cancel, so all four fit (Cancel was off the screen); the message spells the periods out
|
2026-11-06 11:19:48 -05:00 |
|
rich
|
f033057283
|
palm-client: the contact screen's buttons get fixed widths, so More no longer runs past the right edge
|
2026-11-06 11:13:49 -05:00 |
|
rich
|
08d7b20a16
|
palm-client: Radio Stats lines fit the screen: battery, storage, noise floor and last heard each get their own line, any line too long is cut, and the noise graph takes the height the lines leave
|
2026-11-06 10:58:53 -05:00 |
|
rich
|
6e6adf780b
|
palm-client: a contact's More lists what suits its type (Admin Console, Trace / Route, Ping, Reset Path, Block, Beam, Remove); main.c wires the new screens, menus, the beam launch codes and the inbox; Makefile builds the new modules
|
2026-11-05 15:02:22 -05:00 |
|
rich
|
e47a54d189
|
palm-client: in a conversation, tap a #hashtag to open that channel, or join it after asking (lowercased, as MeshCore One joins them). Typing @ (or Options > Insert Mention) lists recent senders here and then the companions in the contacts, and inserts @[Name]
|
2026-11-05 15:02:22 -05:00 |
|
rich
|
f3be31bd76
|
palm-client: beam a contact (More > Beam), yourself (Contacts > Beam My Contact) or a channel (Channel > Beam Channel) to another VisorMesh over IR, as the meshcore:// links MeshCore One shares as QR codes. A beam is received in segment 1 without globals and saved to an inbox; the app then asks to add the contact or join the channel (now, later or discard). ChannelJoin, from Add Channel, joins or opens a channel by key
|
2026-11-05 15:02:22 -05:00 |
|
rich
|
7f982b872b
|
palm-client: Contacts > Remove Stale Contacts: removes from the radio the contacts it hasn't heard an advert from in 2 weeks, a month or 3 months, after saying how many. Kept: ones with messages on the Visor, ones never heard (added by key) and ones we're logged into
|
2026-11-05 15:02:22 -05:00 |
|
rich
|
34c99d8b0a
|
palm-client: block a sender (a contact's More, or hold their message > Block Sender): their new messages and reactions are dropped as they sync, also in the closed-app check. A contact is blocked by key and by name (channels name senders only by name). Contacts > Blocked Senders lists them to unblock
|
2026-11-05 15:02:22 -05:00 |
|
rich
|
80f2d2781b
|
palm-client: a repeater's "neighbors" reply in its admin console also goes on the Map for 30 minutes: a line from it to each neighbour with a position, solid for SNR 0 dB or better, grey below. Cmds lists the region commands (region, get, allowf, denyf, save)
|
2026-11-05 15:02:22 -05:00 |
|
rich
|
1fe0d00fae
|
palm-client: Trace Path (Go menu, or a contact's More > Trace / Route): a trace through the repeaters typed as hop codes or picked with Add, out and back the same way, listing the SNR each hop heard it at and the time it took. For a contact it starts from its route, and Set Route makes the hops its route (ADD_UPDATE_CONTACT from its own record, so nothing else changes). Ping: a trace to a repeater one hop away and back
|
2026-11-05 15:02:22 -05:00 |
|
rich
|
493e2b98f2
|
palm-client: a DM with no ack is tried again by itself, as MeshCore One does: 4 tries on the contact's route, then the route is reset and one more goes as a flood (which brings a new route); 2 tries for a contact with no route. Only DMs sent this session; after that it stays failed for Retry. Path Details shows the try number
|
2026-11-05 15:01:55 -05:00 |
|
rich
|
7801272830
|
palm-client: Radio Stats (Go menu, or Stats on Node): the radio's battery, storage, uptime, queue, last signal, airtime and packet counts, read every 5 s, with a graph of its noise floor. Heard Packets (Go menu): the last 40 packets from the RX log, filtered to chat or adverts, a tap showing one in full with its repeaters. info_fmt.c shares the path text with Path Details. The resources also hold the forms and alerts for the features that follow
|
2026-11-05 14:50:04 -05:00 |
|
rich
|
50a5a486db
|
palm-client: a fifth code segment, and Node, Settings, Font Preview and Add Channel move from vmcode2 (31.1 KB) to vmcode4, leaving vmcode2 room for the hooks the next features need. protocol2.c (vmcode5, host-tested) has the newer companion commands: trace path, stats, battery, a contact's route, plus meshcore:// share links and #hashtags in text
|
2026-11-05 14:43:50 -05:00 |
|
rich
|
ee6e4d7a7b
|
palm-client: tap and hold a message for React, Reply, Send DM and Path Details (also Options > Message Actions for the newest). Reactions use MeshCore One's format (@[Name]<emoji>\n<hash>, hash = Base32 of SHA-256(text || LE timestamp)), so MC1 and MeshMonitor show ours and we show theirs: kept in their own store, shown under the message, never chat or unread. Received messages keep their hash and, matched from the RX log push, the repeaters they came through. The emoji glyphs now go out as the emoji they show, not cp1252 quotes
|
2026-11-05 09:11:29 -05:00 |
|
rich
|
52c4101796
|
palm-client: over USB, don't send while CTS is off: it's off while nothing on the host reads (bridge stopped), and then SrmSend blocks 10 s whatever the CTS timeout (measured on the Neo: that was the slow reconnect). Reconnect steps skip the send; other sends wait up to 1 s for the host. Drops the CTS-timeout setting, which the USB driver ignores
|
2026-11-05 07:14:07 -05:00 |
|
rich
|
453559cd5c
|
palm-client: a reconnect in steps is lighter on the app: reads that can't wait check what's buffered first (SrmReceiveCheck), steps 4 times a second instead of 10, its DEVICE_QUERY send waits 100 ms instead of 250
|
2026-11-04 09:45:55 -05:00 |
|
rich
|
b5ce1098b3
|
palm-client: reconnects after a wake or a lost link run in steps on idle events (open, attach wait, DEVICE_QUERY with the reply checked without waiting), so the app stays usable while it looks for the radio; titles show "connecting"; Options > Connect and a tap on "offline" still connect in one go
|
2026-11-04 09:36:19 -05:00 |
|
rich
|
f9aa7a1e93
|
palm-client: serial sends wait 250 ms at a time (8 tries, 2 s) instead of the 5 s CTS default, so a connect with nothing reading at the other end (bridge stopped) can't freeze the app for over a minute
|
2026-11-04 09:31:52 -05:00 |
|
rich
|
ce1626410f
|
palm-client: a command the radio doesn't answer closes the session (offline, not "online" with every command failing), with retries as after a wake; after a quiet minute a time query checks the link is still there
|
2026-11-04 09:24:51 -05:00 |
|
rich
|
d2f992eafc
|
palm-client: connection state in conversations' title too (the title is cut to make room); tapping "offline" or Options > Connect connects; a reconnect after wake that fails or is stopped is retried 2, 4 ... 256 s later (it often ran before the USB link was back and was never tried again)
|
2026-11-04 08:56:02 -05:00 |
|
rich
|
acf4544f24
|
palm-client: Options > About VisorMesh: app version, and the radio's firmware when connected
|
2026-11-04 07:39:45 -05:00 |
|
rich
|
f37f0f61c4
|
palm-client: conversations: an SNR that doesn't fit after a wrapped message goes in its last line's time column instead of a line of its own; "tap for earlier messages" at the top shows 40 more at a time
|
2026-11-04 07:39:45 -05:00 |
|
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
|
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
|
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 |
|