pub unsafe extern "C" fn otTrelSetFilterEnabled(
aInstance: *mut otInstance,
aEnable: bool,
)
Expand description
Sets the filter mode (enables/disables filtering).
When filter mode is enabled, any rx and tx traffic through TREL interface is silently dropped. This is mainly intended for use during testing.
Unlike otTrel{Enable/Disable}()
which fully starts/stops the TREL operation, when filter mode is enabled the
TREL interface continues to be enabled.
@param[in] aInstance The OpenThread instance. @param[in] aFiltered TRUE to enable filter mode, FALSE to disable filter mode.