Structures – VSERIAL_WIRING

typedef struct _VSERIAL_WIRING{
   UCHAR DTR; // data-terminal-ready
   UCHAR RTS;// request-to-send
   UCHAR OUT1;
   UCHAR OUT2; // Interrupt enable (IE) line
}VSERIAL_WIRING, *PVSERIAL_WIRING;

Members:

  • DTR, RST, Out1, Out2 [in] : line signals may have the following values depending on which port you want connect to:
    ValueDescriptionHex
    WIRED_TO_DCDsetting connection to remote DCD line0x80
    WIRED_TO_RIsetting connection to remote RI line0x40
    WIRED_TO_DSRsetting connection to remote DSR line0x20
    WIRED_TO_CTSsetting connection to remote CTS line0x10