light sensor

Dependencies:   X_NUCLEO_IKS01A1 LoRaWAN-lib SX1276Lib mbed

Fork of LoRaWAN-SX1276-Application-Demo by Uttam Bhat

Revision:
5:f04a6f68e159
Parent:
4:a8706ec8a6d0
Child:
6:25f847c99aa2
--- a/app/Config.h	Fri Sep 08 20:42:14 2017 +0000
+++ b/app/Config.h	Fri Sep 08 21:05:04 2017 +0000
@@ -63,7 +63,7 @@
 /*!
  * LoRaWAN application port
  */
-#define LORAWAN_APP_PORT                            13
+#define LORAWAN_APP_PORT                            14
 
 /*!
  * LoRaWAN User defined Tx Power
@@ -124,14 +124,23 @@
 
 #elif ( LORAWAN_APP_PORT == 13 )
 /*====================================================
-    Light Sensor DEMO + CAYENNE LPP (PORT 13)
+    Light Sensor DEMO (PORT 13)
 ====================================================*/
 
 /*!
  * User application data buffer size
  */
-#define LORAWAN_APP_DATA_SIZE                       4
+#define LORAWAN_APP_DATA_SIZE                       2
 
+#elif ( LORAWAN_APP_PORT == 14 )
+/*====================================================
+    LED DEMO (PORT 14)
+====================================================*/
+
+/*!
+ * User application data buffer size
+ */
+#define LORAWAN_APP_DATA_SIZE                       1
 /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
 #endif