-
Notifications
You must be signed in to change notification settings - Fork 1
/
sesTelnetServerConfig.h
26 lines (18 loc) · 1015 Bytes
/
sesTelnetServerConfig.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Define this to make all the strings live in Flash instead of RAM.
#define USE_FLASH
// Then include this to get the FLASHMEM, FLASTSTR, and FLASHPTR defines.
#include "FlashMem.h"
// Define this to include printing basic Telnet protocol information. This
// will include a bunch of Flash strings.
#define TELNET_DEBUG // takes about 1176 bytes of Flash + 14 bytes of RAM.
// Define this to use multiserver support,but only if you have fixed your
// Ethernet library to allow it. See:
// http://subethasoftware.com/2013/04/09/arduino-ethernet-and-multiple-socket-server-connections/
//#define TELNET_MULTISERVER
// Configure telnet server MAC address and IP address.
const byte mac[] FLASHMEM = { 0x2A, 0xA0, 0xD8, 0xFC, 0x8B, 0xEF };
const byte ip[] FLASHMEM = { 192, 168, 0, 200};
// Define the ID string sent to the user upon initial connection.
#define TELNETID "Sub-Etha Software's Arduino Telnet server."
// Define the AYT (Are You There) response string.
#define TELNETAYT "Yes. Why do you ask?"