Instrument Neutral Distributed Interface INDI
2.2.5
drivers
power
indi-gemini-pbh
status_frame.h
Go to the documentation of this file.
1
/*
2
Gemini Power Box Hub Advanced v3 INDI Driver
3
4
Copyright (C) 2026 Dieter R Kedrowitsch <
[email protected]
>
5
6
This program is free software; you can redistribute it and/or modify it
7
under the terms of the GNU General Public License as published by the Free
8
Software Foundation; either version 2 of the License, or (at your option)
9
any later version.
10
11
This program is distributed in the hope that it will be useful, but WITHOUT
12
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14
more details.
15
16
You should have received a copy of the GNU General Public License along with
17
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
18
Place - Suite 330, Boston, MA 02111-1307, USA.
19
20
The full GNU General Public License is included in this distribution in the
21
file called LICENSE.
22
*/
23
24
#pragma once
25
26
#include <array>
27
#include <string>
28
29
namespace
geminipbh
30
{
31
32
enum class
DewMode
{
Automatic
,
Manual
,
Switch
};
33
34
struct
StatusFrame
35
{
36
std::array<bool, 4>
dc
{};
37
std::array<bool, 6>
usb
{};
38
bool
aht20Attached
=
false
;
39
bool
ds18b20Attached
=
false
;
40
bool
dew6Enabled
=
false
;
41
int
dew6Mode
= 0;
42
bool
dew7Enabled
=
false
;
43
int
dew7Mode
= 0;
44
double
dew6OutputPercent
= 0.0;
45
double
dew7OutputPercent
= 0.0;
46
double
deviceTemperatureC
= 0.0;
47
double
airTemperatureC
= 0.0;
48
double
humidityPercent
= 0.0;
49
double
dewPointC
= 0.0;
50
double
inputVoltageV
= 0.0;
51
double
outputCurrentA
= 0.0;
52
double
outputPowerW
= 0.0;
53
};
54
55
}
// namespace geminipbh
geminipbh
Definition
driver_support.h:40
geminipbh::DewMode
DewMode
Definition
status_frame.h:32
geminipbh::DewMode::Automatic
@ Automatic
geminipbh::DewMode::Switch
@ Switch
geminipbh::DewMode::Manual
@ Manual
geminipbh::StatusFrame
Definition
status_frame.h:35
geminipbh::StatusFrame::deviceTemperatureC
double deviceTemperatureC
Definition
status_frame.h:46
geminipbh::StatusFrame::inputVoltageV
double inputVoltageV
Definition
status_frame.h:50
geminipbh::StatusFrame::ds18b20Attached
bool ds18b20Attached
Definition
status_frame.h:39
geminipbh::StatusFrame::dew7OutputPercent
double dew7OutputPercent
Definition
status_frame.h:45
geminipbh::StatusFrame::outputPowerW
double outputPowerW
Definition
status_frame.h:52
geminipbh::StatusFrame::dew6OutputPercent
double dew6OutputPercent
Definition
status_frame.h:44
geminipbh::StatusFrame::airTemperatureC
double airTemperatureC
Definition
status_frame.h:47
geminipbh::StatusFrame::aht20Attached
bool aht20Attached
Definition
status_frame.h:38
geminipbh::StatusFrame::dew6Mode
int dew6Mode
Definition
status_frame.h:41
geminipbh::StatusFrame::dew7Mode
int dew7Mode
Definition
status_frame.h:43
geminipbh::StatusFrame::dc
std::array< bool, 4 > dc
Definition
status_frame.h:36
geminipbh::StatusFrame::dew7Enabled
bool dew7Enabled
Definition
status_frame.h:42
geminipbh::StatusFrame::humidityPercent
double humidityPercent
Definition
status_frame.h:48
geminipbh::StatusFrame::outputCurrentA
double outputCurrentA
Definition
status_frame.h:51
geminipbh::StatusFrame::usb
std::array< bool, 6 > usb
Definition
status_frame.h:37
geminipbh::StatusFrame::dew6Enabled
bool dew6Enabled
Definition
status_frame.h:40
geminipbh::StatusFrame::dewPointC
double dewPointC
Definition
status_frame.h:49
Generated on Thu Oct 22 2026 14:46:47 for Instrument Neutral Distributed Interface INDI by
1.9.8