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
455830fc
Commit
455830fc
authored
Feb 14, 2022
by
Eric Duminil
Browse files
Notes
parent
df042470
Pipeline
#5822
passed with stage
in 2 minutes and 42 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ampel-firmware/csv_writer.h
View file @
455830fc
...
...
@@ -10,6 +10,7 @@
#else
# error Board should be either ESP8266 or ESP832
#endif
//TODO: Is LittleFS available for ESP32 now?
namespace
csv_writer
{
extern
char
last_successful_write
[];
...
...
ampel-firmware/lorawan.cpp
View file @
455830fc
...
...
@@ -118,6 +118,7 @@ namespace lorawan {
u1_t
artKey
[
16
];
LMIC_getSessionKeys
(
&
netid
,
&
devaddr
,
nwkKey
,
artKey
);
//TODO: Save session keys to EEPROM?
//e.g. with https://github.com/Edzelf/LoRa/blob/master/ESP_lora_tracker/ESP8266_loratracker.ino
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