Sniff UART traffic while shell is enabled

Hi,

I am hoping to send/receive binary data (a protocol) on the same UART that has logging/shell enabled. Is there a way to access the UART RX traffic that the shell gets? I would like to pass it on to a function of my own for processing.

Related