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

espmich
Posts: 41
Joined: Tue Jan 16, 2024 8:32 pm

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

Postby espmich » Mon Dec 15, 2025 4:57 pm

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?

nopnop2002
Posts: 347
Joined: Thu Oct 03, 2019 10:52 pm
Contact:

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

Postby nopnop2002 » Mon Dec 15, 2025 11:53 pm

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);   

espmich
Posts: 41
Joined: Tue Jan 16, 2024 8:32 pm

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

Postby espmich » Tue Dec 16, 2025 2:35 pm

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/

espmich
Posts: 41
Joined: Tue Jan 16, 2024 8:32 pm

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

Postby espmich » Fri Dec 19, 2025 12:48 am

It appears this problem is solved by pull request https://github.com/espressif/idf-extra- ... /pull/644/.

Who is online

Users browsing this forum: ChatGPT-User, Semrush [Bot] and 4 guests