Skip to content

QuickPRS 1.3.0 - #6

Merged
TheAbider merged 14 commits into
masterfrom
gui-and-sniffer
Oct 28, 2026
Merged

TheAbider merged 14 commits into
masterfrom
gui-and-sniffer

Conversation

@TheAbider

Copy link
Copy Markdown
Owner

Summary

QuickPRS 1.3.0. Details in CHANGELOG.md.

Bluetooth: record without a driver. com0com, which radio relay needs, cannot load while Windows 11's Memory Integrity is on (its x64 driver has a writable and executable INIT section). quickprs radio sniff reads the Bluetooth trace Microsoft's Bluetooth Virtual Sniffer serves (or a saved pcap/pcapng) and rebuilds the serial bytes RPM and the radio exchange: ACL fragments joined into L2CAP PDUs, the RFCOMM channel found from the L2CAP connection setup, RFCOMM frame checks verified. It writes the capture format analyze reads and keeps nothing else from the trace. docs/bluetooth.md leads with it.

GUI

  • Pasted talkgroups lost TX, scan, encryption, key, priority and audio settings; pasted channels were looked up by place at paste time and could be the wrong ones. Copy keeps whole records (and can paste into another file)
  • Dragging a trunk channel with the search filtering rows moved other channels
  • The comparison window showed only talkgroup and trunk set differences, and said "No differences found." when other things differed
  • The option editors could not be undone and, after Undo/Redo/another file, saved into a personality no longer open
  • Undo steps that changed nothing (cancelled imports, Apply without changes, failed moves): a step is now made only for a real change
  • Adding a system from the P25 database could not be undone
  • Save ignored the auto backup setting; sixteen settings nothing read are gone
  • Editors that change only the open personality say Apply; a failed settings write no longer fails a save

Other

  • --skip-encrypted for import-rr, auto-setup and import-paste
  • Shell completions come from the CLI's parser (they had 33 of 63 commands)
  • Format notes: the RPM saves that would settle the open field questions

Testing

  • Full suite locally with the RPM-saved test files: 5,683 passed, 5 skipped.
  • Each regression test fails against the code before its fix (or the commit before, where the bug only shows with this branch's undo change), or was checked by putting the bug back. The sniffer's decoder: seven mutations, each caught; RFCOMM frame checks match the known values for SABM, UA and UIH frames.

The relay needs a virtual null-modem pair, and com0com, the free one,
cannot load with Windows 11's Memory Integrity on (its x64 driver has a
writable and executable INIT section, which Memory Integrity refuses).

quickprs radio sniff reads the HCI trace Microsoft's Bluetooth Virtual
Sniffer (Bluetooth Test Platform) serves for Wireshark, live over TCP or
from a saved pcap/pcapng file, and undoes the layers: ACL fragments are
joined into L2CAP PDUs, the RFCOMM channel is found from the L2CAP
connection setup (or from the first valid frame), RFCOMM frame checks
are verified, and the UIH payloads on data channels are written to the
same capture format as relay, so analyze works unchanged. Only those
serial bytes are kept; the link to other devices is left out once HCI
says which link is the radio's.
The completion scripts used hand-kept lists that had fallen behind: 33 of
the 63 commands (radio, wizard, import-csv, convert ... missing), stale
flags (create --force, import-rr --password), three of eight freq-tools
sub-commands missing and five of eight templates. The parser
construction moves out of run_cli into build_parser(), and completions
read commands, sub-commands and flags from it.
com0com cannot load with Windows 11's Memory Integrity on, so the notes
lead with quickprs radio sniff and Microsoft's Bluetooth Virtual
Sniffer, and keep the relay for PCs where a virtual pair works.
import-rr, auto-setup and import-paste took every talkgroup, mode and
encryption level ignored (only the GUI could filter). --skip-encrypted
leaves out talkgroups RadioReference lists as fully encrypted (AE, DE,
TE, E, or level 2 from the API), keeps partly encrypted ones, and says
how many were left out.
Pasting talkgroups rebuilt each one from its ID and names, so TX, scan,
encryption, key ID, priority and audio settings went back to defaults.
Pasting channels looked them up by set and place at paste time, so once
the source set changed (or another file was open) it pasted another
channel, or one with a frequency and nothing else. Copy now keeps each
record whole, which also lets channels and talkgroups be pasted into
another personality.

Dragging a trunk channel took the channel indexes from the rows' places
among the visible rows; with the search filtering rows that moved other
channels. It uses the rows' channel indexes.
The comparison window drew only talkgroup set and trunk set rows from
compare_prs; conventional, P25 conventional and IDEN sets, system
settings, personality fields, options and the file itself were never
shown, and the summary counted only the coarse diffs, so files differing
in a channel tone, an IDEN element or a system ID read as 'No differences
found.' Every category is now listed, and counted in the summary.
The radio option, programmable button, short menu and binary option
editors changed the personality without an undo snapshot, as did
creating default radio options. And each editor kept the personality
it opened on: after Undo, Redo or opening another file, Save wrote into
an object nothing used, said 'Saved', and the open file was unchanged.
Editors now take a snapshot before writing, and close with a warning
instead of saving when the open personality has changed.
Snapshots were pushed before dialogs the user could cancel (the import
confirmations), before Apply buttons that might change nothing, and
before operations that fail (moving the last channel down, deleting the
last set). Each left an undo step that changed nothing, and cleared the
redo history. A snapshot now waits until mark_modified() reports the
change and is dropped when the personality did not change; the import
panels also take it after their prompts.
The P25 System Database dialog set app.modified itself, so the size,
statistics and capacity shown went stale, and with undo steps now made
by mark_modified() the change could not be undone.
Saving always kept a backup, whatever the auto backup setting said. And
sixteen settings were stored and shown but read by nothing: a default
NAC, a scan limit, an export folder and thirteen P25 system options
(build_sys_flags writes only linear simulcast, TDMA, adaptive filter,
avoid failsoft, roaming, power, encryption and registration; where RPM
keeps the others in a system's flags is not known). Save follows auto
backup, the others are gone, and a test fails if a setting nothing
reads comes back.
The option, talkgroup and NAC editors labelled their button Save and
reported 'Saved ...' although they change only the open personality;
they say Apply and 'Updated ...', like the other editors. Recording a
recent file writes settings.json, and when that failed the error came
out of the save routine after the file was written.
@TheAbider
TheAbider merged commit e7a40f8 into master Oct 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant