Page 1 of 1

The esp_cli component appears to be flawed, calling functions that don't exist

Posted: Mon Dec 15, 2025 4:57 pm
by espmich
Has anybody used the esp_cli component as instructed on the page:

https://components.espressif.com/compon ... f/esp_cli/

...because the example code there calls functions that don't exist, and of course fails to compile. Seems like a sloppy job at component development but the author published it anyways.

Here's the bug report that describes the flaws:

https://github.com/espressif/idf-extra- ... issues/641

Or am I missing something?

Re: The esp_cli component appears to be flawed, calling functions that don't exist

Posted: Mon Dec 15, 2025 11:53 pm
by nopnop2002

Code: Select all

//esp_cli_command_set_handle_t esp_cli_commands_cmd_set = esp_cli_commands_create();   
esp_cli_command_set_handle_t esp_cli_commands_cmd_set = esp_cli_commands_concat_cmd_set(cmd_set_a, cmd_set_b);   

Re: The esp_cli component appears to be flawed, calling functions that don't exist

Posted: Tue Dec 16, 2025 2:35 pm
by espmich
Thanks @nopnop2002 your comments may help. The compile problems are solved in bug report 641 on the IDF extra components repository, but now we are trying to get the example to work with the USB console. It was hard coded to use UART0, which is not always easy to access.

https://www.github.com/espressif/idf-ex ... ssues/641/

Re: The esp_cli component appears to be flawed, calling functions that don't exist

Posted: Fri Dec 19, 2025 12:48 am
by espmich
It appears this problem is solved by pull request https://github.com/espressif/idf-extra- ... /pull/644/.