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
f51460db
Commit
f51460db
authored
Feb 15, 2022
by
Eric Duminil
Browse files
Updated config template
parent
aab7df5d
Pipeline
#5835
passed with stage
in 2 minutes and 34 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ampel-firmware/config.public.h
View file @
f51460db
#ifndef CONFIG_H_INCLUDED
# define CONFIG_H_INCLUDED
// This file is a config template, and can be copied to config.h. Please don't save any important password in this template.
/***
* _ _____ __ _
* /\ | |/ ____| / _(_)
* / \ _ __ ___ _ __ ___| | | ___ _ __ | |_ _ __ _
* / /\ \ | '_ ` _ \| '_ \ / _ \ | | / _ \| '_ \| _| |/ _` |
* / ____ \| | | | | | |_) | __/ | |___| (_) | | | | | | | (_| |
* /_/ \_\_| |_| |_| .__/ \___|_|\_____\___/|_| |_|_| |_|\__, |
* | | __/ |
* |_| |___/
*/
// This file is a config template, and can be copied to config.h.
// Please don't save any important password in this template.
// NOTE: Every parameter can be modified and saved later via the web-config.
// Some of those parameters can also be modified via commands in the Serial monitor :
// e.g. 'wifi 0' to turn WiFi off, or 'csv 60' to log data in csv every minute.
/***
* AMPEL
*/
// You can rename the Ampel if you want.
// This name will be used for CSV files and the mDNS address.
// You'll get a new CSV file after renaming, which can be convenient, e.g. after moving
// the ampel to another room.
// If left empty, the name will be ESPxxxxxx, where xxxxxx represent the last half of the MAC address.
# define AMPEL_NAME ""
/**
* SERVICES
...
...
@@ -139,11 +160,12 @@
// They are written as hexadecimal strings, and will be parsed in the correct order.
// This EUI must be in big-endian format, so most-significant-byte first.
// You can copy the string from thethings network as-is, without reversing the bytes.
// You can copy the string from TheThingsNetwork as-is, without reversing the bytes.
// For TheThingsNetwork issued EUIs the string should start with "70B3D5..."
# define LORAWAN_DEVICE_EUI "70B3D57ED004CB17"
// This should also be in big-endian format, and can be copied as is from
t
he
t
hings
n
etwork.
// This should also be in big-endian format, and can be copied as is from
T
he
T
hings
N
etwork.
# define LORAWAN_APPLICATION_EUI "0102030405060708"
// This should also be in big-endian format, and can be copied as is from
t
he
t
hings
n
etwork.
// This should also be in big-endian format, and can be copied as is from
T
he
T
hings
N
etwork.
# define LORAWAN_APPLICATION_KEY "9D06308E20B974919DA6404E063BE01D"
/**
...
...
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