ESP-IDF-Component-Jannex/include/jannex/api/console.h

17 lines
464 B
C

#pragma once
#include "jannex/jannex.h"
#ifdef CONFIG_HTTP_SERVER_ENABLE_DEBUG_MODE
#define PORT 3333
#define KEEPALIVE_IDLE 5 // Keep-alive idle time. In idle time without receiving any data from peer, will send keep-alive probe packet
#define KEEPALIVE_INTERVAL 5 // Keep-alive probe packet interval time
#define KEEPALIVE_COUNT 3 // Keep-alive probe packet retry count
void initConsole();
void connectConsole();
void sendCoredumpToConsole();
#endif