OpenCyphal / pycyphal

Python implementation of the Cyphal protocol stack.
https://pycyphal.readthedocs.io/
MIT License
119 stars 106 forks source link

Updates to the unstable capture/tracing/spoofing API #148

Closed pavel-kirienko closed 3 years ago

pavel-kirienko commented 3 years ago

This is related to the ongoing work on Yukon. This pull request restructures the advanced network diagnostics API (which is marked as unstable) and adds support for capture, tracing, and spoofing for CAN and serial transports. Spoofing for UDP is not yet available because it is not a blocker.

Merging this PR will trigger a release of v1.2.0.b1 (beta).

coveralls commented 3 years ago

Pull Request Test Coverage Report for Build 37445808


Files with Coverage Reduction New Missed Lines %
/home/appveyor/projects/pyuavcan/pyuavcan/transport/udp/_ip/_v4.py 1 98.04%
/home/appveyor/projects/pyuavcan/pyuavcan/application/heartbeat_publisher.py 3 90.91%
/home/appveyor/projects/pyuavcan/pyuavcan/transport/can/_can.py 10 93.17%
/home/appveyor/projects/pyuavcan/pyuavcan/transport/serial/_serial.py 11 92.73%
/home/appveyor/projects/pyuavcan/pyuavcan/transport/udp/_udp.py 12 92.06%
/home/appveyor/projects/pyuavcan/pyuavcan/transport/udp/_tracer.py 18 84.35%
/home/appveyor/projects/pyuavcan/pyuavcan/transport/udp/_ip/_link_layer.py 28 82.35%
<!-- Total: 83 -->
Totals Coverage Status
Change from base Build 37319472: 0.02%
Covered Lines: 11719
Relevant Lines: 12133

💛 - Coveralls