[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: Serial Bridge.
hi,
This is a bit of a guess but:
xap-bridge [serial port] [instance name] [network interface] [udp port]
[debug level]
and serial port will probably be in the unix format eg /dev/ttyS0 for com1
I did notice this though, and this one is really for Patrick:
/*
$Date: 2003/05/05 14:02:53 $
$Revision: 1.1 $
$Log: bridge.c,v $
Revision 1.1 2003/05/05 14:02:53 cvsowner
Very simple serial bridge - only listens on serial port at 9600
(fixed), does not modify hop count. Forwards messages on to ethernet
interface without verifying integrity.
xAP Serial - Ethernet bridge
*/
which implies a 9600 baud
but this
newtio.c_cflag = B19200CS8CREADCLOCAL;
newtio.c_iflag=IGNBRK IGNPAR IXON IXOFF;
newtio.c_lflag=0;
newtio.c_cc[VTIME]=0;
newtio.c_cc[VMIN]=0;
cfsetispeed(&newtio, B19200); // this seems to be
necessary under
cfsetospeed(&newtio, B19200); // Cygwin, it isn't
required under Linux
would imply a 19200 baud?
James
danward79 wrote:
> Hi,
>
> I have downloaded Patrick's Serial Bridge. What is the commandline
> format?
>
> Is it xap-bridge.exe <port>?
>
> or are there other parameters required?
>
> I am wanting to play around with some AVR Microprocessors am I right
> in assuming as long as the serial bridge is listening on the correct
> port (6 in my case). I just send a xAP msg over the serial interface
> and the Bridge should handle it ok?
>
> I am looking at trying to make some simple light level detector's
> using Bascom.
>
> Any tips?
>
> Cheers
>
> Dan
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
xAP_Automation Main Index |
xAP_Automation Thread Index |
xAP_Automation Home |
Archives Home
|