class Filter#

Synopsis#

Methods#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

class FormatFilter#

(inherits enum.Flag) This enum describes the format pattern, which is used to filter incoming CAN bus frames.

Constant

Description

QCanBusDevice.Filter.MatchBaseFormat

The CAN bus frame must use the base frame format (11 bit identifier).

QCanBusDevice.Filter.MatchExtendedFormat

The CAN bus frame must use the extended frame format (29 bit identifier).

QCanBusDevice.Filter.MatchBaseAndExtendedFormat

The CAN bus frame can have a base or an extended frame format.

PySide6.QtSerialBus.QCanBusDevice.Filter.frameId#
PySide6.QtSerialBus.QCanBusDevice.Filter.frameIdMask#
PySide6.QtSerialBus.QCanBusDevice.Filter.type#
PySide6.QtSerialBus.QCanBusDevice.Filter.format#
__ne__(b)#
Parameters:

bFilter

Return type:

bool

Returns true, if the filter a is not equal to the filter b, otherwise returns false.

__eq__(b)#
Parameters:

bFilter

Return type:

bool

Returns true, if the filter a is equal to the filter b, otherwise returns false.