Constants Overview

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

NameValue
No parity0
Odd1
Event2
Mark3
Space4

Stop bits

NameValue
1 stop bit0
1,5 stop bits 1
2 stop bits2

Baudrate

NameValue
CBR_110110
CBR_300 300
CBR_600600
CBR_12001200
CBR_24002400
CBR_48004800
CBR_96009600
CBR_1440014400
CBR_1920019200
CBR_3840038400
CBR_5600056000
CBR_5760057600
CBR_115200115200
CBR_128000128000
CBR_256000256000

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