Function esp_idf_svc::sys::esp_console_cmd_register
source · pub unsafe extern "C" fn esp_console_cmd_register(
cmd: *const esp_console_cmd_t
) -> i32
Expand description
@brief Register console command @param cmd pointer to the command description; can point to a temporary value @return - ESP_OK on success - ESP_ERR_NO_MEM if out of memory - ESP_ERR_INVALID_ARG if command description includes invalid arguments