openthread_sys

Function otLinkMetricsSendLinkProbe

Source
pub unsafe extern "C" fn otLinkMetricsSendLinkProbe(
    aInstance: *mut otInstance,
    aDestination: *const otIp6Address,
    aSeriesId: u8,
    aLength: u8,
) -> otError
Expand description

Sends an MLE Link Probe message.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aDestination A pointer to the destination address. @param[in] aSeriesId The Series ID [1, 254] which the Probe message aims at. @param[in] aLength The length of the data payload in Link Probe TLV, [0, 64] (per Thread 1.2 spec, 4.4.37).

@retval OT_ERROR_NONE Successfully sent a Link Probe message. @retval OT_ERROR_NO_BUFS Insufficient buffers to generate the MLE Link Probe message. @retval OT_ERROR_INVALID_ARGS @p aSeriesId or @p aLength is not within the valid range. @retval OT_ERROR_UNKNOWN_NEIGHBOR @p aDestination is not link-local or the neighbor is not found. @retval OT_ERROR_NOT_CAPABLE The neighbor is not a Thread 1.2 device and does not support Link Metrics.