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
01724c50
Commit
01724c50
authored
Feb 11, 2022
by
Eric Duminil
Browse files
TODO
parent
110b1993
Pipeline
#5786
passed with stage
in 2 minutes and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ampel-firmware/web_config.cpp
View file @
01724c50
...
...
@@ -136,7 +136,7 @@ namespace web_config {
Builder
<
CheckboxTParameter
>
(
"dst"
).
label
(
"Daylight Saving Time?"
).
defaultValue
(
false
).
build
();
/**
* LoRa
& Stuff
* LoRa
WAN
*/
#if defined(ESP32)
OptionalParameterGroup
loraParams
=
OptionalParameterGroup
(
"LoRaWan"
,
"LoRaWan"
,
AMPEL_LORAWAN
);
...
...
@@ -144,12 +144,14 @@ namespace web_config {
Builder
<
IntTParameter
<
uint16_t
>>
(
"lora_timestep"
).
label
(
"LoRa timestep"
).
defaultValue
(
LORAWAN_SENDING_INTERVAL
).
min
(
0
).
step
(
1
).
defaultValue
(
300
).
placeholder
(
"[s]"
).
build
();
//TODO: Use those parameters
TextTParameter
<
17
>
deviceEUIParam
=
Builder
<
TextTParameter
<
17
>>
(
"device_eui"
).
label
(
"Device EUI"
).
defaultValue
(
"70B3D5..."
).
build
();
TextTParameter
<
17
>
appEUIParam
=
Builder
<
TextTParameter
<
17
>>
(
"app_eui"
).
label
(
"App EUI"
).
defaultValue
(
"00EA07..."
).
build
();
TextTParameter
<
32
>
appKeyParam
=
Builder
<
TextTParameter
<
32
>>
(
"app_key"
).
label
(
"App key"
).
defaultValue
(
"81CCFE..."
).
build
();
//TODO: Save LoRa session to hidden parameter after first OTAA successful login
#endif
OptionalGroupHtmlFormatProvider
optionalGroupHtmlFormatProvider
;
...
...
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