light sensor

Dependencies:   X_NUCLEO_IKS01A1 LoRaWAN-lib SX1276Lib mbed

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

Revision:
4:a8706ec8a6d0
Parent:
3:4bca7f8f731a
Child:
5:f04a6f68e159
--- a/app/Config.h	Thu Apr 06 16:35:17 2017 +0000
+++ b/app/Config.h	Fri Sep 08 20:42:14 2017 +0000
@@ -63,7 +63,7 @@
 /*!
  * LoRaWAN application port
  */
-#define LORAWAN_APP_PORT                            9
+#define LORAWAN_APP_PORT                            13
 
 /*!
  * LoRaWAN User defined Tx Power
@@ -122,6 +122,16 @@
  */
 #define LORAWAN_APP_DATA_SIZE                       2
 
+#elif ( LORAWAN_APP_PORT == 13 )
+/*====================================================
+    Light Sensor DEMO + CAYENNE LPP (PORT 13)
+====================================================*/
+
+/*!
+ * User application data buffer size
+ */
+#define LORAWAN_APP_DATA_SIZE                       4
+
 /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
 #endif