Serial Port ActiveX Constants description is located in:
- \Consts\Builder – for Builder
- \Consts\C# – for C#
- \Consts\C++ – for C++
- \Consts\Delphi – for Dephi
- \Consts\VB.Net – for VB.NET
- \Consts\VB6 – for VB
Parity
Name | Value |
No parity | 0 |
Odd | 1 |
Event | 2 |
Mark | 3 |
Space | 4 |
Stop bits
Name | Value |
1 stop bit | 0 |
1,5 stop bits | 1 |
2 stop bits | 2 |
Baudrate
Name | Value |
CBR_110 | 110 |
CBR_300 | 300 |
CBR_600 | 600 |
CBR_1200 | 1200 |
CBR_2400 | 2400 |
CBR_4800 | 4800 |
CBR_9600 | 9600 |
CBR_14400 | 14400 |
CBR_19200 | 19200 |
CBR_38400 | 38400 |
CBR_56000 | 56000 |
CBR_57600 | 57600 |
CBR_115200 | 115200 |
CBR_128000 | 128000 |
CBR_256000 | 256000 |
SettableParams
Value |
Hex |
SP_ PSP_BAUD |
0x0002 |
SP_ PSP_DATABITS |
0x0004 |
SP_ PSP_HANDSHAKING |
0x0010 |
SP_ PSP_PARITY |
0x0001 |
SP_ PSP_PARITY_CHECK |
0x0020 |
SP_ PSP_RLSD |
0x0040 |
SP_ PSP_STOPBITS | 0x0008 |
ProvCapabilities
Value |
Hex |
SP_PCF_16BITMODE |
0x0200 |
SP_PCF_DTRDSR |
0x0001 |
SP_PCF_INTTIMEOUTS |
0x0080 |
SP_PCF_PARITY_CHECK |
0x0008 |
SP_PCF_RLSD |
0x0004 |
SP_PCF_RTSCTS |
0x0002 |
SP_PCF_SETXCHAR |
0x0020 |
SP_PCF_SPECIALCHARS |
0x0100 |
SP_PCF_TOTALTIMEOUTS |
0x0040 |
SP_PCF_XONXOFF |
0x0010 |
ProvSubType
Value |
Hex |
SP_PST_FAX |
0x0021 |
SP_PST_LAT |
0x0101 |
SP_PST_MODEM |
0x0006 |
SP_PST_NETWORK_BRIDGE |
0x0100 |
SP_PST_PARALLELPORT |
0x0002 |
SP_PST_RS232 |
0x0001 |
SP_PST_RS422 |
0x0003 |
SP_PST_RS423 |
0x0004 |
SP_PST_RS449 |
0x0005 |
SP_PST_SCANNER |
0x0022 |
SP_PST_TCPIP_TELNET |
0x0102 |
SP_PST_UNSPECIFIED |
0x0000 |
SP_PST_X25 |
0x0103 |