Inherits NetOceanDirect::ManagedObject< SerialPortAPI >.
|
int | getBaudRate (long deviceID, int %errorCode) |
|
void | saveBaudRateSettings (long deviceID, int %errorCode) |
|
void | setBaudRate (long deviceID, int %errorCode, int baudRate) |
|
| ManagedObject (SerialPortAPI *instance) |
|
SerialPortAPI * | GetInstance () |
|
|
SerialPortAPI * | m_Instance |
|
◆ getBaudRate()
int SerialPort::getBaudRate |
( |
long |
deviceID, |
|
|
int % |
errorCode |
|
) |
| |
Read the serial port baud rate..
- Parameters
-
- Returns
- the baud rate.
◆ saveBaudRateSettings()
void SerialPort::saveBaudRateSettings |
( |
long |
deviceID, |
|
|
int % |
errorCode |
|
) |
| |
Save baud settings on flash.
- Parameters
-
◆ setBaudRate()
void SerialPort::setBaudRate |
( |
long |
deviceID, |
|
|
int % |
errorCode, |
|
|
int |
baudRate |
|
) |
| |
Set the serial port baud rate.
- Parameters
-
[in] | deviceID | the device ID for the device to be configured (from OceanDirect::findDevices()) |
[out] | errorCode | set to 0 if successful, an OceanDirect error code (nonzero) otherwise |
[in] | baudRate | the serial port baud rate |
The documentation for this class was generated from the following files: