Wasatch Photonics USB bindings for Wireshark. Author: Samie Bee, Date: 2023.11.14
SharkTooth is a utility program meant to be used with WireShark. It provides meaningful diagnostic information with regards to Wasatch Photonic's ENG-0001 USB Specificiation.
This program is an extension of the python shell and should be invoked in interactive mode:
python -i sharktooth.py input_file.json
- Use Wireshark to capture from USBPcap2.
- Use any driver to interact with the spectrometer. Options include Enlighten, Wasatch.PY, Wasatch.NET. It does not have to be a driver written by us.
- When you are done, close the driver and disconnect the spectrometer.
- In Wireshark: File > Export Packet Dissections > As JSON
- In the export window, make sure all settings are correct. Be sure to check Packet Bytes and Each packet on a new page. Also check Include Secondary Data Sources. Set Packet Details to "All Expanded". The packet range should be set to All Packets & Captured.
- Call the program in interactive mode:
$ python -i sharktooth.py packets.json
- Use interactive help to learn the usage of this program:
>>> help() ... >>> help(select_spectrometer) ...