Go to the documentation of this file.
31 #ifndef IRCOMM_PARAMS_H
32 #define IRCOMM_PARAMS_H
37 #define IRCOMM_SERVICE_TYPE 0x00
38 #define IRCOMM_PORT_TYPE 0x01
39 #define IRCOMM_PORT_NAME 0x02
42 #define IRCOMM_DATA_RATE 0x10
43 #define IRCOMM_DATA_FORMAT 0x11
44 #define IRCOMM_FLOW_CONTROL 0x12
45 #define IRCOMM_XON_XOFF 0x13
46 #define IRCOMM_ENQ_ACK 0x14
47 #define IRCOMM_LINE_STATUS 0x15
48 #define IRCOMM_BREAK 0x16
51 #define IRCOMM_DTE 0x20
52 #define IRCOMM_DCE 0x21
53 #define IRCOMM_POLL 0x22
56 #define IRCOMM_3_WIRE_RAW 0x01
57 #define IRCOMM_3_WIRE 0x02
58 #define IRCOMM_9_WIRE 0x04
59 #define IRCOMM_CENTRONICS 0x08
62 #define IRCOMM_SERIAL 0x00
63 #define IRCOMM_PARALLEL 0x01
66 #define IRCOMM_WSIZE_5 0x00
67 #define IRCOMM_WSIZE_6 0x01
68 #define IRCOMM_WSIZE_7 0x02
69 #define IRCOMM_WSIZE_8 0x03
71 #define IRCOMM_1_STOP_BIT 0x00
72 #define IRCOMM_2_STOP_BIT 0x04
74 #define IRCOMM_PARITY_DISABLE 0x00
75 #define IRCOMM_PARITY_ENABLE 0x08
77 #define IRCOMM_PARITY_ODD 0x00
78 #define IRCOMM_PARITY_EVEN 0x10
79 #define IRCOMM_PARITY_MARK 0x20
80 #define IRCOMM_PARITY_SPACE 0x30
83 #define IRCOMM_XON_XOFF_IN 0x01
84 #define IRCOMM_XON_XOFF_OUT 0x02
85 #define IRCOMM_RTS_CTS_IN 0x04
86 #define IRCOMM_RTS_CTS_OUT 0x08
87 #define IRCOMM_DSR_DTR_IN 0x10
88 #define IRCOMM_DSR_DTR_OUT 0x20
89 #define IRCOMM_ENQ_ACK_IN 0x40
90 #define IRCOMM_ENQ_ACK_OUT 0x80
93 #define IRCOMM_OVERRUN_ERROR 0x02
94 #define IRCOMM_PARITY_ERROR 0x04
95 #define IRCOMM_FRAMING_ERROR 0x08
98 #define IRCOMM_DELTA_DTR 0x01
99 #define IRCOMM_DELTA_RTS 0x02
100 #define IRCOMM_DTR 0x04
101 #define IRCOMM_RTS 0x08
104 #define IRCOMM_DELTA_CTS 0x01
105 #define IRCOMM_DELTA_DSR 0x02
106 #define IRCOMM_DELTA_RI 0x04
107 #define IRCOMM_DELTA_CD 0x08
108 #define IRCOMM_CTS 0x10
109 #define IRCOMM_DSR 0x20
110 #define IRCOMM_RI 0x40
111 #define IRCOMM_CD 0x80
112 #define IRCOMM_DCE_DELTA_ANY 0x0f