Module Values.NetworkInterfaceSource

Represents a node and its specifications in an in-vehicle communication network. All signal decoders must be associated with a network node. To return this information about all the network interfaces specified in a decoder manifest, use the API operation.

Sourcetype nonrec t = {
  1. interfaceId : InterfaceId.t;
    (*

    The ID of the network interface.

    *)
  2. type_ : NetworkInterfaceType.t;
    (*

    The network protocol for the vehicle. For example, CAN_SIGNAL specifies a protocol that defines how data is communicated between electronic control units (ECUs). OBD_SIGNAL specifies a protocol that defines how self-diagnostic data is communicated between ECUs.

    *)
  3. canInterface : CanInterface.t option;
    (*

    Information about a network interface specified by the Controller Area Network (CAN) protocol.

    *)
  4. obdInterface : ObdInterface.t option;
    (*

    Information about a network interface specified by the on-board diagnostic (OBD) II protocol.

    *)
  5. vehicleMiddleware : VehicleMiddleware.t option;
    (*

    The vehicle middleware defined as a type of network interface. Examples of vehicle middleware include ROS2 and SOME/IP.

    *)
  6. customDecodingInterface : CustomDecodingInterface.t option;
    (*

    Information about a custom network interface.

    *)
}
Sourceval context_ : string
Sourceval make : ?canInterface:??? -> ?obdInterface:??? -> ?vehicleMiddleware:??? -> ?customDecodingInterface:??? -> interfaceId:InterfaceId.t -> type_:NetworkInterfaceType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of InterfaceId.t | `Structure of (string * [> `Boolean of PrimitiveBoolean.t | `Enum of string | `Integer of NonNegativeInteger.t | `String of CanInterfaceName.t ]) list ]) 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