From 0692b1776cc5a7a94fe6774acfae0e3de6f62666 Mon Sep 17 00:00:00 2001 From: "A.M. Rowsell" Date: Thu, 20 Dec 2018 13:37:05 -0500 Subject: [PATCH] Updated doxyfile. Small changes to mqtt.c --- Doxyfile | 16 ++++++++-------- mqtt.c | 6 ++---- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/Doxyfile b/Doxyfile index 3828006..c6e8fd7 100644 --- a/Doxyfile +++ b/Doxyfile @@ -58,7 +58,7 @@ PROJECT_LOGO = /home/amr/Pictures/284737-cute-food/png/fortune-cookie_ # entered, it will be relative to the location where doxygen was started. If # left blank the current directory will be used. -OUTPUT_DIRECTORY = /home/amr/workspace/ESP8266/projects/mqtt/docs +OUTPUT_DIRECTORY = docs # If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- # directories (in 2 levels) under the output directory of each output format and @@ -551,7 +551,7 @@ SHOW_INCLUDE_FILES = YES # which file to include in order to use the member. # The default value is: NO. -SHOW_GROUPED_MEMB_INC = NO +SHOW_GROUPED_MEMB_INC = YES # If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include # files with double quotes in the documentation rather than with sharp brackets. @@ -790,7 +790,7 @@ WARN_LOGFILE = # spaces. See also FILE_PATTERNS and EXTENSION_MAPPING # Note: If this tag is empty the current directory is searched. -INPUT = /home/amr/workspace/ESP8266/projects/mqtt +INPUT = . # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses @@ -1478,7 +1478,7 @@ DISABLE_INDEX = NO # The default value is: NO. # This tag requires that the tag GENERATE_HTML is set to YES. -GENERATE_TREEVIEW = NO +GENERATE_TREEVIEW = YES # The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that # doxygen will group on one line in the generated HTML documentation. @@ -1902,7 +1902,7 @@ RTF_SOURCE_CODE = NO # classes and files. # The default value is: NO. -GENERATE_MAN = NO +GENERATE_MAN = YES # The MAN_OUTPUT tag is used to specify where the man pages will be put. If a # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of @@ -1927,7 +1927,7 @@ MAN_EXTENSION = .3 # MAN_EXTENSION with the initial . removed. # This tag requires that the tag GENERATE_MAN is set to YES. -MAN_SUBDIR = +MAN_SUBDIR = man # If the MAN_LINKS tag is set to YES and doxygen generates man output, then it # will generate one additional man file for each entity documented in the real @@ -2376,7 +2376,7 @@ DIRECTORY_GRAPH = YES # The default value is: png. # This tag requires that the tag HAVE_DOT is set to YES. -DOT_IMAGE_FORMAT = png +DOT_IMAGE_FORMAT = svg # If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to # enable generation of interactive SVG images that allow zooming and panning. @@ -2388,7 +2388,7 @@ DOT_IMAGE_FORMAT = png # The default value is: NO. # This tag requires that the tag HAVE_DOT is set to YES. -INTERACTIVE_SVG = NO +INTERACTIVE_SVG = YES # The DOT_PATH tag can be used to specify the path where the dot tool can be # found. If left blank, it is assumed the dot tool can be found in the path. diff --git a/mqtt.c b/mqtt.c index 9edc7e3..df69c14 100644 --- a/mqtt.c +++ b/mqtt.c @@ -41,8 +41,8 @@ LOCAL void ICACHE_FLASH_ATTR data_recv_callback(void *arg, char *pdata, unsigned os_printf("Hex dump: "); for(int i = 0; i < len; i++) { os_printf("(%d): %x ", i, pdata[i]); - } - os_printf("\n"); + } + os_printf("\n"); #endif mqtt_message_type msgType = ((mqtt_message_type)pdata[0] >> 4) & 0x0F; switch(msgType) { @@ -116,8 +116,6 @@ LOCAL uint8_t ICACHE_FLASH_ATTR tcpConnect(void *arg) { mqtt_session_t *session = arg; wifi_get_ip_info(STATION_IF, &ipConfig); if (wifi_station_get_connect_status() == STATION_GOT_IP && ipConfig.ip.addr != 0) { - struct ip_info ipConfig; - LOCAL struct espconn conn; LOCAL struct _esp_tcp tcp_s; conn.reverse = arg;