Skip to content

Commit

Permalink
Merge pull request #168 from mossmann/docs
Browse files Browse the repository at this point in the history
Update docs for 0.2.0
  • Loading branch information
miek authored Aug 15, 2024
2 parents fd4dd7b + efbcc21 commit 0711392
Show file tree
Hide file tree
Showing 5 changed files with 850 additions and 16 deletions.
12 changes: 7 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
/docs/build/
/target
/tests/*/output.txt
/tests/ui/*/output.txt
/wix/full-licenses
/vcpkg
/wix/LICENSE-dynamic-libraries.txt
/wix/LICENSE-packetry.txt
/wix/LICENSE-static-libraries.txt
/wix/dll-components.wxi
/wix/dll-references.wxi
/wix/full-licenses
/wix/license-components.wxi
/wix/license-references.wxi
/wix/LICENSE-packetry.txt
/wix/LICENSE-static-libraries.txt
/wix/LICENSE-dynamic-libraries.txt
/vcpkg
HITL-*.pcap
823 changes: 822 additions & 1 deletion docs/images/cynthion-connections-packetry.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/detail-pane.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions docs/source/quick_start.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Install Packetry

.. tab:: Pre-built

AppImage coming soon! For now you can build and install from source code.
Download ``packetry-x86_64.AppImage`` from the `latest release <https://github.com/greatscottgadgets/packetry/releases/latest>`__. Follow the `AppImage Quickstart instructions <https://docs.appimage.org/introduction/quickstart.html>`__ to make the file executable.

.. tab:: From source code

Expand Down Expand Up @@ -67,7 +67,11 @@ Install Packetry

.. tab:: Pre-built

Homebrew installation coming soon! For now you can build and install from source code.
Use `Homebrew <https://brew.sh/>`__ to install Packetry:

.. code::
brew install packetry
.. tab:: From source code

Expand Down Expand Up @@ -160,9 +164,11 @@ Install Packetry
Connect Cynthion
----------------

Cynthion enables analysis of a USB connection between a target host and a target device. This connection passes through Cynthion's TARGET A and TARGET C ports. Cynthion watches the traffic on this connection and sends the observed packet data over the CONTROL port for analysis in Packetry.

Connect Cynthion's CONTROL port to your analysis host computer running Packetry. Connect TARGET C to your target host computer. If your target host and analysis host are the same computer, please be aware of `this issue <https://github.com/greatscottgadgets/packetry/issues/122>`__.

You can connect Cynthion's TARGET A port to your target device at this time, but you may wish to delay this connection until after Packetry is capturing. This will ensure that Packetry can observe the entire device enumeration process.
You can connect Cynthion's TARGET A port to your target device at this time, but you may wish to delay this connection until after Packetry is capturing. This will ensure that Packetry can observe the entire device enumeration process and is able to provide detailed information in the Device Pane.

.. image:: ../images/cynthion-connections-packetry.svg
:width: 800
Expand All @@ -172,13 +178,7 @@ You can connect Cynthion's TARGET A port to your target device at this time, but
Launch Packetry
---------------

Run the Packetry executable:

.. code::
packetry
The Packetry window should appear.
Run the Packetry executable. The Packetry window should appear.


Start Capturing USB Traffic
Expand Down
11 changes: 11 additions & 0 deletions docs/source/user_interface.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,17 @@ To the right of the Traffic Pane is the Device Pane. The Device Pane summarizes
Much of the information that can be displayed in the Device Pane is discovered only if Packetry observes the initial enumeration of a USB device by the target host. To allow this to take place in a live capture, connect the target device after starting a capture, not before.


Detail Pane
-----------

The Detail Pane is located below the Traffic Pane. It provides a detailed view of an item selected in the Traffic Pane and allows copying of data from that item.

.. image:: ../images/detail-pane.png
:alt: Detail Pane

Depending on the item selected, the Detail Pane may provide different information. For example, when a string descriptor request transfer is selected, the Detail Pane summarizes the request including the actual string as text. By expanding that transfer in the Traffic Pane you can select a transaction or packet within the transfer to view packet data in hexadecimal in the Detail Pane.


Status Bar
----------

Expand Down

0 comments on commit 0711392

Please sign in to comment.