CANedge2 Docs, Release FW 01.04.02
To (range) / mask (mask) (HEX)
properties.id.items.properties.f2
If filter method is Range, this field defines the end of range. If filter method is Mask, this field defines
the filter mask.
type:
string
maxLength:
8
default:
7FF
Configuration explained
This section contains additional information and examples.
The following uses a mix of binary, decimal and hexadecimal number bases. For more information on
the notation used, refer to section
Note:
In the following, it is convenient to do some calculations using binary numbers (base 2). However,
the configuration file generally accepts either decimal or hexadecimal numbers.
Filter processing
The filter elements in the list of filters are processed sequentially starting from the first element. Pro-
cessing stops on the first filter match.
Example: A message matches filter element 3. Filter element 4 is not evaluated.
Messages matching no filters are rejected as default. Note that the default Configuration File has filters
that accept all incoming CAN messages (both standard/extended CAN IDs).
Filter state
The
state
of filter elements can be
Enable
or
Disable
. Disabled filter elements are ignored, as if they are
not in the list of filters. If there are no enabled filters in the list then all messages are rejected.
By disabling a filter element (instead of deleting the element) it can be easily enabled at a later time.
Filter types
Filter elements can be either
Acceptance
or
Rejection
:
• If a message passes an
Acceptance
filter it is accepted
• If a message passes a
Rejection
filter it is discarded
• If a message does not pass a filter, the next filter in the list is processed
The filter list can hold a combination of
Acceptance
and
Rejection
filter elements. The first matching
filter element determines if a message is accepted or rejected.
Acceptance
and
Rejection
filters can be
combined to generate a complex message filtering mechanism.
Example: A message matches acceptance filter 3. Rejection filter 4 is not evaluated. The message is
accepted.
26
CONTENTS