ESP3D
3.0
Firmware for ESP boards connected to 3D Printer
ethconfig.h
Go to the documentation of this file.
1
/*
2
ethconfig.h - ethernet functions class
3
4
Copyright (c) 2018 Luc Lebosse. All rights reserved.
5
6
This library is free software; you can redistribute it and/or
7
modify it under the terms of the GNU Lesser General Public
8
License as published by the Free Software Foundation; either
9
version 2.1 of the License, or (at your option) any later version.
10
11
This library is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
Lesser General Public License for more details.
15
16
You should have received a copy of the GNU Lesser General Public
17
License along with this library; if not, write to the Free Software
18
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19
*/
20
21
22
23
#ifndef _ETH_CONFIG_H
24
#define _ETH_CONFIG_H
25
#include <Arduino.h>
26
#ifdef ARDUINO_ARCH_ESP32
27
#include "ETH.h"
28
#endif //ARDUINO_ARCH_ESP32
29
#ifdef ARDUINO_ARCH_ESP8266
30
#endif //ARDUINO_ARCH_ESP8266
31
32
class
EthConfig
33
{
34
public
:
35
EthConfig
();
36
~EthConfig
();
37
static
bool
begin
();
38
static
bool
StartSTA
();
39
//static bool StartSRV();
40
static
void
end
();
41
static
void
handle
();
42
static
bool
started
();
43
private :
44
static
bool
_started;
45
46
};
47
48
#endif //_ETH_CONFIG_H
EthConfig::handle
static void handle()
EthConfig::StartSTA
static bool StartSTA()
EthConfig
Definition:
ethconfig.h:32
EthConfig::~EthConfig
~EthConfig()
EthConfig::started
static bool started()
EthConfig::end
static void end()
EthConfig::begin
static bool begin()
EthConfig::EthConfig
EthConfig()
esp3d
src
modules
ethernet
ethconfig.h
Generated by
1.8.17