source: trunk/FACT++/src/HeadersMagicWeather.h@ 14559

Last change on this file since 14559 was 13919, checked in by tbretz, 13 years ago
Moved stated to own header and namespace
File size: 578 bytes
Line 
1#ifndef FACT_HeadersMagicWeather
2#define FACT_HeadersMagicWeather
3
4namespace 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
Note: See TracBrowser for help on using the repository browser.