Set the communication parameters for local serial port (Win32).
This function should be called before robot_connect. Use the value
-1 for the arguments where the default value should be used. See the docummentation of Win32 function SetCommState for the
description of the parameters.
- Source:
- robotdll/robotdll.h:763
- Author:
- Version:
- latest version
- Param:
- Code:
public ROBOTDLL_API void robot_setcomparam ( | short id , |
| | long baud , |
| | short fparity , |
| | short ctsflow , |
| | short dsrflow , |
| | short dtrcontrol , |
| | short dsrsensitivity , |
| | short continueonxoff , |
| | short foutx , |
| | short finx , |
| | short rtscontrol , |
| | short bytesize , |
| | short parity , |
| | short stopbits ) |