Skip to content

CanOpenDiscoveredNode Class

One node CanOpenDiscovery found.

public sealed class CanOpenDiscoveredNode

Inheritance Object → CanOpenDiscoveredNode

Constructors

CanOpenDiscoveredNode(byte, CanOpenPresenceEvidence, Nullable<NmtState>, Nullable<uint>) Constructor

Constructs a result.

public CanOpenDiscoveredNode(byte nodeId, CanKit.Pro.CANopen.CanOpenPresenceEvidence evidence, System.Nullable<CanKit.Pro.CANopen.Nmt.NmtState> heartbeatState, System.Nullable<uint> deviceType);

Parameters

nodeId Byte

evidence CanOpenPresenceEvidence

heartbeatState Nullable<NmtState>

deviceType Nullable<UInt32>

Properties

CanOpenDiscoveredNode.DeviceType Property

1000h:00 as the node returned it to ScanAsync(ICanOpenNode, IEnumerable<byte>, CancellationToken), or null when it was not read, the node answered with an abort, or the value was not exactly four bytes.

public System.Nullable<uint> DeviceType { get; }

Property Value

Nullable<UInt32>

CanOpenDiscoveredNode.Evidence Property

What was observed. Any one flag is enough for the node to be reported.

public CanKit.Pro.CANopen.CanOpenPresenceEvidence Evidence { get; }

Property Value

CanOpenPresenceEvidence

CanOpenDiscoveredNode.HeartbeatState Property

The state in the last heartbeat heard, or null when only a boot-up or an SDO response was seen.

public System.Nullable<CanKit.Pro.CANopen.Nmt.NmtState> HeartbeatState { get; }

Property Value

Nullable<NmtState>

CanOpenDiscoveredNode.NodeId Property

Node-id, 1..127.

public byte NodeId { get; }

Property Value

Byte