LoRaWAN-SX1272-Application-24-31-9sec

Dependencies:   X_NUCLEO_IKS01A1 driver_mbed_TH02 LoRaWAN-lib-v1_0_1 SX1272Lib mbed

Fork of LoRaWAN-SX1272-Application-24-31-9sec by Oleh Zvonarov

Revision:
2:19dd7bfcacf7
Parent:
0:6cc76d70e2a1
Child:
4:d49b89361b67
--- a/app/Config.h	Sat Apr 29 07:41:12 2017 +0000
+++ b/app/Config.h	Sat Nov 04 20:05:46 2017 +0000
@@ -63,14 +63,14 @@
 /*!
  * LoRaWAN application port
  */
-#define LORAWAN_APP_PORT                            9
+#define LORAWAN_APP_PORT                            5
 
 /*!
  * LoRaWAN User defined Tx Power
  *
  * \remark The Tx power level is set as TX_POWER_P_DBM, where 10 <= P <= 30 and P is even value { i.e. P = 10, 12, 14 ... 28 or 30 }
  */
-#define LORAWAN_TX_POWER                            TX_POWER_20_DBM
+#define LORAWAN_TX_POWER                            TX_POWER_10_DBM
 
 #if ( LORAWAN_APP_PORT == 5 )
 /*====================================================
@@ -124,6 +124,22 @@
 
 /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+#elif ( LORAWAN_APP_PORT == 12 )
+/*====================================================
+                GROVE SENSOR DEMO (PORT 11)
+====================================================*/
+
+#define USE_GROVE_SENSOR
+
+#define USE_CAYENNE_LPP
+
+/*!
+ * User application data buffer size
+ */
+#define LORAWAN_APP_DATA_SIZE                       7
+
+/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
+
 #endif
 
 #endif //  __LORA_CONFIG_H__