pub unsafe extern "C" fn otLinkMetricsConfigForwardTrackingSeries(
aInstance: *mut otInstance,
aDestination: *const otIp6Address,
aSeriesId: u8,
aSeriesFlags: otLinkMetricsSeriesFlags,
aLinkMetricsFlags: *const otLinkMetrics,
aCallback: otLinkMetricsMgmtResponseCallback,
aCallbackContext: *mut c_void,
) -> otError
Expand description
Sends an MLE Link Metrics Management Request to configure or clear a Forward Tracking Series.
@param[in] aInstance A pointer to an OpenThread instance.
@param[in] aDestination A pointer to the destination address.
@param[in] aSeriesId The Series ID to operate with.
@param[in] aSeriesFlags The Series Flags that specifies which frames are to be accounted.
@param[in] aLinkMetricsFlags A pointer to flags specifying what metrics to query. Should be NULL
when
aSeriesFlags
is 0
.
@param[in] aCallback A pointer to a function that is called when Link Metrics Management Response is
received.
@param[in] aCallbackContext A pointer to application-specific context.
@retval OT_ERROR_NONE Successfully sent a Link Metrics Management Request message. @retval OT_ERROR_NO_BUFS Insufficient buffers to generate the MLE Link Metrics Management Request message. @retval OT_ERROR_INVALID_ARGS @p aSeriesId 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.