char buff[4] = {1,2,3,4};
uint8_t temp;
temp = espconn_send(&pesp_conn, buff, 4);
os_printf("temp = %d\n",temp);
//add system_os_post here
system_os_post(USER_TASK_PRIO_1,MOSI,0);
GPIO_OUTPUT_SET(0, 1);//用于通知主机,数据已经读取完成
在这段函数里面我的espconn_send发送函数的返回值串口打印出来为244,而且我接受buff的服务端也没有接收到数据。所以请问一下这个244是什么错误?
espconn_send返回值的错误
Re: espconn_send返回值的错误
Postby Her Mary » Fri Nov 29, 2019 11:09 am
建议你使用新版的 ESP8266 RTOS https://github.com/espressif/ESP8266_RT ... r/examples,不要用旧版 nonOS SDK 了。
Who is online
Users browsing this forum: No registered users and 180 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.