Skip to content

Commit

Permalink
Windows USB helper: added print for Wireshark filter hint
Browse files Browse the repository at this point in the history
  • Loading branch information
elegos committed Feb 4, 2025
1 parent f7d2e97 commit 75f1845
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion usb_helper/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@ async def main():
return
device_id = None

if device_id is not None:
print(f'Detected device ID: {device_id} (you can use this as a Wireshark filter: usb.addr == "{device_id}").')

print_step(4, 'Device-specific setting configurations.')
features = await get_features_set(usbpcap_interfaces, device_id)

Expand All @@ -231,4 +234,4 @@ async def main():
print('Run this program with admin privileges.')
pyuac.runAsAdmin()
else:
asyncio.run(main())
asyncio.run(main())

0 comments on commit 75f1845

Please sign in to comment.