Skip to content
Snippets Groups Projects
Commit 8b881b35 authored by Jan David Mol's avatar Jan David Mol
Browse files

Add hint on how to manually inspect statistics packets

parent 7911bedf
No related branches found
No related tags found
No related merge requests found
......@@ -147,6 +147,17 @@ Let's see where the packets get stuck. Let us assume your MTU=9000 network inter
- If still on error was found, you've likely hit a bug in our software.
Inspecting SST/XST packets
``````````````````````````````````````````````````````````````````````````````````````````````````````````````
The fields ``sst.last_packet_R`` and ``xst.last_packet_R`` contain a raw dump of the last received packet for that statistic. Parsing these packets is aided greatly by using our packet parser::
from tangostationcontrol.devices.sdp.statistics_packet import SSTPacket, XSTPacket
# print the headers of the last received packets
print(SSTPacket(bytes(sst.last_packet_R)).header())
print(XSTPacket(bytes(xst.last_packet_R)).header())
Other containers
--------------------------------------------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment