Class: OBDIICAN

OBDIICAN

Provides attributes for configuring the CAN interface for OBD-II. Accessible from obdII.OBDII#can.


Members


baud :number

Gets/sets the CAN baud rate.

Type:
  • number
Since:
  • 0.4 (WAT 1.4)

<readonly> busPower :bool

Gets the state of the CAN power, which is supplied externally by the CAN bus.

Type:
  • bool
Since:
  • 0.4 (WAT 1.4)

enabled :bool

Gets/sets the enabled state of CAN. When enabled, PIDs can be read or written using CAN if they are configured to use CAN. Note that CAN configuration changes will not take affect until the next time that CAN is enabled.

Type:
  • bool
Since:
  • 0.4 (WAT 1.4)

retries :number

Gets/sets the CAN retry attempts. A PID that fails will be re-tried the number of times specified before reporting a failure. Same as obdII.OBDIIKLine#retries.

Type:
  • number
Since:
  • 0.5 (WAT 2.0)

timeout :number

Gets/sets the PID timeout. This determines how long to wait for a response to a PID before considering it failed. Same as obdII.OBDIIKLine#timeout.

Type:
  • number
Since:
  • 0.5 (WAT 2.0)