Initial TCP server

This commit is contained in:
2025-06-05 01:44:58 -04:00
parent d79d99ed80
commit 52194c19db
8 changed files with 237 additions and 49 deletions

View File

@@ -0,0 +1,16 @@
//
// Created by Johnathon Slightham on 2025-06-01.
//
#ifndef TCP_H
#define TCP_H
#define TCP_DEFAULT_LISTEN_BACKLOG 1
#define KEEPALIVE_IDLE 7200
#define KEEPALIVE_INTERVAL 75
#define KEEPALIVE_COUNT 9
#define SLEEP_AFTER_FAIL_MS 5000
#endif //TCP_H

View File

@@ -5,8 +5,9 @@
#ifndef WIFI_H
#define WIFI_H
#define WIFI_SSID "botchain"
#define SOFTAP_CHANNEL 1
#define SOFTAP_MAX_CONNECTIONS 10
// SoftAP Configuration
#define WIFI_SSID "botchain"
#define SOFTAP_CHANNEL 1
#define SOFTAP_MAX_CONNECTIONS 10
#endif //WIFI_H