chdkptp 0.1.0

Pure-Rust client for Canon cameras running CHDK firmware (PTP/USB)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! CHDK PTP extensions.
//!
//! Every CHDK operation rides on a single vendor opcode (`PTP_OC_CHDK = 0x9999`)
//! with the sub-command in Param1. This module defines the sub-commands and
//! adds typed methods to `PtpSession` (in `ext`).

pub mod ext;
pub mod file;
pub mod liveview;
pub mod opcode;
pub mod script;

pub use ext::ChdkVersion;
pub use liveview::{FramebufferDesc, LiveViewFrame, LvDataHeader};
pub use opcode::{Sub, PTP_OC_CHDK};
pub use script::{ErrorCategory, ScriptId, ScriptMsg, ScriptStatus, ScriptValue};