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
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 instance.
Parameters
Type | Name | Description |
---|---|---|
System.Int16 | id | The 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 instance.
Parameters
Type | Name | Description |
---|---|---|
System.Int16 | firstID | The first identifier in the range to be accepted by the filter. |
System.Int16 | lastID | The last identifier in the range to be accepted by the filter. |