Curtis L. Olson wrote:
Erik Hofman wrote:

Currently i wish to have some property values outputted out of the serial port and have some other property values inputted through the same serial port. How do i do that? Have two separate protocol files and configure them as in and out respectivesly to work over the same serial port?

Hmm, I never had that in mind. I don't think that would be possible, at least not in an interactive way. The generic protocol just sends data to the output port at regular intervals or reads data from the input port at regular intervals.

Hmmm, why wouldn't this work ... you can open up a single serial port and write to and read from it.

It can be done, just not in an interactive way. The implementation was not designed for that. So you can't return the value of a property based on a request from the sender.


You can however sent and receive at the same time. And since the serial port driver buffers the incoming packets it would be possible to synchronize the sender and receiver without too much trouble.

Erik

_______________________________________________
Flightgear-users mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to