alen你好,
调用espconn_mesh_sent(&ser_conn, (uint8_t *)header, header->len); 会发生如下错误,什么原因呢?偶尔发生。
cidx:-1
pkt-idx:0, cidx:-1, usr:1
mesh sent fail -1
94.rip:139.196.107.200rp:7000, lp:48483
esp_mesh_con_cb
header = (struct mesh_header_format *)espconn_mesh_create_packet(
dst, // destiny address
sta, // source address
false, // not p2p packet
true, // piggyback congest request
M_PROTO_BIN, // packe with JSON format
datalen, // data length
false, // no option
0, // option len
false, // no frag
0, // frag type, this packet doesn't use frag
false, // more frag
0, // frag index
0); // frag length
mesh sent fail
Re: mesh sent fail
Postby ESP_Alen » Fri May 27, 2016 11:33 am
achao1104 wrote:alen你好,
调用espconn_mesh_sent(&ser_conn, (uint8_t *)header, header->len); 会发生如下错误,什么原因呢?偶尔发生。
cidx:-1
pkt-idx:0, cidx:-1, usr:1
mesh sent fail -1
94.rip:139.196.107.200rp:7000, lp:48483
esp_mesh_con_cb
header = (struct mesh_header_format *)espconn_mesh_create_packet(
dst, // destiny address
sta, // source address
false, // not p2p packet
true, // piggyback congest request
M_PROTO_BIN, // packe with JSON format
datalen, // data length
false, // no option
0, // option len
false, // no frag
0, // frag type, this packet doesn't use frag
false, // more frag
0, // frag index
0); // frag length
Mesh just holds one packet for user, if it doesn't send the packet out, and user tries to send another packet, mesh will notify that it is busy.
Who is online
Users browsing this forum: No registered users and 13 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.