openthread_sys

Function otPlatDebugUart_vprintf

Source
pub unsafe extern "C" fn otPlatDebugUart_vprintf(
    fmt: *const c_char,
    ap: *mut __va_list_tag,
)
Expand description

Standard vprintf() to the debug uart, with no log decoration.

@param[in] fmt printf formatter text @param[in] ap va_list value for print parameters.

Implementation limitation: this formats the text into a purposely small text buffer on the stack, thus long messages may be truncated.

This is a WEAK symbol that can easily be overridden as needed.

For example, some platforms might override this via a non-WEAK symbol because the platform provides a UART_vprintf() like function that can handle an arbitrary length output.