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

Suggestion USB CDC or CLI ?

I am developing a product and there is this situation. My custom board doesn't have UART so I will have to communicate over a Virtual Serial COM Port.

I have a desktop app that sends a challenge (sort of a number) and I need nRF52840 to give a response corresponding to the challenge sent over a serial port.

My question is should I implement a something of my own based on USB CDC Example or should I use Command Line Interface ?

Note that a certain button is first pressed on nRF52840 then it enters this challenge and response mode.

Related