From 5cb0350d7e3de48455635f54f5a62f7523e7b637 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 27 Oct 2016 15:55:05 -0500 Subject: [PATCH] Update config.h Updates for changing/selecting telnet ports. Fixed formatting. --- esp-link/config.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/esp-link/config.h b/esp-link/config.h index 65195d2..ccefd5e 100644 --- a/esp-link/config.h +++ b/esp-link/config.h @@ -13,8 +13,10 @@ typedef struct { char hostname[32]; // if using DHCP uint32_t staticip, netmask, gateway; // using DHCP if staticip==0 uint8_t log_mode; // UART log debug mode - uint8_t swap_uart; // swap uart0 to gpio 13&15 + uint8_t swap_uart; // swap uart0 to gpio 13&15 uint8_t tcp_enable, rssi_enable; // TCP client settings + uint8_t telnet_port1, // Telnet port settings + telnet_port2; char api_key[48]; // RSSI submission API key (Grovestreams for now) uint8_t slip_enable, mqtt_enable, // SLIP protocol, MQTT client mqtt_status_enable, // MQTT status reporting