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 ObdInterface = ObdInterface' {}
- newObdInterface :: Text -> Natural -> ObdInterface
- obdInterface_dtcRequestIntervalSeconds :: Lens' ObdInterface (Maybe Natural)
- obdInterface_hasTransmissionEcu :: Lens' ObdInterface (Maybe Bool)
- obdInterface_obdStandard :: Lens' ObdInterface (Maybe Text)
- obdInterface_pidRequestIntervalSeconds :: Lens' ObdInterface (Maybe Natural)
- obdInterface_useExtendedIds :: Lens' ObdInterface (Maybe Bool)
- obdInterface_name :: Lens' ObdInterface Text
- obdInterface_requestMessageId :: Lens' ObdInterface Natural
Documentation
data ObdInterface Source #
A network interface that specifies the On-board diagnostic (OBD) II network protocol.
See: newObdInterface
smart constructor.
ObdInterface' | |
|
Instances
Create a value of ObdInterface
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:dtcRequestIntervalSeconds:ObdInterface'
, obdInterface_dtcRequestIntervalSeconds
- The maximum number message requests per diagnostic trouble code per
second.
$sel:hasTransmissionEcu:ObdInterface'
, obdInterface_hasTransmissionEcu
- Whether the vehicle has a transmission control module (TCM).
$sel:obdStandard:ObdInterface'
, obdInterface_obdStandard
- The standard OBD II PID.
$sel:pidRequestIntervalSeconds:ObdInterface'
, obdInterface_pidRequestIntervalSeconds
- The maximum number message requests per second.
$sel:useExtendedIds:ObdInterface'
, obdInterface_useExtendedIds
- Whether to use extended IDs in the message.
$sel:name:ObdInterface'
, obdInterface_name
- The name of the interface.
$sel:requestMessageId:ObdInterface'
, obdInterface_requestMessageId
- The ID of the message requesting vehicle data.
obdInterface_dtcRequestIntervalSeconds :: Lens' ObdInterface (Maybe Natural) Source #
The maximum number message requests per diagnostic trouble code per second.
obdInterface_hasTransmissionEcu :: Lens' ObdInterface (Maybe Bool) Source #
Whether the vehicle has a transmission control module (TCM).
obdInterface_obdStandard :: Lens' ObdInterface (Maybe Text) Source #
The standard OBD II PID.
obdInterface_pidRequestIntervalSeconds :: Lens' ObdInterface (Maybe Natural) Source #
The maximum number message requests per second.
obdInterface_useExtendedIds :: Lens' ObdInterface (Maybe Bool) Source #
Whether to use extended IDs in the message.
obdInterface_name :: Lens' ObdInterface Text Source #
The name of the interface.
obdInterface_requestMessageId :: Lens' ObdInterface Natural Source #
The ID of the message requesting vehicle data.