Instrument Neutral Distributed Interface INDI 2.2.5
Macros | Variables
Terrans_PowerBoxGo_V2.cpp File Reference
#include "config.h"
#include "Terrans_PowerBoxGo_V2.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 CMD_LEN   8
 
#define TIMEOUT   500
 
#define TAB_INFO   "Status"
 
#define TAB_RENAME   "Rename"
 

Variables

double ch1_shuntv = 0
 
double ch1_current = 0
 
double ch1_bus = 0
 
double humidity = 0
 
double temperature = 0
 
double dewPoint = 0
 
double mcu_temp = 0
 

Macro Definition Documentation

◆ CMD_LEN

#define CMD_LEN   8

Definition at line 42 of file Terrans_PowerBoxGo_V2.cpp.

◆ TAB_INFO

#define TAB_INFO   "Status"

Definition at line 44 of file Terrans_PowerBoxGo_V2.cpp.

◆ TAB_RENAME

#define TAB_RENAME   "Rename"

Definition at line 45 of file Terrans_PowerBoxGo_V2.cpp.

◆ TIMEOUT

#define TIMEOUT   500

Definition at line 43 of file Terrans_PowerBoxGo_V2.cpp.

Variable Documentation

◆ ch1_bus

double ch1_bus = 0

Definition at line 49 of file Terrans_PowerBoxGo_V2.cpp.

◆ ch1_current

double ch1_current = 0

Definition at line 48 of file Terrans_PowerBoxGo_V2.cpp.

◆ ch1_shuntv

double ch1_shuntv = 0

Definition at line 47 of file Terrans_PowerBoxGo_V2.cpp.

◆ dewPoint

double dewPoint = 0

Definition at line 52 of file Terrans_PowerBoxGo_V2.cpp.

◆ humidity

double humidity = 0

Definition at line 50 of file Terrans_PowerBoxGo_V2.cpp.

◆ mcu_temp

double mcu_temp = 0

Definition at line 53 of file Terrans_PowerBoxGo_V2.cpp.

◆ temperature

double temperature = 0
Examples
simpleccd.cpp, and simpleccd.h.

Definition at line 51 of file Terrans_PowerBoxGo_V2.cpp.