ACTIVE, PASSIVE, or BUSOFF
Optionaloptions: { device?: string; rxErrorCounter?: number; txErrorCounter?: number }Optionaldevice?: stringSimulate device name on this node. Required when the node has more than one CAN device. The device handle is the bus. The error is applied to every Can.c controller open on that bus.
OptionalrxErrorCounter?: numberREC. Defaults to 0 for active, otherwise unchanged.
OptionaltxErrorCounter?: numberTEC. Defaults are 0 (active), 128 (passive), 256 (bus-off).
One result per open Can.c controller: error state, counters, and controller mode.
Inject an AUTOSAR controller error (Error Active, Error Passive, or Bus-off) from a node script.