C&&CPP
리눅스 serial 연결 확인 및 송.수신
지니
2018. 8. 1. 14:46
반응형
http://codingcoding.tistory.com/148
위 글 잘 되어있습니다! .
송신 TEST
추가로 STX - ETX 붙이는 방법
echo -en '\x02testMsg\x03' > /dev/ttyUSB0
send
echo -en '\x02testMsg\x03' > /dev/ttyUSB0
echo -n -e '\x66\x6f\x6f'
echo -n -e \\x66\\x6f\\x6f
receive
screen /dev/ttyS0 9600
반응형