Class: Aws::IoTFleetWise::Types::ObdSignal

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iotfleetwise/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bit_mask_lengthInteger

The number of bits to mask in a message.

Returns:

  • (Integer)


3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3723

class ObdSignal < Struct.new(
  :pid_response_length,
  :service_mode,
  :pid,
  :scaling,
  :offset,
  :start_byte,
  :byte_length,
  :bit_right_shift,
  :bit_mask_length,
  :is_signed,
  :signal_value_type)
  SENSITIVE = []
  include Aws::Structure
end

#bit_right_shiftInteger

The number of positions to shift bits in the message.

Returns:

  • (Integer)


3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3723

class ObdSignal < Struct.new(
  :pid_response_length,
  :service_mode,
  :pid,
  :scaling,
  :offset,
  :start_byte,
  :byte_length,
  :bit_right_shift,
  :bit_mask_length,
  :is_signed,
  :signal_value_type)
  SENSITIVE = []
  include Aws::Structure
end

#byte_lengthInteger

The length of a message.

Returns:

  • (Integer)


3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3723

class ObdSignal < Struct.new(
  :pid_response_length,
  :service_mode,
  :pid,
  :scaling,
  :offset,
  :start_byte,
  :byte_length,
  :bit_right_shift,
  :bit_mask_length,
  :is_signed,
  :signal_value_type)
  SENSITIVE = []
  include Aws::Structure
end

#is_signedBoolean

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`.

Returns:

  • (Boolean)


3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3723

class ObdSignal < Struct.new(
  :pid_response_length,
  :service_mode,
  :pid,
  :scaling,
  :offset,
  :start_byte,
  :byte_length,
  :bit_right_shift,
  :bit_mask_length,
  :is_signed,
  :signal_value_type)
  SENSITIVE = []
  include Aws::Structure
end

#offsetFloat

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

Returns:

  • (Float)


3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3723

class ObdSignal < Struct.new(
  :pid_response_length,
  :service_mode,
  :pid,
  :scaling,
  :offset,
  :start_byte,
  :byte_length,
  :bit_right_shift,
  :bit_mask_length,
  :is_signed,
  :signal_value_type)
  SENSITIVE = []
  include Aws::Structure
end

#pidInteger

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

Returns:

  • (Integer)


3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3723

class ObdSignal < Struct.new(
  :pid_response_length,
  :service_mode,
  :pid,
  :scaling,
  :offset,
  :start_byte,
  :byte_length,
  :bit_right_shift,
  :bit_mask_length,
  :is_signed,
  :signal_value_type)
  SENSITIVE = []
  include Aws::Structure
end

#pid_response_lengthInteger

The length of the requested data.

Returns:

  • (Integer)


3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3723

class ObdSignal < Struct.new(
  :pid_response_length,
  :service_mode,
  :pid,
  :scaling,
  :offset,
  :start_byte,
  :byte_length,
  :bit_right_shift,
  :bit_mask_length,
  :is_signed,
  :signal_value_type)
  SENSITIVE = []
  include Aws::Structure
end

#scalingFloat

A multiplier used to decode the message.

Returns:

  • (Float)


3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3723

class ObdSignal < Struct.new(
  :pid_response_length,
  :service_mode,
  :pid,
  :scaling,
  :offset,
  :start_byte,
  :byte_length,
  :bit_right_shift,
  :bit_mask_length,
  :is_signed,
  :signal_value_type)
  SENSITIVE = []
  include Aws::Structure
end

#service_modeInteger

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

Returns:

  • (Integer)


3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3723

class ObdSignal < Struct.new(
  :pid_response_length,
  :service_mode,
  :pid,
  :scaling,
  :offset,
  :start_byte,
  :byte_length,
  :bit_right_shift,
  :bit_mask_length,
  :is_signed,
  :signal_value_type)
  SENSITIVE = []
  include Aws::Structure
end

#signal_value_typeString

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

Returns:

  • (String)


3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3723

class ObdSignal < Struct.new(
  :pid_response_length,
  :service_mode,
  :pid,
  :scaling,
  :offset,
  :start_byte,
  :byte_length,
  :bit_right_shift,
  :bit_mask_length,
  :is_signed,
  :signal_value_type)
  SENSITIVE = []
  include Aws::Structure
end

#start_byteInteger

Indicates the beginning of the message.

Returns:

  • (Integer)


3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
# File 'lib/aws-sdk-iotfleetwise/types.rb', line 3723

class ObdSignal < Struct.new(
  :pid_response_length,
  :service_mode,
  :pid,
  :scaling,
  :offset,
  :start_byte,
  :byte_length,
  :bit_right_shift,
  :bit_mask_length,
  :is_signed,
  :signal_value_type)
  SENSITIVE = []
  include Aws::Structure
end