Console Echo

I'm doing a project for adding a Bluetooth capability to an embedded Linux device. The Linux master talks to the nRF52840-based Bluetooth module via a dedicated serial (UART) link. I've got a console feature on the BT module such that the Linux master can send commands and receive responses in plain old ASCII.

Since there's not actually a human watching a screen, the commands should go out and the responses should come back, period. For testing, I want to set the terminal for local echo and see what I'm typing with no remote echo. If I do a basic UART driver, I can get this. However, with the console subsystem, outgoing characters are echoed back. I've looked through uart_console.c to see how incoming characters are sent back, and I don't see it, much less how to turn it off.

Related