I used example of at_espconn to test at espconnect. AT command was transfered from TCP server to ESP8266 successfuly and i can get return information from ESP8266 TO TCP server. like
【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?
(ESP8266) Why os_printf() of example"at_espconn" did not return any log in uart?
-
- Posts: 1
- Joined: Tue Jun 06, 2017 8:49 am
(ESP8266) Why os_printf() of example"at_espconn" did not return any log in uart?
Postby cks2074243 » Tue Jun 06, 2017 10:25 am
Who is online
Users browsing this forum: No registered users and 4 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.