Update of /cvsroot/firebug/fireboard/beta/apps/GPStest
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22613
Added Files:
appFeatures.h
Log Message:
Created
--- NEW FILE: appFeatures.h ---
/**
* Compile-time flags for defining application specific feature preferences.
*
* @file appFeatures.h
* @author Martin Turon
*
* @version 2004/8/8 mturon Initial version
*
* $Id: appFeatures.h,v 1.1 2005/09/08 23:57:42 mnewmantechedit Exp $
*/
// crossbow sensor board id
//define MTS420 to enable gps.
// MTS400 will not send gps packets.
// Uncomment the following line if you are using a MTS420 board.
#define MTS420
#ifndef MTS420
#define SENSOR_BOARD_ID 0x85 //MTS400 sensor board id
#else
#define SENSOR_BOARD_ID 0x86 //MTS420 sensor board id
#endif
#ifndef FEATURE_GPS_ONLY
#define FEATURE_GPS_ONLY 0
#endif
// current Xee lib donnot support MicaZ
#ifdef PLATFORM_MICAZ
#define FEATURE_XEE_PARAMS 0
#else
#define FEATURE_XEE_PARAMS 0
#endif
/// FEATURE_XEE_PARAMS -- enables changing nodeid, group, and other params
#ifndef FEATURE_XEE_PARAMS
#define FEATURE_XEE_PARAMS 0
#endif
/**
* FEATURE_XEE_PARAMS enables dynamic setting of various parameters when set.
* Params include: nodeid, group, radio power, radio freq/band.
*/
#if FEATURE_XEE_PARAMS
#define XEE_PARAMS_COMPONENT RecoverParamsC,
#define XEE_PARAMS_WIRING() Main.StdControl->RecoverParamsC.ParamControl;
#else
#define XEE_PARAMS_COMPONENT
#define XEE_PARAMS_WIRING()
#endif
|