ObdSignal

class ObdSignal

Information about signal messages using the on-board diagnostics (OBD) II protocol in a vehicle.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The number of bits to mask in a message.

Link copied to clipboard

The number of positions to shift bits in the message.

Link copied to clipboard

The length of a message.

Link copied to clipboard

Determines whether the message is signed (true) or not (false). If it's signed, the message can represent both positive and negative numbers. The isSigned parameter only applies to the INTEGER raw signal type, and it doesn't affect the FLOATING_POINT raw signal type. The default value is false.

Link copied to clipboard

The offset used to calculate the signal value. Combined with scaling, the calculation is value = raw_value * scaling + offset.

Link copied to clipboard
val pid: Int

The diagnostic code used to request data from a vehicle for this signal.

Link copied to clipboard

The length of the requested data.

Link copied to clipboard

A multiplier used to decode the message.

Link copied to clipboard

The mode of operation (diagnostic service) in a message.

Link copied to clipboard

The value type of the signal. The default value is INTEGER.

Link copied to clipboard

Indicates the beginning of the message.

Functions

Link copied to clipboard
inline fun copy(block: ObdSignal.Builder.() -> Unit = {}): ObdSignal
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String