LssBitRateProbe Class¶
One candidate bit rate DetectAsync(Func<int,ICanBus>, LssBitRateDetectionOptions, CancellationToken) listened at.
Inheritance Object → LssBitRateProbe
Constructors¶
LssBitRateProbe(int, LssBitRateProbeOutcome, int, BusState) Constructor¶
Constructs a probe record.
public LssBitRateProbe(int bitsPerSecond, CanKit.Pro.CANopen.Lss.LssBitRateProbeOutcome outcome, int errorFrames, CanKit.Abstractions.API.Common.Definitions.BusState busState);
Parameters¶
bitsPerSecond Int32
outcome LssBitRateProbeOutcome
errorFrames Int32
busState BusState
Properties¶
LssBitRateProbe.BitsPerSecond Property¶
The candidate, in bits per second.
Property Value¶
LssBitRateProbe.BusState Property¶
ICanBus.BusState as the probe ended. BusState.ErrActive on a healthy controller; a degraded state is what rejects a candidate that drew no error frame.
Property Value¶
LssBitRateProbe.ErrorFrames Property¶
Error frames the controller reported while listening at this candidate.
Property Value¶
LssBitRateProbe.Outcome Property¶
What the listen showed.