uTrack
Loading...
Searching...
No Matches
Macros | Functions | Variables
utGoBot.c File Reference

Will set flag in the GPV2 payload if a button push if a GPIOEvent is received. More...

#include "uTrack.h"
#include "utTypes.h"
#include "utNmeaStore.h"
#include "utGPIOEvents.h"
#include <stdlib.h>
#include "utGoBot.h"

Macros

#define MAXEVENTQUEUELENGTH   6
 

Functions

void GoBotGPIOHandler (GPIO_TRI_STATE_PIN state)
 
void pushGPIOEvent (GPIO_TRI_STATE_PIN eventState)
 
GPIO_TRI_STATE_PIN popGPIOEvent (void)
 
bool utGOBOT_Notify (UT_DeviceMessage state)
 
void goBotPowerButtonHander (void)
 

Variables

GPIO_TRI_STATE_PIN eventQueue [MAXEVENTQUEUELENGTH]
 

Detailed Description

Will set flag in the GPV2 payload if a button push if a GPIOEvent is received.

This module waits for user input button push recived through the GPIOEvent callback. It then sets the flags in the NMEA store so the data is sent out in the GPSV2 payload format.

Precondition
First initialise the GPS nmea stores. Receives callbacks from GPIOEvents.c.
Author
Kylie Robinson
Date
10/03/2015