Expand description
Library for handling Pelco D, a protocol used for PTZ camera control.
-
Message is the type defining a control message.
-
PelcoDPort can be used for sending the messages to the device.
Structs§
- Command1
- Bitflag for generating the “command1” word of the message.
- Command2
- Bitflag for generating the “command2” word of the message.
- Direction
- Bitflag for direction parameter.
- Error
- Error type for the crate.
- Message
- Single command message object type.
- Message
Builder - Builder of Message (standard) instances.
- PelcoD
Port - Interface for communicating with a device using Pelco D protocol.
Enums§
- Adjustment
Value - Argument type for value adjustment functions.
- Auto
Ctrl - Argument type for Auto/On/Off
- Error
Kind - Possible types of error.
- Focus
Speed - Argument type for FocusSpeed
- OnOff
- On/Off argument type
- Shutter
Speed - Argument type for shutter speed.
- Speed
- Speed parameter type for pan and tilt moves.
- Zoom
Speed - Argument type for Zoom Speed
Functions§
- checksum
- Checksum algorithm used by Pelco D.
Type Aliases§
- Result
- Result type used in the crate.