openthread_sys

Function otMultiRadioGetNeighborInfo

Source
pub unsafe extern "C" fn otMultiRadioGetNeighborInfo(
    aInstance: *mut otInstance,
    aExtAddress: *const otExtAddress,
    aNeighborInfo: *mut otMultiRadioNeighborInfo,
) -> otError
Expand description

Gets the multi radio link information associated with a neighbor with a given Extended Address.

OPENTHREAD_CONFIG_MULTI_RADIO must be enabled.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aExtAddress The Extended Address of neighbor. @param[out] aNeighborInfo A pointer to otMultiRadioNeighborInfo to output the neighbor info (on success).

@retval OT_ERROR_NONE Neighbor was found and @p aNeighborInfo was updated successfully. @retval OT_ERROR_NOT_FOUND Could not find a neighbor with @p aExtAddress.