Skip to main content

otCliInterpreterSetPromptConfig

Function otCliInterpreterSetPromptConfig 

Source
pub unsafe extern "C" fn otCliInterpreterSetPromptConfig(
    aInterpreter: *mut otCliInterpreter,
    aEnable: bool,
)
Expand description

Configures whether or not the CLI interpreter outputs the prompt string.

Requires OPENTHREAD_CONFIG_CLI_PROMPT_ENABLE.

It is enabled by default.

@param[in] aInterpreter A pointer to a CLI interpreter. @param[in] aEnable TRUE to enable outputting the prompt, FALSE to disable.