Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
co2ampel
ampel-firmware
Commits
07851c1a
Commit
07851c1a
authored
Feb 11, 2022
by
Eric Duminil
Browse files
Compile error fixed
parent
d22ab387
Pipeline
#5792
passed with stage
in 2 minutes and 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ampel-firmware/lorawan.cpp
View file @
07851c1a
...
...
@@ -2,6 +2,7 @@
#if defined(ESP32)
#include
"web_config.h"
#include
"config.h"
//TODO: Replace with just web_config
#include
"led_effects.h"
#include
"sensor_console.h"
...
...
@@ -123,6 +124,7 @@ namespace lorawan {
u1_t
nwkKey
[
16
];
u1_t
artKey
[
16
];
LMIC_getSessionKeys
(
&
netid
,
&
devaddr
,
nwkKey
,
artKey
);
//TODO: Save session keys to EEPROM?
Serial
.
print
(
F
(
" netid: "
));
Serial
.
println
(
netid
,
DEC
);
Serial
.
print
(
F
(
" devaddr: "
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment