2020-11-21 21:21:26 +01:00
|
|
|
/*
|
|
|
|
Copyright (c):
|
|
|
|
|
|
|
|
Philipp Matthias Schäfer (philipp.matthias.schaefer@posteo.de), 2020
|
|
|
|
|
|
|
|
This file is part of the KrautStatus' Arduino code.
|
|
|
|
|
|
|
|
The Clean CommonMark library is free software: you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU Affero General Public License as published
|
|
|
|
by the Free Software Foundation, either version 3 of the License, or (at your
|
|
|
|
option) any later version.
|
|
|
|
|
|
|
|
The Clean CommonMark library is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
|
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License
|
|
|
|
for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Affero General Public License along
|
|
|
|
with the Clean CommonMark library. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2020-12-11 14:18:46 +01:00
|
|
|
#include <stdint.h>
|
|
|
|
|
2020-11-18 22:45:14 +01:00
|
|
|
// SSID and password of the WiFi network to which we broadcast the door lock's
|
|
|
|
// status.
|
2020-12-11 14:18:46 +01:00
|
|
|
const char SSID[] = "";
|
|
|
|
const char PASSWORD[] = "";
|
2020-11-18 22:45:14 +01:00
|
|
|
|
|
|
|
// Port on which to listen for status requests
|
2020-12-11 14:18:46 +01:00
|
|
|
const unsigned int SERVER_PORT = 12345;
|
2020-11-18 22:45:14 +01:00
|
|
|
|
|
|
|
// Pin to which the reed switch is connected
|
2020-12-11 14:18:46 +01:00
|
|
|
const uint8_t SENSOR_PIN = 0;
|