The kernel interface the node is on, or null on a simulated bus.
What the bus is.
How many frames the node has received.
How many frames the node has sent.
How long receives on the node have waited without a frame, in microseconds, whether or not the process slept through it.
Keeps every frame again, as a node does when it joins.
Puts another node on the same bus.
Resolves with the next frame the node keeps, waiting up to timeoutMs for one, or with
null when the timeout passed with nothing.
Keeps only the frames that pass at least one of the filters, from now on; an empty list keeps nothing.
StaticopenOpens a kernel CAN interface through SocketCAN, as one node on its bus. Bring the
interface up first, with ip link set can0 up type can bitrate 250000.
StaticsimulatedA new bus inside the program, with this node the first on it.
One node's place on a CAN bus.
CanBus.open(interface)opens a kernel CAN interface, such ascan0, through SocketCAN on a Linux board and throws anywhere else.CanBus.simulated()makes a bus inside the program, andjoin()puts another node on the same bus. A node hears every frame the others send and none of its own, and keeps only the frames its filters pass.sendandreceivereturn promises; a receive on a simulated bus with nothing waiting resolves at once withnulland counts its timeout inwaitedMicros.