Commit Graph
143 Commits
Author SHA1 Message Date
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
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 14c18b95ee docs: progress for the interruptible connect 2026-11-04 07:35:43 -05:00
rich 003860fa46 docs: progress for incremental contacts, ack expiry and check backoff 2026-11-04 07:23:39 -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 8764e8823a docs: progress for the review fixes 2026-11-04 06:55:15 -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