Re: [Flightgear-devel] Serial device

2003-12-23 Thread Martin Spott
Alan King [EMAIL PROTECTED] wrote: Has nothing to do with dropped bytes, has to do with figuring where the start is in a repeating variable length data stream. If I send you a few thousand FF's how do you propose to tell which ones are starts and how many channels? If you can live

Re: [Flightgear-devel] Serial device

2003-12-23 Thread Manuel Bessler
On Tue, Dec 23, 2003 at 01:40:16AM -0500, Alan King wrote: I have worked on a protocol for my own stuff... it includes analog axis and button state support. I've put up a picture of my protocol spec: http://cockpit.varxec.de/fgfs/PHCC2HostProtocol.xfig.png Can't get there

Re: [Flightgear-devel] Serial device

2003-12-23 Thread Alan King
Martin Spott wrote: I'm not shure if the current configurable serial interface is capable to do bit-mangling and I'm quite confident that it lacks support for checksumming. But this may come in the future, Thanks actually that looks pretty good, and is really close to the register then data

Re: [Flightgear-devel] Serial device

2003-12-23 Thread Martin Spott
Alan King [EMAIL PROTECTED] wrote: Martin Spott wrote: I'm not shure if the current configurable serial interface is capable to do bit-mangling and I'm quite confident that it lacks support for checksumming. But this may come in the future, Thanks actually that looks pretty good, and

[Flightgear-devel] Serial device

2003-12-22 Thread Alan King
Anyone up for making a serial device? I only do a little programming on the PC side of things, so am not currently up to the task I think. Needs sync bytes, something like this is common: FF FF 0 axis1 0 axis2 0 axis3 etc. Really just check the high bit, 2 set in a row is the sync, then a

Re: [Flightgear-devel] Serial device

2003-12-22 Thread Andy Ross
Alan King wrote: Anyone up for making a serial device? I only do a little programming on the PC side of things, so am not currently up to the task I think. Needs sync bytes, something like this is common: FF FF 0 axis1 0 axis2 0 axis3 etc. RS232 is an async protocol, there's no need for any

Re: [Flightgear-devel] Serial device

2003-12-22 Thread Alan King
Andy Ross wrote: RS232 is an async protocol, there's no need for any synchronization in the application (that's what the start bit is for). Just send the data you want and it will come out the other side. If you saw an It's for byte sync not bit sync. application doing this in the past, it's

Re: [Flightgear-devel] Serial device

2003-12-22 Thread Manuel Bessler
Hi Alan, On Mon, Dec 22, 2003 at 02:48:02AM -0500, Alan King wrote: Anyone up for making a serial device? I only do a little programming you mean for the microcontroller side ? on the PC side of things, so am not currently up to the task I think. Needs sync bytes, something like this

Re: [Flightgear-devel] Serial device

2003-12-22 Thread Alan King
Manuel Bessler wrote: you mean for the microcontroller side ? Hmm that could have been read the other way from what I meant. Nope I do PICs that side is trivial for me. Just figured someone already working inside FG could add a serial driver and serial.XML far faster than I could. I have