I'm currently looking at options for interfacing with an RS-232 modem that only supports half-duplex communication.
At first, I thought setting up a PPP connection would be viable, but it sounds like it anticipates a full-duplex connection even with hardware flow control enabled. The application I'm looking into is mostly upload on the "field" side and I'd like to have it configure the channel as such. IE the "field" side should mostly have a CTS during normal operations.
A few options I've considered...
I may just "try" PPP once I have access to the modems and see how it behaves but looking through the code it appears it does not ever assert RTS.
Create my own HDLC framed protocol handler stack in Netty.
Create a TTY pair with PPP on one side and a half-duplex handling application on the other which communicates with the actual serial port and modem.
Any thoughts or best approaches?
Thanks.