A demo application for HXC900 LoRaWAN module using Nucleo-L053R8.

Dependencies:   mbed

Revision:
24:f3b987589609
Parent:
21:f1d561ed31a1
Child:
25:50414f44a431
--- a/LoRa/lora_driver.c	Fri Oct 19 04:31:45 2018 +0000
+++ b/LoRa/lora_driver.c	Fri Oct 19 04:59:55 2018 +0000
@@ -11,7 +11,7 @@
   * @File    : lora_driver.c
   * @Author  : Fahad Mirza (Haxiot)
   * @Version : V1.0.0
-  * @Modified: 12-Apr-2018
+  * @Modified: 18 October, 2018
   * @Brief   : LoRa Driver
   ******************************************************************************
   * @attention
@@ -291,12 +291,12 @@
         }
         case DEVICE_CONFIG:
         {
-        	eAtStatus_t loraModemRetCode = Lora_setDevEui(LoraConfigParam->devEui);
-			loraModemRetCode |= Lora_setAppEui(LoraConfigParam->appEui);
-			loraModemRetCode |= Lora_setAppKey(LoraConfigParam->appKey);
-			loraModemRetCode |= Lora_setJoinMode(LoraConfigParam->joinMode);
-			loraModemRetCode |= Lora_setClass(LoraConfigParam->class_);
-			loraModemRetCode |= Lora_setAdr(LoraConfigParam->adrStatus);
+        	eAtStatus_t loraModemRetCode = Lora_setDevEui(LoraConfigParam->DevEui);
+			loraModemRetCode |= Lora_setAppEui(LoraConfigParam->AppEui);
+			loraModemRetCode |= Lora_setAppKey(LoraConfigParam->AppKey);
+			loraModemRetCode |= Lora_setJoinMode(LoraConfigParam->JoinMode);
+			loraModemRetCode |= Lora_setClass(LoraConfigParam->Class);
+			loraModemRetCode |= Lora_setAdr(LoraConfigParam->AdrStatus);
 			// ToDo: Add FW version checking
 
 			if(loraModemRetCode == AT_OK)