pub unsafe extern "C" fn otLinkGetTxDirectRetrySuccessHistogram(
aInstance: *mut otInstance,
aNumberOfEntries: *mut u8,
) -> *const u32
Expand description
Gets histogram of retries for a single direct packet until success.
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.