diff --git a/GettingStarted.html b/GettingStarted.html
new file mode 100644
index 0000000..226e4f7
--- /dev/null
+++ b/GettingStarted.html
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+ Page Redirection
+
+
+ If you are not redirected automatically, please follow the
+ link to the online exporter documentation
+
+
diff --git a/main.cpp b/main.cpp
index 8f9ac97..5f07521 100644
--- a/main.cpp
+++ b/main.cpp
@@ -133,8 +133,6 @@ int main(void) {
uint16_t key;
uint16_t readsize;
- connect.connect_type = LORAWAN_CONNECTION_OTAA;
-
// NVStore is a sigleton, get its instance
NVStore &nvstore = NVStore::get_instance();
@@ -164,6 +162,7 @@ int main(void) {
return -1;
}
+ connect.connect_type = LORAWAN_CONNECTION_OTAA;
connect.connection_u.otaa.app_eui = const_cast(app_eui);
connect.connection_u.otaa.dev_eui = const_cast(dev_eui);
connect.connection_u.otaa.app_key = const_cast(app_key);