Repository navigation
QuickPRS 1.3.0 - #6
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
QuickPRS 1.3.0. Details in CHANGELOG.md.
Bluetooth: record without a driver. com0com, which
radio relayneeds, cannot load while Windows 11's Memory Integrity is on (its x64 driver has a writable and executable INIT section).quickprs radio sniffreads 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 formatanalyzereads and keeps nothing else from the trace. docs/bluetooth.md leads with it.GUI
Other
--skip-encryptedforimport-rr,auto-setupandimport-pasteTesting