Values.ObdSignalSourceInformation about signal messages using the on-board diagnostics (OBD) II protocol in a vehicle.
type nonrec t = {pidResponseLength : PositiveInteger.t;The length of the requested data.
*)serviceMode : NonNegativeInteger.t;The mode of operation (diagnostic service) in a message.
*)pid : NonNegativeInteger.t;The diagnostic code used to request data from a vehicle for this signal.
*)scaling : Double.t;A multiplier used to decode the message.
*)offset : Double.t;The offset used to calculate the signal value. Combined with scaling, the calculation is value = raw_value * scaling + offset.
*)startByte : NonNegativeInteger.t;Indicates the beginning of the message.
*)byteLength : ObdByteLength.t;The length of a message.
*)bitRightShift : NonNegativeInteger.t option;The number of positions to shift bits in the message.
*)bitMaskLength : ObdBitmaskLength.t option;The number of bits to mask in a message.
*)isSigned : PrimitiveBoolean.t option;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.
*)signalValueType : SignalValueType.t option;The value type of the signal. The default value is INTEGER.
*)}val make :
?bitRightShift:??? ->
?bitMaskLength:??? ->
?isSigned:??? ->
?signalValueType:??? ->
pidResponseLength:PositiveInteger.t ->
serviceMode:NonNegativeInteger.t ->
pid:NonNegativeInteger.t ->
scaling:Double.t ->
offset:Double.t ->
startByte:NonNegativeInteger.t ->
byteLength:ObdByteLength.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of PrimitiveBoolean.t
| `Double of Double.t
| `Enum of string
| `Integer of PositiveInteger.t ])
list ]