Using FIFO on NuttX to send data from your board to computer
2021-03-04 22:46:08 Author: acassis.wordpress.com(查看原文) 阅读量:273 收藏

There is easy way to send the data, produced by our board, directly to your computer using a simple command line tool:

nsh> mkfifo /dev/fifo
nsh> myapp > /dev/fifo &
nsh> netcat 192.168.0.15 10123 /dev/fifo

Before running the above commands in your board, you need first run on your computer:

$ nc -l 10123

文章来源: https://acassis.wordpress.com/2021/03/04/using-fifo-on-nuttx-to-send-data-from-your-board-to-computer/
如有侵权请联系:admin#unsafe.sh