[][src]Function openthread_sys::otLinkGetTxDirectRetrySuccessHistogram

pub unsafe extern "C" fn otLinkGetTxDirectRetrySuccessHistogram(
    aInstance: *mut otInstance,
    aNumberOfEntries: *mut u8
) -> *const u32

This method gets histogram of retries for a single direct packet until success.

This function is valid when OPENTHREAD_CONFIG_MAC_RETRY_SUCCESS_HISTOGRAM_ENABLE configuration is enabled.

@param[in] aInstance A pointer to an OpenThread instance. @param[out] aNumberOfEntries A pointer to where the size of returned histogram array is placed.

@returns A pointer to the histogram of retries (in a form of an array). The n-th element indicates that the packet has been sent with n-th retry.