Instrument Neutral Distributed Interface INDI  2.0.2
Macros
gemini.cpp File Reference
#include "gemini.h"
#include "indicom.h"
#include "connectionplugins/connectionserial.h"
#include <cmath>
#include <memory>
#include <cstring>
#include <termios.h>
#include <unistd.h>

Go to the source code of this file.

Macros

#define GEMINI_MAX_RETRIES   1
 
#define GEMINI_TIMEOUT   3
 
#define GEMINI_MAXBUF   16
 
#define GEMINI_TEMPERATURE_FREQ   20 /* Update every 20 POLLMS cycles. For POLLMS 500ms = 10 seconds freq */
 
#define GEMINI_POSITION_THRESHOLD   5 /* Only send position updates to client if the diff exceeds 5 steps */
 
#define FOCUS_SETTINGS_TAB   "Settings"
 
#define STATUS_TAB   "Status"
 
#define ROTATOR_TAB   "Rotator"
 
#define HUB_TAB   "Hub"
 

Macro Definition Documentation

◆ FOCUS_SETTINGS_TAB

#define FOCUS_SETTINGS_TAB   "Settings"

Definition at line 37 of file gemini.cpp.

◆ GEMINI_MAX_RETRIES

#define GEMINI_MAX_RETRIES   1

Definition at line 31 of file gemini.cpp.

◆ GEMINI_MAXBUF

#define GEMINI_MAXBUF   16

Definition at line 33 of file gemini.cpp.

◆ GEMINI_POSITION_THRESHOLD

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

Definition at line 35 of file gemini.cpp.

◆ GEMINI_TEMPERATURE_FREQ

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

Definition at line 34 of file gemini.cpp.

◆ GEMINI_TIMEOUT

#define GEMINI_TIMEOUT   3

Definition at line 32 of file gemini.cpp.

◆ HUB_TAB

#define HUB_TAB   "Hub"

Definition at line 40 of file gemini.cpp.

◆ ROTATOR_TAB

#define ROTATOR_TAB   "Rotator"

Definition at line 39 of file gemini.cpp.

◆ STATUS_TAB

#define STATUS_TAB   "Status"

Definition at line 38 of file gemini.cpp.