candump and write a pcap using scapy (and python-can)
Project description
candump and write a pcap using scapy (and python-can)
> python -m pip install pycanpcap
> python -m pycanpcap.log -i cantact -c 0 -w can.pcap
WARNING: No libpcap provider available ! pcap won't be used
WARNING: Wireshark is installed, but cannot read manuf !
(000.008538) PythonCANSocket_cantact_0 007#0000b5f8
(000.008700) PythonCANSocket_cantact_0 01b#0000b5f8
(000.008961) PythonCANSocket_cantact_0 055#01025afc328e5b3e
(000.009318) PythonCANSocket_cantact_0 00f#f80fb5f831
(000.018648) PythonCANSocket_cantact_0 007#0000b6f8
(000.018834) PythonCANSocket_cantact_0 01b#0000b6f8
(000.019378) PythonCANSocket_cantact_0 00f#f90fb6f85a
^C
- ignore the warnings on windows
- Ctrl-C when ready
- open can.pcap in wireshark
- grep the output as usual
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pycanpcap-0.1.tar.gz
(3.4 kB
view hashes)