Table of Contents

Class Function

Namespace
Loehnert.Lisrt.Can.Protocol
Assembly
Loehnert.Lisrt.Can.Protocol.dll

Represents a function for a function code.

public class Function
Inheritance
Function
Inherited Members

Methods

Execute(IEnumerable<byte>)

Executes the function.
The function code will be added to the input data and later removed from the return value.

public byte[] Execute(IEnumerable<byte> data)

Parameters

data IEnumerable<byte>

Data for the function, without the function code.

Returns

byte[]

The answer data of the function without the byte reserved for the function code.

Exceptions

ArgumentNullException

Thrown when data is null.

ArgumentOutOfRangeException

Thrown when datais greater 7 bytes.

TimeoutException

Thrown when no data received within the given timeout interval.