FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
HeadersMagicWeather.h
Go to the documentation of this file.
1
#ifndef FACT_HeadersMagicWeather
2
#define FACT_HeadersMagicWeather
3
4
namespace
MagicWeather
5
{
6
namespace
State
7
{
8
enum
states_t
9
{
10
kDisconnected
= 1,
11
kConnected
,
12
kReceiving
,
13
};
14
}
15
16
struct
DimWeather
17
{
18
DimWeather
() { memset(
this
, 0,
sizeof
(
DimWeather
)); }
19
20
uint16_t
fStatus
;
21
22
float
fTemp
;
23
float
fDew
;
24
float
fHum
;
25
float
fPress
;
26
float
fWind
;
27
float
fGusts
;
28
float
fDir
;
29
30
}
__attribute__
((__packed__));
31
}
32
33
#endif
MagicWeather::State::states_t
states_t
Definition:
HeadersMagicWeather.h:8
MagicWeather::State::kDisconnected
Definition:
HeadersMagicWeather.h:10
MagicWeather::DimWeather
Definition:
HeadersMagicWeather.h:16
MagicWeather::DimWeather::fDew
float fDew
Definition:
HeadersMagicWeather.h:23
MagicWeather::DimWeather::DimWeather
DimWeather()
Definition:
HeadersMagicWeather.h:18
MagicWeather
Definition:
HeadersMagicWeather.h:4
MagicWeather::DimWeather::fHum
float fHum
Definition:
HeadersMagicWeather.h:24
MagicWeather::DimWeather::fGusts
float fGusts
Definition:
HeadersMagicWeather.h:27
MagicWeather::DimWeather::fWind
float fWind
Definition:
HeadersMagicWeather.h:26
MagicWeather::State::kConnected
Definition:
HeadersMagicWeather.h:11
MagicWeather::DimWeather::fTemp
float fTemp
Definition:
HeadersMagicWeather.h:22
MagicWeather::DimWeather::fStatus
uint16_t fStatus
Definition:
HeadersMagicWeather.h:20
MagicWeather::State::__attribute__
enum MagicWeather::State::states_t __attribute__
MagicWeather::State::kReceiving
Definition:
HeadersMagicWeather.h:12
MagicWeather::DimWeather::fPress
float fPress
Definition:
HeadersMagicWeather.h:25
State
Definition:
HeadersFAD.h:57
MagicWeather::DimWeather::fDir
float fDir
Definition:
HeadersMagicWeather.h:28
src
HeadersMagicWeather.h
Generated on Sun Sep 18 2016 20:50:25 for FACT++ by
1.8.11