openthread_sys

Function otPlatMessagePoolNumFreeBuffers

Source
pub unsafe extern "C" fn otPlatMessagePoolNumFreeBuffers(
    aInstance: *mut otInstance,
) -> u16
Expand description

Get the number of free buffers.

Is used when OPENTHREAD_CONFIG_PLATFORM_MESSAGE_MANAGEMENT is enabled.

@param[in] aInstance A pointer to the OpenThread instance.

@returns The number of buffers currently free and available to OpenThread.