Skip to content

CanKit.Pro.CANopen.Lss Namespace

Classes
CanOpenLss Opens an ILssMaster on a bus. Non-instantiable.
CanOpenLssNodeExtensions Reads the layer-settings state of a node without widening ICanOpenNode.
LssBitRateDetection Automatic bit-rate detection in listen-only mode (CiA 801 §5.2.3, Figure 1): the procedure behind table 0 index 9 of CiA 305 (AutomaticIndex), FR-CO-050.
LssBitRateDetectionOptions How DetectAsync(Func<int,ICanBus>, LssBitRateDetectionOptions, CancellationToken) walks the bit-rate table.
LssBitRateDetectionResult The result of DetectAsync(Func<int,ICanBus>, LssBitRateDetectionOptions, CancellationToken).
LssBitRateProbe One candidate bit rate DetectAsync(Func<int,ICanBus>, LssBitRateDetectionOptions, CancellationToken) listened at.
LssBitTiming Table selector 0, the CiA 301 bit timing table as CiA 305 Table 4 indexes it. Index 5 is reserved. Index 9 selects automatic bit rate detection: a configure-bit-timing command cannot make a slave perform it (the master only names the index), but the procedure itself is CiA 801 and is available as LssBitRateDetection.
LssCommand Command specifiers of the CiA 305 LSS protocols (§7). Byte 0 of every LSS frame. Specifiers 128..255 are reserved for the application (§7.3).
LssCommissioning Commissioning on top of an ILssMaster (CiA 305 §6). The master is not owned. Exactly one LSS master may be active in the network; this type does not add another.
LssCommissioningResult One slave a commissioning call selected, configured, or read.
LssFastscanField One of the four LSS numbers in a LssFastscanRequest.
LssFastscanRequest What FastscanAsync(LssFastscanRequest, CancellationToken) should look for. Defaults scan every bit.
LssFastscanResult Result of FastscanAsync(LssFastscanRequest, CancellationToken).
LssMasterOptions Timeouts of an ILssMaster. CiA 305 leaves them to the implementation and asks that they be adjustable (annex A.2, A.3.3). A slave must answer inside the timeout. Fastscan and identify occupy that whole window from the request, so a late reply is consumed before the next master frame.
LssSlaveConfiguration What ConfigureSlaveAsync(LssAddress, LssSlaveConfiguration, CancellationToken) writes to one slave, after switch state selective.
LssSlaveOptions Layer setting services on a CanOpenNode (CiA 305). Absent options leave LSS off, unless the device description says LSS_Supported. An explicit instance wins over the file, including Enabledfalse.
LssTimeoutException A confirmed LSS service produced no slave response before the master's timeout (CiA 305 annex A.2). A timeout is not a confirmation: the service may still complete later, and a following Fastscan step can mis-read that late response when FastscanTimeout is shorter than the slave's response time.
LssUnconfiguredScan How ScanUnconfiguredAsync(LssUnconfiguredScan, CancellationToken) treats each unconfigured slave. A null scan finds every unconfigured slave and changes nothing.
LssUnconfiguredScanResult Outcome of a Fastscan over the unconfigured slaves.
Structs
LssAddress The 128-bit LSS address: vendor-id, product code, revision number and serial number, each the corresponding sub-index of identity object 1018h (CiA 305 §3.3, CiA 301).
LssIdentityRange Vendor-id, product code and inclusive ranges of revision and serial number, as the identify remote slave service selects them (CiA 305 §6.6.2, §7.7.1).
LssServiceResult Outcome of a confirmed LSS configuration service (configure node-id, configure bit timing, store). A timeout is not an outcome of the service: it is LssTimeoutException (CiA 305 annex A.2).
Interfaces
ILssConfigurationStore Persistent node-id and bit timing of an LSS slave (CiA 305 §8.2.2). The object dictionary's 1010h store does not touch these values, and a successful LSS store does not touch the object dictionary (§8.6).
ILssMaster LSS master (CiA 305). Exactly one master may be active in a CANopen network (§6.1); this type does not police other processes. It sends on LssMasterMessage and receives on LssSlaveMessage. Commands run one at a time.
ILssSlave The local layer-settings state machine of a node (CiA 305 §8). Implemented by the nodes that OpenNode(ICanBus, byte, CanOpenNodeOptions) creates. Not added to ICanOpenNode: a new member there would break every other implementer.
Enums
LssBitRateProbeOutcome What one listen at a candidate bit rate showed (CiA 801 §5.2.3, Figure 1).
LssFastscanFieldMode Which parts of the LSS address FastscanAsync(LssFastscanRequest, CancellationToken) should scan, match or skip (CiA 305 §6.7 and annex A.3.4).
LssFastscanStatus How an LSS Fastscan ended (CiA 305 §6.7).
LssScanStop Why ScanUnconfiguredAsync(LssUnconfiguredScan, CancellationToken) stopped asking for another slave.
LssState The two states of the LSS slave finite state automaton (CiA 305 §5.2).