Instrument Neutral Distributed Interface INDI  1.9.2
Classes | Functions | Variables
Connection Namespace Reference

Combines all INDI Connection Plugins. Each INDI connection plugin is responsible of managing communications with a specific physical or logical medium (e.g. serial or ethernet). More...

Classes

class  Interface
 The Interface class is the base class for all INDI connection plugins. More...
 
class  Serial
 The Serial class manages connection with serial devices including Bluetooth. Serial communication is still the predominat method to communicate with astronomical devices such as mounts, focusers, filter wheels..etc. The default connection parameters are 9600 8N1 (9600 Baud Rate, 8 data bits, no parity, 1 stop bit). All the parameters can be updated and read via the getters and setters of the class. The default port is /dev/ttyUSB0 under Linux and /dev/cu.usbserial under MacOS. After serial connection is established successfully,. More...
 
class  TCP
 The TCP class manages connection with devices over the network via TCP/IP. Upon successfull connection, reads & writes from and to the device are performed via the returned file descriptor using standard UNIX read/write functions. More...
 

Functions

int serial_dev_file_select (const dirent *entry)
 
int usb_dev_file_select (const dirent *entry)
 
int bluetooth_dev_file_select (const dirent *entry)
 

Variables

const char * CONNECTION_TAB = "Connection"
 CONNECTION_TAB Where all device connection settings (serial, usb, ethernet) are defined and controlled. More...
 

Detailed Description

Combines all INDI Connection Plugins. Each INDI connection plugin is responsible of managing communications with a specific physical or logical medium (e.g. serial or ethernet).

Function Documentation

◆ bluetooth_dev_file_select()

int Connection::bluetooth_dev_file_select ( const dirent *  entry)

Definition at line 420 of file connectionserial.cpp.

◆ serial_dev_file_select()

int Connection::serial_dev_file_select ( const dirent *  entry)

Definition at line 386 of file connectionserial.cpp.

◆ usb_dev_file_select()

int Connection::usb_dev_file_select ( const dirent *  entry)

Definition at line 405 of file connectionserial.cpp.

Variable Documentation

◆ CONNECTION_TAB

const char * Connection::CONNECTION_TAB = "Connection"

CONNECTION_TAB Where all device connection settings (serial, usb, ethernet) are defined and controlled.

Definition at line 41 of file connectioninterface.cpp.