Commit Graph

2 Commits

Author SHA1 Message Date
Vadim Yanitskiy 6d88d94ebe sedbgmux-dump.py: support parsing PCAPs with BT RFCOMM packets
One of the approaches for sniffing serial port communication on Windows
is using USBPcap, an open-source USB sniffer.  When using Bluetooth as
the transport for DebugMux, the resulting PCAP contains RFCOMM frames,
which can later be analyzed using Wireshark.

This patch adds a new read-only DumpIO interface for sedbgmux-dump.py,
which allows one to parse and convert PCAPs containing DebugMux frames
encapsulated into BT RFCOMM packets.

PCAP parsing is easy thanks to pyshark [1] (new dependency).

[1] https://github.com/KimiNewt/pyshark
2023-01-26 06:40:46 +07:00
Vadim Yanitskiy 79c2124e0c Add requirements.txt listing all dependencies 2022-01-21 02:08:58 +06:00