mQ Branch for NA mote testing
Dependencies: LoRaWAN-lib SX1272Lib-mQ lib_gps lib_mma8451q lib_mpl3115a2 mbed
Fork of LoRaWAN-NAMote72-Application-Demo by
Diff: app/Config.h
- Revision:
- 18:18408c3c2d0c
- Parent:
- 13:6b6f4be13633
- Child:
- 19:e136bd75eabd
--- a/app/Config.h Sun Apr 16 23:12:47 2017 +0000 +++ b/app/Config.h Mon Apr 24 13:47:27 2017 +0000 @@ -20,7 +20,7 @@ * Configure End-Device to use 8-channels corresponding to Block A * Comment/Uncomment to disable/enable Hybrid mode */ -#define USE_BAND_915_HYBRID +// #define USE_BAND_915_HYBRID #ifndef USE_BAND_915_HYBRID /*! @@ -31,14 +31,9 @@ #endif /*! - * Join requests trials periodicity. It is the time between RX1/RX2 and next TX - */ -#define OVER_THE_AIR_ACTIVATION_DUTYCYCLE 5000000 // value in us - -/*! * Defines the application data transmission periodicity. It is the time between RX1/RX2 and next TX */ -#define APP_TX_DUTYCYCLE 5000000 // value in us +#define APP_TX_DUTYCYCLE 5000 // value in ms /*! * LoRaWAN confirmed messages @@ -52,7 +47,7 @@ * * \remark Please note that when ADR is enabled the end-device uses default datarate of DR_0 */ -#define LORAWAN_ADR_ON 0 +#define LORAWAN_ADR_ON 1 /*! * Default mote datarate @@ -132,20 +127,6 @@ /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/ -#elif ( LORAWAN_APP_PORT == 13 ) -/*==================================================== - SENET MYDEVICES SENSOR DEMO (PORT 13) -====================================================*/ - -/*! - * User application data buffer size - */ -#define LORAWAN_APP_DATA_SIZE 11 - -#define BAT_VAL_PERCENT - -/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/ - #endif