Instrument Neutral Distributed Interface INDI  2.0.2
Classes | Macros
focuslynxbase.h File Reference
#include "indifocuser.h"
#include <indicom.h>
#include "connectionplugins/connectionserial.h"
#include "connectionplugins/connectiontcp.h"
#include <map>
#include <stdint.h>
#include <termios.h>
#include <unistd.h>
#include <memory>
#include <cmath>
#include <cstring>

Go to the source code of this file.

Classes

class  FocusLynxBase
 

Macros

#define LYNXFOCUS_MAX_RETRIES   1
 
#define LYNXFOCUS_TIMEOUT   3
 
#define LYNXFOCUS_MAXBUF   16
 
#define LYNXFOCUS_TEMPERATURE_FREQ   20 /* Update every 20 POLLMS cycles. For POLLMS 500ms = 10 seconds freq */
 
#define LYNXFOCUS_POSITION_THRESHOLD   5 /* Only send position updates to client if the diff exceeds 5 steps */
 
#define FOCUS_SETTINGS_TAB   "Settings"
 
#define FOCUS_STATUS_TAB   "Status"
 
#define HUB_SETTINGS_TAB   "Device"
 
#define VERSION   1
 
#define SUBVERSION   46
 

Macro Definition Documentation

◆ FOCUS_SETTINGS_TAB

#define FOCUS_SETTINGS_TAB   "Settings"

Definition at line 44 of file focuslynxbase.h.

◆ FOCUS_STATUS_TAB

#define FOCUS_STATUS_TAB   "Status"

Definition at line 45 of file focuslynxbase.h.

◆ HUB_SETTINGS_TAB

#define HUB_SETTINGS_TAB   "Device"

Definition at line 46 of file focuslynxbase.h.

◆ LYNXFOCUS_MAX_RETRIES

#define LYNXFOCUS_MAX_RETRIES   1

Definition at line 38 of file focuslynxbase.h.

◆ LYNXFOCUS_MAXBUF

#define LYNXFOCUS_MAXBUF   16

Definition at line 40 of file focuslynxbase.h.

◆ LYNXFOCUS_POSITION_THRESHOLD

#define LYNXFOCUS_POSITION_THRESHOLD   5 /* Only send position updates to client if the diff exceeds 5 steps */

Definition at line 42 of file focuslynxbase.h.

◆ LYNXFOCUS_TEMPERATURE_FREQ

#define LYNXFOCUS_TEMPERATURE_FREQ   20 /* Update every 20 POLLMS cycles. For POLLMS 500ms = 10 seconds freq */

Definition at line 41 of file focuslynxbase.h.

◆ LYNXFOCUS_TIMEOUT

#define LYNXFOCUS_TIMEOUT   3

Definition at line 39 of file focuslynxbase.h.

◆ SUBVERSION

#define SUBVERSION   46

Definition at line 49 of file focuslynxbase.h.

◆ VERSION

#define VERSION   1

Definition at line 48 of file focuslynxbase.h.