Skip to main content

Class CanAcceptanceFilter

Represents a base class for CAN acceptance filters.

Assembly: Meadow.Contracts.dll​
View Source​
Declaration
public abstract class CanAcceptanceFilter

Derived:
Meadow.Hardware.CanExtendedExactAcceptanceFilter, Meadow.Hardware.CanExtendedRangeAcceptanceFilter, Meadow.Hardware.CanStandardExactAcceptanceFilter, Meadow.Hardware.CanStandardRangeAcceptanceFilter

Methods​

CreateStandardFilter(short)​

Creates a standard exact acceptance filter for the specified identifier.

View Source​
Declaration
public static CanAcceptanceFilter CreateStandardFilter(short id)
Returns​

Meadow.Hardware.CanAcceptanceFilter: A Meadow.Hardware.CanStandardExactAcceptanceFilter instance.

Parameters​
TypeNameDescription
System.Int16idThe identifier to be accepted by the filter.

CreateStandardFilter(short, short)​

Creates a standard range acceptance filter for the specified range of identifiers.

View Source​
Declaration
public static CanAcceptanceFilter CreateStandardFilter(short firstID, short lastID)
Returns​

Meadow.Hardware.CanAcceptanceFilter: A Meadow.Hardware.CanStandardRangeAcceptanceFilter instance.

Parameters​
TypeNameDescription
System.Int16firstIDThe first identifier in the range to be accepted by the filter.
System.Int16lastIDThe last identifier in the range to be accepted by the filter.