openthread_sys

Function otLinkFilterGetNextRssIn

Source
pub unsafe extern "C" fn otLinkFilterGetNextRssIn(
    aInstance: *mut otInstance,
    aIterator: *mut otMacFilterIterator,
    aEntry: *mut otMacFilterEntry,
) -> otError
Expand description

Gets an in-use RssIn filter entry.

Is available when OPENTHREAD_CONFIG_MAC_FILTER_ENABLE configuration is enabled.

@param[in] aInstance A pointer to an OpenThread instance. @param[in,out] aIterator A pointer to the MAC filter iterator context. MUST NOT be NULL. To get the first entry, it should be set to OT_MAC_FILTER_ITERATOR_INIT. @param[out] aEntry A pointer to where the information is placed. The last entry would have the extended address as all 0xff to indicate the default received signal strength if it was set. @p aEntry MUST NOT be NULL.

@retval OT_ERROR_NONE Successfully retrieved the next entry. @retval OT_ERROR_NOT_FOUND No subsequent entry exists.