This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Thread CLI update

Hello,

I developed a project based on thread CLI example. Everything works fine but I would like to add more commands to the CLI interface, maintaining the existing Thread commands that are initialized by the otCliUartInit function (so that commissioning can be achieved).

I tried to add the CLI interface provided by the SDK, using CDC ACM as transport (I do not want UART or RTT transport). Unfortunately I found out I cannot simply add this interface to the Thread CLI since the APP_USBD_CONFIG_EVENT_QUEUE_ENABLE define is already enabled for the Thread CLI to work. Problem is this defined is fundamental for the CLI interface provided by the SDK.

I wonder if there is a simple solution to solve this problem. Otherwise I will have to add the Thread commands I need to the CLI interface.

Thanks.

Related