Busybox Serial Set Tools Stty

Write picture description here

When the system is up, there will be three device nodes ttyS0, ttyS1, ttyS2 in the /dev directory, and set the tx of ttyS0 Connect to PC via serial port with rx, and execute echo 111> ttyS0 in the ipcam control terminal, and you will find that the serial terminal on the PC has received the data sent by ipcam via ttyS0, but it is garbled and needs to be passed through stty -F /dev /ttyS0 speed 57600 to set the baud rate of ttyS0 on the linux device to 57600. In this way, execute echo 111> ttyS0 in the terminal of the linux device to receive the “111” character information on the serial terminal of the pc.

< p>Stty is configured in busybox as follows

Config busybox settings ---> Coreutils ---> [*] stty

Write the picture description here

When the system is up, it will appear in the /dev directory ttyS0, ttyS1, ttyS2 three device nodes, connect the tx and rx of ttyS0 to the pc through the serial port, and then execute echo 111> ttyS0 on the ipcam control terminal, you will find that the serial port terminal on the pc has received the ipcam sent by ttyS0 The data is just garbled. You need to use stty -F /dev/ttyS0 speed 57600 to set the baud rate of ttyS0 on the linux device to 57600. In this way, you can execute echo 111> ttyS0 in the terminal of the linux device to be in the serial terminal of the pc. I have received the “111” character message on the

The configuration of stty in busybox is as follows

Config < span class="hljs-comment">busybox settings ---> Coreutils  ---> [*] stty

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1218 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.