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 SignalDecoder = SignalDecoder' {}
- newSignalDecoder :: Text -> SignalDecoderType -> Text -> SignalDecoder
- signalDecoder_canSignal :: Lens' SignalDecoder (Maybe CanSignal)
- signalDecoder_obdSignal :: Lens' SignalDecoder (Maybe ObdSignal)
- signalDecoder_fullyQualifiedName :: Lens' SignalDecoder Text
- signalDecoder_type :: Lens' SignalDecoder SignalDecoderType
- signalDecoder_interfaceId :: Lens' SignalDecoder Text
Documentation
data SignalDecoder Source #
Information about a signal decoder.
See: newSignalDecoder
smart constructor.
SignalDecoder' | |
|
Instances
:: Text | |
-> SignalDecoderType | |
-> Text | |
-> SignalDecoder |
Create a value of SignalDecoder
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:canSignal:SignalDecoder'
, signalDecoder_canSignal
- Information about signal decoder using the Controller Area Network (CAN)
protocol.
$sel:obdSignal:SignalDecoder'
, signalDecoder_obdSignal
- Information about signal decoder using the On-board diagnostic (OBD) II
protocol.
$sel:fullyQualifiedName:SignalDecoder'
, signalDecoder_fullyQualifiedName
- The fully qualified name of a signal decoder as defined in a vehicle
model.
$sel:type':SignalDecoder'
, signalDecoder_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.
$sel:interfaceId:SignalDecoder'
, signalDecoder_interfaceId
- The ID of a network interface that specifies what network protocol a
vehicle follows.
signalDecoder_canSignal :: Lens' SignalDecoder (Maybe CanSignal) Source #
Information about signal decoder using the Controller Area Network (CAN) protocol.
signalDecoder_obdSignal :: Lens' SignalDecoder (Maybe ObdSignal) Source #
Information about signal decoder using the On-board diagnostic (OBD) II protocol.
signalDecoder_fullyQualifiedName :: Lens' SignalDecoder Text Source #
The fully qualified name of a signal decoder as defined in a vehicle model.
signalDecoder_type :: Lens' SignalDecoder SignalDecoderType 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.
signalDecoder_interfaceId :: Lens' SignalDecoder Text Source #
The ID of a network interface that specifies what network protocol a vehicle follows.