FilteringCriterionSetIdRange Method
Configures this instance to do CAN identifier range filtering.
Namespace: Peak.Can.BasicAssembly: PCANBasic.NET (in PCANBasic.NET.dll) Version: 5.1.0
public void SetIdRange(
uint from,
uint to,
FilterMode mode = FilterMode.Standard,
FilterBehavior behavior = FilterBehavior.Include
)
Public Sub SetIdRange (
from As UInteger,
to As UInteger,
Optional mode As FilterMode = FilterMode.Standard,
Optional behavior As FilterBehavior = FilterBehavior.Include
)
public:
void SetIdRange(
unsigned int from,
unsigned int to,
FilterMode mode = FilterMode::Standard,
FilterBehavior behavior = FilterBehavior::Include
)
Parameters
- from UInt32
- A value representing the CAN identifier used as the start of range.
- to UInt32
- A value representing the CAN identifier used as the end of range.
- 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.