Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 22:5b77cf59d630
- Parent:
- 15:2860c960d2ff
- Child:
- 32:2d0678039a09
--- a/main.cpp Tue Oct 09 22:15:01 2018 +0000
+++ b/main.cpp Fri Oct 19 04:27:55 2018 +0000
@@ -8,11 +8,11 @@
(C)2017 HaxIoT
*/
/*******************************************************************************
- * File : main.cpp
- * Author : Fahad Mirza (Haxiot)
- * Version : V1.0.0
- * Modified: 18-July-2018
- * Brief : Main file
+ * @File : main.cpp
+ * @Author : Fahad Mirza (Haxiot)
+ * @Version : V1.0.0
+ * @Modified: 18 October, 2018
+ * @Brief : Main file
******************************************************************************
* @attention
*
@@ -45,25 +45,6 @@
#include "mbed.h"
#include "main.h"
#include "lora_conf.h"
-#include "lora_driver.h"
-
-/* Private variables ---------------------------------------------------------*/
-static sLoraConfig_t LoraConfigParam =
-{
- .joinMode = OTAA,
- .adrStatus = ADR_OFF,
- .class_ = 'A',
- .devEui = "AD25000000000000",
- .appEui = "AD10500000000CA7",
- .appKey = "AD105CA70000FA00CE00FF123C0FFEE0"
-};
-
-static sLoraDriverParam_t LoraDriverParam =
-{
- .SensorMeasureTime = SENSORS_MEASURE_CYCLE,
- .SendDataHandler = GetSensorData,
- .ReceiveDataHandler = LedControl
-};
int main()