Instrument Neutral Distributed Interface INDI 2.2.5
Macros | Functions
astromech_focuser.cpp File Reference
#include "astromech_focuser.h"
#include "config.h"
#include <indicom.h>
#include <connectionplugins/connectionserial.h>
#include <cmath>
#include <memory>
#include <cstring>
#include <unistd.h>
#include <termios.h>
#include <chrono>
#include <regex>
#include <thread>

Go to the source code of this file.

Macros

#define FOC_POSMAX_HARDWARE   32767
 
#define FOC_POSMIN_HARDWARE   0
 

Functions

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.
 

Macro Definition Documentation

◆ FOC_POSMAX_HARDWARE

#define FOC_POSMAX_HARDWARE   32767

Definition at line 40 of file astromech_focuser.cpp.

◆ FOC_POSMIN_HARDWARE

#define FOC_POSMIN_HARDWARE   0

Definition at line 41 of file astromech_focuser.cpp.

Function Documentation

◆ ISSnoopDevice()

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.

Parameters
rootThe argument contains the full message exactly as it was sent by the driver. Hint: use the IUSnoopXXX utility functions to help crack the message if it was one of setXXX or defXXX.

Definition at line 49 of file astromech_focuser.cpp.