We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f49c96a commit 0757fabCopy full SHA for 0757fab
doc/scapy/layers/automotive.rst
@@ -59,7 +59,7 @@ Send and receive a message over Linux SocketCAN::
59
load_layer('can')
60
load_contrib('cansocket')
61
62
- socket = CANSocket(iface='can0')
+ socket = CANSocket(channel='can0')
63
packet = CAN(identifier=0x123, data=b'01020304')
64
65
socket.send(packet)
@@ -75,7 +75,7 @@ Send a message over a Vector CAN-Interface::
75
76
from can.interfaces.vector import VectorBus
77
78
- socket = CANSocket(iface=VectorBus(0, bitrate=1000000))
+ socket = CANSocket(channel=VectorBus(0, bitrate=1000000))
79
80
81
0 commit comments