client portierung auf esp32-s3 hinzu
This commit is contained in:
parent
6e5dfe4e9c
commit
473c114053
4 changed files with 251 additions and 0 deletions
33
source/client/esp32-s3/statusclient/config.template
Normal file
33
source/client/esp32-s3/statusclient/config.template
Normal file
|
@ -0,0 +1,33 @@
|
|||
/*
|
||||
* file: config.h
|
||||
*/
|
||||
|
||||
/* endpoint */
|
||||
const char* SERVER_URL = "your status server url";
|
||||
const uint16_t SERVER_PORT = port;
|
||||
|
||||
/* ssl debud level
|
||||
* esp_ssl_debug_none = 0
|
||||
* esp_ssl_debug_error = 1
|
||||
* esp_ssl_debug_warn = 2
|
||||
* esp_ssl_debug_info = 3
|
||||
* esp_ssl_debug_dump = 4
|
||||
*/
|
||||
const uint8_t SSL_DEBUG_LEVEL = 3;
|
||||
|
||||
/* ssl socket */
|
||||
const int32_t TIMEOUT = 20;
|
||||
const int32_t SESSION_TIMEOUT = 6000;
|
||||
|
||||
/* serial interface settings */
|
||||
const unsigned long BAUD_RATE = 115200;
|
||||
|
||||
/* pin and frequence to read the pin */
|
||||
int REED_PIN = 47;
|
||||
const unsigned long FREQUENCY = 3000;
|
||||
|
||||
/* time server settings */
|
||||
const char* NTP_URL = "pool.ntp.org";
|
||||
const int GTM_OFFSET_SEC = 3600;
|
||||
const unsigned long DAYLIGHT_OFFSET_SEC = 3600;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue