시리얼 통신프로그램을 찾고 있습니다.

leolo의 이미지

시리얼 통신 프로그램을 찾고 있습니다.
제가 구하는 프로그램은 이렇습니다.
아마도 있을꺼 같아서요.. 문의 드립니다.

시리얼 인터페이스에서
CTS, RTS, DTR, DSR, TX, RX로 데이터가 들어오는지 확인하는
프로그램입니다.

예를 들어
송신측에서 RTS 라인으로 신호를 보냈다.
수신측에서 읽어 보니 CTS라인으로 신호가 들어왔다.
이런 씩으로 결과를 출력하고 싶습니다.
간단한 예제나 원도우용 프로그램은 없는지요..
아니면 리눅스로 간단히 짠 프로그램만 조금 보여주세요..
부탁드립니다.

lobsterman의 이미지

minicom 이 이닐까요?

그냥 콘솔에서 minicom이라구 쳐보세요...

무한한 상상력과 강한실행욕구는 엔지니어의 마지막 무기~

leolo의 이미지

미니컴에서 CTS, RTS, DSR 등의 라인으로 신호가 들어오는지..
알수 있나요...
없을꺼 같은데요..

지금 저는 양단에 DCE장치를 부착한 DTE 장치들간의
통신을 생각하고 있습니다.
이들 사이에 CTS, RTS 등으로 신호가 오고 가는걸 체크하고 싶습니다.
좀 알려주세요.. 데이터가 오고 가는 것이 아니라..
서로간의 연결이 이루어지는 과정을 신호를 통해 알고 싶은거죠..

실력이 있으면 삶이 편하다... 영차 영차...

mrchu의 이미지

http//sourceforge.net/projects/serialsniffer/
시도해보세요.
소스포지에서 serial monitor로 검색하면 몇개 나오는군요..

leolo의 이미지

제가 알고 싶은건 시리얼 포트로 들어오는 데이터가 아니라,
시리얼 포트의 RTS, CTS 등의 라인으로 들어오는 데이터를
확인하고 싶은건데요.
지금 이러한 시니퍼는 시리얼 포트로 들어오는 데이터를
보여주고 있거든요..

실력이 있으면 삶이 편하다... 영차 영차...

hskim76의 이미지

drivers/char/serial.c 를 보시면 되겠는데요. :D

printk를 적당히 넣어서..... :shock:

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.