Updated doxyfile. Small changes to mqtt.c
This commit is contained in:
parent
13790637fe
commit
0692b1776c
2 changed files with 10 additions and 12 deletions
6
mqtt.c
6
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue