uTrack
Loading...
Searching...
No Matches
Data Structures | Macros | Enumerations | Functions | Variables
utWind.c File Reference

The software module for handling wind data. More...

#include "uTrack.h"
#include "utWind.h"
#include "utHAL.h"
#include "utNmeaDriver.h"
#include "utMonitor.h"

Data Structures

struct  UT_WIND_InputConfig
 

Macros

#define SHUTDOWN_TIME   3000
 
#define RECEIVED_SHUTDOWN_TIME   1000
 

Enumerations

enum  NMEA_INPUT_TYPE {
  WIND_IN_RMC_POS = 0 , WIND_IN_GGA_POS , WIND_IN_GGA_SATQ , WIND_IN_GGA_SATC ,
  WIND_IN_RMC_COG , WIND_IN_RMC_SOG , WIND_IN_VTG_COG , WIND_IN_VTG_SOG ,
  WIND_IN_GLL_POS , WIND_IN_GLL_SATQ , WIND_IN_HDG_HDGM , WIND_IN_MWV_AWA ,
  WIND_IN_MWV_AWS , WIND_IN_MWV_TWA , WIND_IN_MWV_TWS , WIND_IN_MAX
}
 

Functions

void setup_TimedWindLog (void)
 
bool utWindIsRunning (void)
 
bool utWind_Notify (UT_DeviceMessage state)
 
UT_NMEA_Store * utWind_GetNMEAStore (void)
 

Variables

LOGTYPE windLogType = LOGTYPE_TIMED_SENSOR
 

Detailed Description

The software module for handling wind data.

See also: utNMEAParser.c utNMEAStore.c utNMEADriver.c

Author
Oscar Key
Date
12/12/2012

Function Documentation

◆ utWind_Notify()

bool utWind_Notify ( UT_DeviceMessage  state)

The Notify function passes a message to the Wind software module, informing it of expected module state. It returns a value that is considered a response to a query about the specified state.

Parameters
stateA state message.
Returns
True, given that this is currently a software-only module.