getComPort

TrueConfLess than 1 minute

getComPort

Description: obtain the name of the selected COM port for PTZ camera control. v4.3.0+

Request example:

{
    "method": "getComPort",
    "requestId" : "1"
}

Response example:

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

Parameter description:

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

  • requestId - a unique request identifier. You can learn more about it here.

See also: