ESP8266 Developer Zone The Official ESP8266 Forum 2017-06-06T15:14:30+08:00 https://bbs.espressif.com:443/feed.php?f=16&t=4939 2017-06-06T15:14:30+08:00 2017-06-06T15:14:30+08:00 https://bbs.espressif.com:443/viewtopic.php?t=4939&p=13737#p13737 <![CDATA[Re: (ESP8266) Why os_printf() of example"at_espconn" did not return any log in uart?]]> Statistics: Posted by Her Mary — Tue Jun 06, 2017 3:14 pm


]]>
2017-06-06T10:25:01+08:00 2017-06-06T10:25:01+08:00 https://bbs.espressif.com:443/viewtopic.php?t=4939&p=13726#p13726 <![CDATA[(ESP8266) Why os_printf() of example"at_espconn" did not return any log in uart?]]>
【2017-06-06 10:12:29:236】
+IPD,8:AT+GMR
【2017-06-06 10:12:29:443】AT+GMR
AT version:1.3.0.0(Jul 14 2016 18:54:01)
SDK version:2.0.0(656edbf)
compile time:Jun 6 2017 10:03:17
OK

But the os_printf() in the espconn callback funtion did not return any log in the uart. Like the connect_cb below, the uart did not return "at demo espconn connected\r\n" in the uart.

at_espconn_demo_connect_cb(void *arg)
{
os_printf("at demo espconn connected\r\n");
espconn_set_opt((struct espconn*)arg,ESPCONN_COPY);
at_espconn_demo_flag = TRUE;
at_espconn_demo_data_len = 0;
}

Why this happen? i used SDKv2.1.0 and SDK v2.0.0 to try this example, but the logs are all missing .
could someone help me?

Statistics: Posted by cks2074243 — Tue Jun 06, 2017 10:25 am


]]>