Commit Graph
154 Commits
Author SHA1 Message Date
rich 3ca184099c docs: contact login status verified on the Neo 2026-11-08 19:01:04 -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 9ae5decc84 docs: Node clock and Radio Stats layout verified on the Neo 2026-11-08 18:57:19 -05:00
rich 5aa68d46ec docs: AGENTS.md describes check_source.py and the screen line tests 2026-11-08 18:53:54 -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 0aaf4d9b42 docs: wrapped messages and the Add Channel note verified on the Neo 2026-11-08 18:45:43 -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 aaac4db08b docs: wider street-level map verified on the Neo 2026-11-06 12:05:57 -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 f1f2c13ca3 docs: Map layer toggles verified on the Neo 2026-11-06 11:56:05 -05:00
rich c04cfc8dbf docs: repeater neighbours on the Map verified on the Neo 2026-11-06 11:28:28 -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 dd72f956d4 docs: multi-hop Trace Path verified on the Neo 2026-11-06 11:24:25 -05:00
rich 512b2b7008 docs: repeater ping verified on the Neo 2026-11-06 11:23:15 -05:00
rich 3757015668 docs: Remove Stale Contacts verified on the Neo 2026-11-06 11:21:33 -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 71306a063f docs: blocking verified on the Neo 2026-11-06 11:18:24 -05:00
rich 101b7e2dba docs: @ mention picker verified on the Neo 2026-11-06 11:16:30 -05:00
rich 8f60e81349 docs: Heard Packets verified on the Neo 2026-11-06 11:15:54 -05:00
rich 7846307450 docs: contact More list verified on the Neo 2026-11-06 11:15:32 -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 f4379970ee docs: Radio Stats verified on the Neo 2026-11-06 11:08:19 -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 14fc4ffe0c docs: progress: connection state in conversations, reconnecting in the background, the USB send block 2026-11-05 07:16:09 -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 87a6a7e1a1 docs: progress: the rest of the review, verified on the Neo 2026-11-04 08:51:39 -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