# 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"
}

Response example:

{
    "method": "getComPort",
    "requestId" : "1",
    "port": "COM3",
    "result": true
}

Parameter description:

  • port - name of the selected COM port. If no COM port is selected, the field will contain an empty string

  • requestId - unique request identifier. You can find more details about it here.

See also: