mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-23 08:37:08 +01:00
28 lines
473 B
C++
28 lines
473 B
C++
/*
|
|
|
|
TELNET MODULE
|
|
|
|
Copyright (C) 2017-2019 by Xose Pérez <xose dot perez at gmail dot com>
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "espurna.h"
|
|
|
|
#include <Arduino.h>
|
|
#include <Schedule.h>
|
|
|
|
#include <memory>
|
|
#include <list>
|
|
|
|
constexpr unsigned char TELNET_IAC = 0xFF;
|
|
constexpr unsigned char TELNET_XEOF = 0xEC;
|
|
|
|
uint16_t telnetPort();
|
|
bool telnetConnected();
|
|
unsigned char telnetWrite(unsigned char ch);
|
|
bool telnetDebugSend(const char* prefix, const char* data);
|
|
void telnetSetup();
|
|
|