Compare commits
2 Commits
cf1c0d1737
...
3f92cc41a1
| Author | SHA1 | Date | |
|---|---|---|---|
| 3f92cc41a1 | |||
| 66a23299f3 |
@@ -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<uint8_t *>(app_eui);
|
||||
connect.connection_u.otaa.dev_eui = const_cast<uint8_t *>(dev_eui);
|
||||
connect.connection_u.otaa.app_key = const_cast<uint8_t *>(app_key);
|
||||
|
||||
Reference in New Issue
Block a user