libgphoto2 photo camera library (libgphoto2) Internals  2.5.26
_GPPortSettingsSerial Struct Reference

Port settings for serial ports. More...

#include <gphoto2-port.h>

Data Fields

char port [128]
 
int speed
 
int bits
 
GPPortSerialParity parity
 
int stopbits
 

Detailed Description

Port settings for serial ports.

Definition at line 66 of file gphoto2-port.h.

Field Documentation

◆ bits

int _GPPortSettingsSerial::bits

How many bits data.

Definition at line 69 of file gphoto2-port.h.

Referenced by gp_port_set_info().

◆ parity

GPPortSerialParity _GPPortSettingsSerial::parity

parity data, see GP_PORT_SERIAL_PARITY_ defines

Definition at line 70 of file gphoto2-port.h.

Referenced by gp_port_set_info().

◆ port

char _GPPortSettingsSerial::port[128]

The portname (/dev/ttyX)

Definition at line 67 of file gphoto2-port.h.

◆ speed

int _GPPortSettingsSerial::speed

The baudrate of the device.

Definition at line 68 of file gphoto2-port.h.

Referenced by gp_camera_set_port_speed(), and gp_port_set_info().

◆ stopbits

int _GPPortSettingsSerial::stopbits

How many stop bits are used.

Definition at line 72 of file gphoto2-port.h.

Referenced by gp_port_set_info().


The documentation for this struct was generated from the following file: