Página 1 de 1

TCPIP <> RS232

MensagemEnviado: 29 Jul 2008 10:42
por mastk
Galera, alguem conhece um software que me pegue tudo q receba numa porta serial ou parelele (PC) e envia via TCP IP ou UDP para frente?

MensagemEnviado: 30 Jul 2008 13:07
por guest2003
O software que eu comentei... ele faz isso que você precisa... e eh free.

http://realterm.sourceforge.net/

Echo Port: Redirect Ports across Network

The main port can be passed through or echoed to the Echo Port. This is partcularly useful when the echoport is a TCP port. This allows a real serial port to be aliased across the network. (the echo port can be a real comm port too)

[]'s

MensagemEnviado: 31 Jul 2008 00:42
por msamsoniuk
eu usava esse cara no inetd:

23 stream tcp nowait root /usr/sbin/tcpd /usr/sbin/sredird -i 5 /dev/ttyS1 /var/lock/LCK..ttyS1

basicamente, redirecionava o telnet normal via rede para uma porta serial no linux, que estava plugada a uma placa com um HC908:

Código: Selecionar todos
root@darkstar:~# telnet localhost
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

  Infralogic Informatica Ltda
  Copyright (c) 2005, All rights reserved
  board model IKHC908GR4V1
HC908>
  command  not found, please try:

    version     show version
    cli interruption enabled
    sei interruption disabled
    clear       clear ANSI screen
    dump        dump memory (experimental)
    led invert and show led status
HC908>