Module Values.ObdInterfaceSource

A network interface that specifies the on-board diagnostic (OBD) II network protocol.

Sourcetype nonrec t = {
  1. name : ObdInterfaceName.t;
    (*

    The name of the interface.

    *)
  2. requestMessageId : NonNegativeInteger.t;
    (*

    The ID of the message requesting vehicle data.

    *)
  3. obdStandard : ObdStandard.t option;
    (*

    The standard OBD II PID.

    *)
  4. pidRequestIntervalSeconds : NonNegativeInteger.t option;
    (*

    The maximum number message requests per second.

    *)
  5. dtcRequestIntervalSeconds : NonNegativeInteger.t option;
    (*

    The maximum number message requests per diagnostic trouble code per second.

    *)
  6. useExtendedIds : PrimitiveBoolean.t option;
    (*

    Whether to use extended IDs in the message.

    *)
  7. hasTransmissionEcu : PrimitiveBoolean.t option;
    (*

    Whether the vehicle has a transmission control module (TCM).

    *)
}
Sourceval context_ : string
Sourceval make : ?obdStandard:??? -> ?pidRequestIntervalSeconds:??? -> ?dtcRequestIntervalSeconds:??? -> ?useExtendedIds:??? -> ?hasTransmissionEcu:??? -> name:ObdInterfaceName.t -> requestMessageId:NonNegativeInteger.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of PrimitiveBoolean.t | `Integer of NonNegativeInteger.t | `String of ObdInterfaceName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t