UdsDtcCount class final

Response to reportNumberOfDTCByStatusMask (0x19 0x01).

final c = await uds.readDtcCountByStatusMask(0x08);
print('${c.count} confirmed DTCs');
Annotations

Constructors

UdsDtcCount({required int statusAvailabilityMask, required int formatIdentifier, required int count})
Creates a count.
const

Properties

count → int
Number of DTCs matching the mask.
final
formatIdentifier → int
DTC format (0x00 SAE J2012-DA_DTCFormat_00, 0x01 ISO 14229-1, ...).
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statusAvailabilityMask → int
Status bits the ECU supports.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override