Test1 Nucleo board LoRa

Dependencies:   X_NUCLEO_IKS01A2 driver_mbed_TH02 mbed LoRaWAN-lib-v1_0_1 SX1272Lib

Fork of Training-Aug2018-SX1272-X-NUCLEO-IKS01A2 by Uttam Bhat

Files at this revision

API Documentation at this revision

Comitter:
natas
Date:
Fri Oct 05 16:58:14 2018 +0000
Parent:
11:2707638f5915
Commit message:
Test1

Changed in this revision

app/Comissioning.h Show annotated file Show diff for this revision Revisions of this file
app/Config.h Show annotated file Show diff for this revision Revisions of this file
diff -r 2707638f5915 -r c96988947262 app/Comissioning.h
--- a/app/Comissioning.h	Sun Aug 19 20:09:55 2018 +0000
+++ b/app/Comissioning.h	Fri Oct 05 16:58:14 2018 +0000
@@ -45,13 +45,13 @@
 /*!
  * Application IEEE EUI (big endian)
  */
-#define LORAWAN_APPLICATION_EUI                     { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }
+#define LORAWAN_APPLICATION_EUI                     { 0x70, 0xB3, 0xD5, 0x7E, 0xD0, 0x01, 0x1C, 0xDC }
 
 /*!
  * AES encryption/decryption cipher application key
  */
-#define LORAWAN_APPLICATION_KEY                     { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff }
-
+//#define LORAWAN_APPLICATION_KEY                     { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff }
+#define LORAWAN_APPLICATION_KEY                     { 0x55, 0x55, 0xCC, 0xE2, 0xFE, 0xFE, 0xFD, 0x98, 0x37, 0xCF, 0x28, 0xBF, 0x9B, 0x7C, 0xB3, 0xF7 }
 #else
 
 /*!
diff -r 2707638f5915 -r c96988947262 app/Config.h
--- a/app/Config.h	Sun Aug 19 20:09:55 2018 +0000
+++ b/app/Config.h	Fri Oct 05 16:58:14 2018 +0000
@@ -55,7 +55,7 @@
  * \remark 1 : Confirmed messages enabled. Must receive ACK from network server
            0 : Confirmed messages disabled. 
  */
-#define LORAWAN_CONFIRMED_MSG_ON                    0
+#define LORAWAN_CONFIRMED_MSG_ON                    1
 
 /*!
  * LoRaWAN Adaptive Data Rate
@@ -73,7 +73,7 @@
 /*!
  * LoRaWAN application port
  */
-#define LORAWAN_APP_PORT                            5
+#define LORAWAN_APP_PORT                            9
 
 /*!
  * LoRaWAN User defined Tx Power