# setComPort
Version: 4.3.0+
Description: select the COM port for PTZ camera control.
Request example:
{
"method" : "setComPort",
"requestId" : "1",
"port" : "COM3"
}
Response example:
{
"method": "setComPort",
"requestId": "1",
"result": true
}
Parameter description:
port
- the name of the selected COM port. If the field is left blank, the COM port will not be used.requestId
- unique request identifier. You can find more details about it here.
See also:
- getComPort
- getPtzControls
- ptzZoomInc
- ptzZoomDec
- ptzUp
- ptzDown
- ptzStop
- ptzRight
- ptzLeft
- setPanPos
- setTiltPos
- setZoomPos
- setPtzDefaults
- addVideoCapturerPreset
- getAllVideoCapturerPresets
- updateVideoCapturerPreset
- applyVideoCapturerPreset
- removeVideoCapturerPreset
- comPortChanged
- videoCapturerPresetRemoved
- videoCapturerPresetAdded
- videoCapturerPresetUpdated
- videoCapturerPresetApplied
- ptzControlsChanged