From 66a23299f382ca0c223468d8816b862580c2472d Mon Sep 17 00:00:00 2001 From: Anthony Hinsinger Date: Tue, 16 Apr 2019 11:59:34 +0200 Subject: [PATCH] Reorder --- GettingStarted.html | 16 ++++++++++++++++ main.cpp | 3 +-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 GettingStarted.html 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);