CArclib::ArcSetTermPort

The ArcSetTermPort method updates COM port settings of the RAID subsystem.

 

virtual ARC_STATUS ArcSetTermPort (

BYTE nPort,

BYTE nBaudRate,

BYTE nStopBit

);

Parameters:

[IN]

nPort:

 

Value

Meaning

0

Terminal Port

1

Debug Port

 

nBaudRate:

 

Value

Meaning

0

1200 bps

1

2400 bps

2

4800 bps

3

9600 bps

4

19200 bps

5

38400 bps

6

57600 bps

7

115200 bps

 

nStopBit:

 

Value

Meaning

0

1 stop bit

1

2 stop bits

 

Return Values

This method returns the ARC_STATUS.

Note:

There are two COM ports of the RAID subsystem, one “Terminal Setting” and the other for “Debug”.

Password required if password enabled, use ArcChkPassword member function to validate the password.