diff --git a/mode.pcap b/captures/mode.pcap similarity index 100% rename from mode.pcap rename to captures/mode.pcap diff --git a/pad.pcap b/captures/pad.pcap similarity index 100% rename from pad.pcap rename to captures/pad.pcap diff --git a/pad1.pcap b/captures/pad1.pcap similarity index 100% rename from pad1.pcap rename to captures/pad1.pcap diff --git a/padbank.pcap b/captures/padbank.pcap similarity index 100% rename from padbank.pcap rename to captures/padbank.pcap diff --git a/reset.pcap b/captures/reset.pcap similarity index 100% rename from reset.pcap rename to captures/reset.pcap diff --git a/toggle.pcap b/captures/toggle.pcap similarity index 100% rename from toggle.pcap rename to captures/toggle.pcap diff --git a/scripts/decode_usbmon.py b/scripts/decode_usbmon.py index 00f60de..a535799 100644 --- a/scripts/decode_usbmon.py +++ b/scripts/decode_usbmon.py @@ -1,8 +1,8 @@ #!/usr/bin/env python3 """Print the SMC-PAD SysEx in a usbmon capture. - sudo tcpdump -i usbmon1 -s 0 -U -w - > pad.pcap - python3 scripts/decode_usbmon.py pad.pcap --device 21 + sudo tcpdump -i usbmon1 -s 0 -U -w - > captures/pad.pcap + python3 scripts/decode_usbmon.py captures/pad.pcap --device 21 Each USB-MIDI packet is reassembled into messages per cable, then SINCO SysEx is decoded to its command, memory, address, and data.