This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

interconnect capture_encode & decode_display examples with UART commands

Hi all,

I am working on a project to record and playback video and store it in a SATA device. All is controlled by the DM8168.

I need to interconnect both examples with some commands that I received via UART. The aim is to start capturing video when a command "Start" comes from the UART, and I need to store the video in a output file.

When the example receive a "stop" command from the UART, the video capture is stopped and the output file is wrote and finished.

On  the other hand, when I need to playback the video from the file, via UART command, the resulting output file is now the input file, so I have to display the recorded video.

My question is; exists a method or a command to interconnect UART commands and console application?

Regards,

Inigo