File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -231,11 +231,18 @@ install them manually. Please visit an official filter's documentation on how to
231231Custom Filters
232232~~~~~~~~~~~~~~
233233
234- :ref: `piocore ` provides an API to extend device monitor with custom filters declared
235- in :ref: `projectconf_pio_monitor_dir ` or in "monitor" folder of :ref: `platforms `.
234+ :ref: `piocore ` provides an API to extend device monitor with custom filters.
236235Each filter is a Python-based file and its name should have the ``filter_ `` prefix.
237236In a Python code, you need to extend ``DeviceMonitorFilter `` class to get access to
238- the ``rx() `` and ``tx() `` methods/callbacks. See the base API below:
237+ the ``rx() `` and ``tx() `` methods/callbacks.
238+
239+ :ref: `piocore ` looks for the custom filters in the next locations:
240+
241+ - Project :ref: `projectconf_pio_monitor_dir `
242+ - :ref: `projectconf_pio_platforms_dir `/<platform>/monitor
243+ - :ref: `projectconf_pio_packages_dir `/<package>/monitor
244+
245+ See the base API below:
239246
240247**filter_demo.py **
241248
You can’t perform that action at this time.
0 commit comments