Function openthread_sys::otPlatMessagePoolInit

source ยท
pub unsafe extern "C" fn otPlatMessagePoolInit(
    aInstance: *mut otInstance,
    aMinNumFreeBuffers: u16,
    aBufferSize: usize,
)
Expand description

Initialize the platform implemented message pool.

Is used when OPENTHREAD_CONFIG_PLATFORM_MESSAGE_MANAGEMENT is enabled.

@param[in] aInstance A pointer to the OpenThread instance. @param[in] aMinNumFreeBuffers An uint16 containing the minimum number of free buffers desired by OpenThread. @param[in] aBufferSize The size in bytes of a buffer object.