FilteringCriterionSetMaskAndCode Method

Configures this instance for using a mask/code acceptance values filtering

Definition

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

Parameters

mask  UInt32
A value representing the acceptance mask
code  UInt32
A value representing the acceptance code
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