TwiceAsNice  2019-02-18
Macros | Functions
focuslynx.cpp File Reference
#include "focuslynx.h"
#include "indicom.h"
#include "connectionplugins/connectionserial.h"
#include <memory>
#include <cstring>
#include <termios.h>
Include dependency graph for focuslynx.cpp:

Macros

#define FOCUSNAMEF1   "FocusLynx F1"
 
#define FOCUSNAMEF2   "FocusLynx F2"
 
#define FOCUSLYNX_TIMEOUT   2
 
#define HUB_SETTINGS_TAB   "Device"
 

Functions

std::unique_ptr< FocusLynxF1lynxDriveF1 (new FocusLynxF1("F1"))
 
std::unique_ptr< FocusLynxF2lynxDriveF2 (new FocusLynxF2("F2"))
 
void ISGetProperties (const char *dev)
 Get Device Properties. More...
 
void ISNewSwitch (const char *dev, const char *name, ISState *states, char *names[], int n)
 Update the value of an existing switch vector property. More...
 
void ISNewText (const char *dev, const char *name, char *texts[], char *names[], int n)
 Update the value of an existing text vector property. More...
 
void ISNewNumber (const char *dev, const char *name, double values[], char *names[], int n)
 
void ISNewBLOB (const char *dev, const char *name, int sizes[], int blobsizes[], char *blobs[], char *formats[], char *names[], int n)
 Update data of an existing blob vector property. More...
 
void ISSnoopDevice (XMLEle *root)
 Function defined by Drivers that is called when another Driver it is snooping (by having previously called IDSnoopDevice()) sent any INDI message. More...
 

Macro Definition Documentation

◆ FOCUSLYNX_TIMEOUT

#define FOCUSLYNX_TIMEOUT   2

◆ FOCUSNAMEF1

#define FOCUSNAMEF1   "FocusLynx F1"

◆ FOCUSNAMEF2

#define FOCUSNAMEF2   "FocusLynx F2"

◆ HUB_SETTINGS_TAB

#define HUB_SETTINGS_TAB   "Device"

Function Documentation

◆ ISNewNumber()

void ISNewNumber ( const char *  dev,
const char *  name,
double  values[],
char *  names[],
int  n 
)

◆ lynxDriveF1()

std::unique_ptr<FocusLynxF1> lynxDriveF1 ( new   FocusLynxF1"F1")

◆ lynxDriveF2()

std::unique_ptr<FocusLynxF2> lynxDriveF2 ( new   FocusLynxF2"F2")