Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

CLI 16 character limit?

I have a small program that is to be used in production to test my device. It has to be scriptable so I'm using teraterm over rtt.

No external IO for a serial port.

Everything is working great until I try to issue a long command, anything > 16 characters

So 'mfg led all on' is OK but 'mfg led all off' fails. When I press enter the first time I just see a CR, no LF, if I press enter a second time the command works.

if I change the command to 'mfg led all of' it works again!

I've looked through nrf_cli.c but I don't see anything.

SO there looks like a limit of 15 characters?

Oh, so this only happens in teraterm and putty, it works in the Segger IDE and in rtt viewer. So I'm now thinking it's a issue with the terminal programs??

Thanks for any insight

Keith

Related