ObdSignal
¶
Source code in docs_src/capo_iotfleetwise/types/obd_signal.py
bit_mask_length
instance-attribute
¶
bit_mask_length: NotRequired[ObdBitmaskLength]
The number of bits to mask in a message.
bit_right_shift
instance-attribute
¶
bit_right_shift: nonNegativeInteger
The number of positions to shift bits in the message.
is_signed
instance-attribute
¶
is_signed: NotRequired[bool]
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.
offset
instance-attribute
¶
offset: double
The offset used to calculate the signal value. Combined with scaling, the calculation is value = raw_value * scaling + offset.
pid
instance-attribute
¶
pid: nonNegativeInteger
The diagnostic code used to request data from a vehicle for this signal.
pid_response_length
instance-attribute
¶
pid_response_length: positiveInteger
The length of the requested data.
service_mode
instance-attribute
¶
service_mode: nonNegativeInteger
The mode of operation (diagnostic service) in a message.
signal_value_type
instance-attribute
¶
signal_value_type: NotRequired[SignalValueType]
The value type of the signal. The default value is INTEGER.
start_byte
instance-attribute
¶
start_byte: nonNegativeInteger
Indicates the beginning of the message.