Class ObdInterface

    • Method Detail

      • name

        public final String name()

        The name of the interface.

        Returns:
        The name of the interface.
      • requestMessageId

        public final Integer requestMessageId()

        The ID of the message requesting vehicle data.

        Returns:
        The ID of the message requesting vehicle data.
      • obdStandard

        public final String obdStandard()

        The standard OBD II PID.

        Returns:
        The standard OBD II PID.
      • pidRequestIntervalSeconds

        public final Integer pidRequestIntervalSeconds()

        The maximum number message requests per second.

        Returns:
        The maximum number message requests per second.
      • dtcRequestIntervalSeconds

        public final Integer dtcRequestIntervalSeconds()

        The maximum number message requests per diagnostic trouble code per second.

        Returns:
        The maximum number message requests per diagnostic trouble code per second.
      • useExtendedIds

        public final Boolean useExtendedIds()

        Whether to use extended IDs in the message.

        Returns:
        Whether to use extended IDs in the message.
      • hasTransmissionEcu

        public final Boolean hasTransmissionEcu()

        Whether the vehicle has a transmission control module (TCM).

        Returns:
        Whether the vehicle has a transmission control module (TCM).
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)