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