WaspUtils.h File Reference

Library containing useful general functions. More...

#include <inttypes.h>
#include <avr/eeprom.h>

Include dependency graph for WaspUtils.h:

Go to the source code of this file.

Data Structures

class  WaspUtils
 WaspUtils Class. More...

Defines

#define GPS_BUFFER_SIZE   160
 internal 'inBuffer' size, needs to be at least 148 bytes for the ephemeris
#define MAX_ARGS   20
 max amount of arguments in Wasp
#define MAX_ARG_LENGTH   16
 max length for Wasp arguments
#define LED_ON   1
 sets LED ON
#define LED_OFF   0
 sets LED OFF
#define MUX_TO_HIGH   1
 sets mux high
#define MUX_TO_LOW   0
 sets mux low

Variables

WaspUtils Utils


Detailed Description

Library containing useful general functions.

Copyright (C) 2009 Libelium Comunicaciones Distribuidas S.L. http://www.libelium.com

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2.1 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Version: 0.12

Design: David Gascón

Implementation: Alberto Bielsa, David Cuartielles

Definition in file WaspUtils.h.


Define Documentation

#define GPS_BUFFER_SIZE   160

internal 'inBuffer' size, needs to be at least 148 bytes for the ephemeris

Definition at line 50 of file WaspUtils.h.

Referenced by WaspUtils::clearBuffer(), and WaspGPS::getRaw().

#define LED_OFF   0

sets LED OFF

Definition at line 70 of file WaspUtils.h.

Referenced by WaspUtils::blinkLEDs(), and WaspUtils::setLED().

#define LED_ON   1

sets LED ON

Definition at line 65 of file WaspUtils.h.

Referenced by WaspUtils::blinkLEDs(), and WaspUtils::setLED().

#define MAX_ARG_LENGTH   16

max length for Wasp arguments

Definition at line 60 of file WaspUtils.h.

#define MAX_ARGS   20

max amount of arguments in Wasp

Definition at line 55 of file WaspUtils.h.

#define MUX_TO_HIGH   1

sets mux high

Definition at line 75 of file WaspUtils.h.

#define MUX_TO_LOW   0

sets mux low

Definition at line 80 of file WaspUtils.h.

Referenced by WaspGPS::close(), and WaspGPRS::close().


Variable Documentation


Generated on Tue Jul 20 09:30:58 2010 for WaspmoteAPI by  doxygen 1.5.6