Values.NetworkInterfaceSourceRepresents 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.
type nonrec t = {interfaceId : InterfaceId.t;The ID of the network interface.
*)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.
*)canInterface : CanInterface.t option;Information about a network interface specified by the Controller Area Network (CAN) protocol.
*)obdInterface : ObdInterface.t option;Information about a network interface specified by the on-board diagnostic (OBD) II protocol.
*)vehicleMiddleware : VehicleMiddleware.t option;The vehicle middleware defined as a type of network interface. Examples of vehicle middleware include ROS2 and SOME/IP.
*)customDecodingInterface : CustomDecodingInterface.t option;Information about a custom network interface.
*)}val make :
?canInterface:??? ->
?obdInterface:??? ->
?vehicleMiddleware:??? ->
?customDecodingInterface:??? ->
interfaceId:InterfaceId.t ->
type_:NetworkInterfaceType.t ->
unit ->
tval 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 ]