Can someone please post an example of using ioctl to set RTS?
I have opened a port with:
fp = fopen( "ittyb:", (pointer)(IO_SERIAL_RAW_IO | IO_SERIAL_HW_FLOW));
Now when I transmit data out of ittyb with
Is the driver suppose to set the control the RTS output pin? Or do I need to manually control RTS using "_IO_IOCTL_SERIAL_SET_HW_SIGNAL" and "IO_SERIAL_RTS"?If so, how do I properly use ioctl with these commands?
Also, IOCTL.h does define all the hardware flow control pins (which are not supported on either eval kit). How do I enable and allocate them for my own BSP/PSP? (I havnt looked into this, thought I would just and this question while im here)...