Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data NetworkInterface = NetworkInterface' {}
- newNetworkInterface :: Text -> NetworkInterfaceType -> NetworkInterface
- networkInterface_canInterface :: Lens' NetworkInterface (Maybe CanInterface)
- networkInterface_obdInterface :: Lens' NetworkInterface (Maybe ObdInterface)
- networkInterface_interfaceId :: Lens' NetworkInterface Text
- networkInterface_type :: Lens' NetworkInterface NetworkInterfaceType
Documentation
data NetworkInterface Source #
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.
See: newNetworkInterface
smart constructor.
NetworkInterface' | |
|
Instances
Create a value of NetworkInterface
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:canInterface:NetworkInterface'
, networkInterface_canInterface
- Information about a network interface specified by the Controller Area
Network (CAN) protocol.
$sel:obdInterface:NetworkInterface'
, networkInterface_obdInterface
- Information about a network interface specified by the On-board
diagnostic (OBD) II protocol.
$sel:interfaceId:NetworkInterface'
, networkInterface_interfaceId
- The ID of the network interface.
$sel:type':NetworkInterface'
, networkInterface_type
- 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.
networkInterface_canInterface :: Lens' NetworkInterface (Maybe CanInterface) Source #
Information about a network interface specified by the Controller Area Network (CAN) protocol.
networkInterface_obdInterface :: Lens' NetworkInterface (Maybe ObdInterface) Source #
Information about a network interface specified by the On-board diagnostic (OBD) II protocol.
networkInterface_interfaceId :: Lens' NetworkInterface Text Source #
The ID of the network interface.
networkInterface_type :: Lens' NetworkInterface NetworkInterfaceType Source #
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.