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

Macros

#define PYXIS_TIMEOUT   3
 
#define PYRIX_BUF   7
 
#define PYRIX_CMD   6
 
#define SETTINGS_TAB   "Settings"
 
#define PYXIS_3INCH_RATE   6
 
#define PYXIS_2INCH_RATE   8
 
#define PYXIS_3INCH_PER_DEG   (128)
 
#define PYXIS_2INCH_PER_DEG   14
 
#define POLL_100MS   100
 

Functions

std::unique_ptr< Pyxispyxis (new Pyxis())
 
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

◆ POLL_100MS

#define POLL_100MS   100

◆ PYRIX_BUF

#define PYRIX_BUF   7

◆ PYRIX_CMD

#define PYRIX_CMD   6

◆ PYXIS_2INCH_PER_DEG

#define PYXIS_2INCH_PER_DEG   14

◆ PYXIS_2INCH_RATE

#define PYXIS_2INCH_RATE   8

◆ PYXIS_3INCH_PER_DEG

#define PYXIS_3INCH_PER_DEG   (128)

◆ PYXIS_3INCH_RATE

#define PYXIS_3INCH_RATE   6

◆ PYXIS_TIMEOUT

#define PYXIS_TIMEOUT   3

◆ SETTINGS_TAB

#define SETTINGS_TAB   "Settings"

Function Documentation

◆ ISNewNumber()

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

◆ pyxis()

std::unique_ptr<Pyxis> pyxis ( new   Pyxis())