FilteringCriterionSetSingleId Method

Configures this instance to do single CAN identifier filtering.

Definition

Namespace: Peak.Can.Basic
Assembly: PCANBasic.NET (in PCANBasic.NET.dll) Version: 5.1.0
C#
public void SetSingleId(
	uint id,
	FilterMode mode = FilterMode.Standard,
	FilterBehavior behavior = FilterBehavior.Include
)

Parameters

id  UInt32
A value indicating the allowed CAN identifier.
mode  FilterMode  (Optional)
A value indicating the filter mode used for CAN identifier verification.
behavior  FilterBehavior  (Optional)
Indicates the operation to perform when a CAN message matches this criterion.

See Also