type alias Serial

The PTZ serial port settings in <Serial>.

Properties

channelId: number

Zero-based channel.

baudRate: number

1200, 2400, 4800 or 9600; the firmware writes 9600 for an unknown index.

dataBit: string

Data bits as a name, such as CS8.

stopBit: number

1 or 2.

parity: "none" | "odd" | "even"

Parity.

flowControl: "none" | "hard" | "xon:xoff"

Flow control.

controlProtocol: "PELCO_D" | "PELCO_P"

PTZ control protocol.

PELCO device address.

Usage

import { type Serial } from "protocol/params/mod.ts";