Instrument Neutral Distributed Interface INDI  2.0.2
Macros
wanderer_cover.cpp File Reference
#include "wanderer_cover.h"
#include "indicom.h"
#include "connectionplugins/connectionserial.h"
#include <cerrno>
#include <cstring>
#include <memory>
#include <termios.h>
#include <unistd.h>
#include <inttypes.h>
#include <sys/ioctl.h>

Go to the source code of this file.

Macros

#define PARK   1
 
#define DATA_BITS   8
 
#define FLAT_CMD   6
 
#define WANDERER_RESPONSE_SIZE   1
 
#define COMMAND_WAITING_TIME   120
 
#define FIRST_SUPPORTED_VERSION   "20220920"
 
#define TAB_NAME_CONFIGURATION   "Dust cover configuration"
 
#define CLOSE_COVER_COMMAND   "1000\n"
 
#define HANDSHAKE_COMMAND   "1500001\n"
 
#define OPEN_COVER_COMMAND   "1001\n"
 
#define TURN_OFF_LIGHT_PANEL_COMMAND   "9999\n"
 
#define SET_CURRENT_POSITION_TO_OPEN_POSITION   "257\n"
 
#define SET_CURRENT_POSITION_TO_CLOSED_POSITION   "256\n"
 

Macro Definition Documentation

◆ CLOSE_COVER_COMMAND

#define CLOSE_COVER_COMMAND   "1000\n"

Definition at line 50 of file wanderer_cover.cpp.

◆ COMMAND_WAITING_TIME

#define COMMAND_WAITING_TIME   120

Definition at line 44 of file wanderer_cover.cpp.

◆ DATA_BITS

#define DATA_BITS   8

Definition at line 41 of file wanderer_cover.cpp.

◆ FIRST_SUPPORTED_VERSION

#define FIRST_SUPPORTED_VERSION   "20220920"

Definition at line 46 of file wanderer_cover.cpp.

◆ FLAT_CMD

#define FLAT_CMD   6

Definition at line 42 of file wanderer_cover.cpp.

◆ HANDSHAKE_COMMAND

#define HANDSHAKE_COMMAND   "1500001\n"

Definition at line 51 of file wanderer_cover.cpp.

◆ OPEN_COVER_COMMAND

#define OPEN_COVER_COMMAND   "1001\n"

Definition at line 52 of file wanderer_cover.cpp.

◆ PARK

#define PARK   1

Definition at line 40 of file wanderer_cover.cpp.

◆ SET_CURRENT_POSITION_TO_CLOSED_POSITION

#define SET_CURRENT_POSITION_TO_CLOSED_POSITION   "256\n"

Definition at line 56 of file wanderer_cover.cpp.

◆ SET_CURRENT_POSITION_TO_OPEN_POSITION

#define SET_CURRENT_POSITION_TO_OPEN_POSITION   "257\n"

Definition at line 55 of file wanderer_cover.cpp.

◆ TAB_NAME_CONFIGURATION

#define TAB_NAME_CONFIGURATION   "Dust cover configuration"

Definition at line 48 of file wanderer_cover.cpp.

◆ TURN_OFF_LIGHT_PANEL_COMMAND

#define TURN_OFF_LIGHT_PANEL_COMMAND   "9999\n"

Definition at line 53 of file wanderer_cover.cpp.

◆ WANDERER_RESPONSE_SIZE

#define WANDERER_RESPONSE_SIZE   1

Definition at line 43 of file wanderer_cover.cpp.