Search found 24 matches

by gustavo
Thu Nov 10, 2016 7:19 pm
Forum: Report Bugs
Topic: RTOS SDK 1.4.0 espconn_tcp_set_max_con_allow crashes the code
Replies: 1
Views: 5127

RTOS SDK 1.4.0 espconn_tcp_set_max_con_allow crashes the code

Hello, the following code crashes: static struct espconn conn; conn.type = ESPCONN_TCP; conn.state = ESPCONN_NONE; conn.proto.tcp = (esp_tcp *)zalloc(sizeof(esp_tcp)); conn.proto.tcp->local_port = port; espconn_regist_connectcb(&conn, onNewClient); espconn_accept(&conn); espconn_tcp_set_max_...
by gustavo
Tue Nov 08, 2016 2:05 am
Forum: ESP8266 SDK
Topic: Random crash with RTOS SDK
Replies: 0
Views: 4135

Random crash with RTOS SDK

Hi, I'm getting random crashes with the RTOS SDK when receiving multiple fast tcp connections. I checked the map file and the problem seems to be in the "realloc" function. epc1=0x40105d96 and 0x0000000040105d04 realloc. I have checked the heap but there's still enough space left... I have...
by gustavo
Thu Nov 03, 2016 8:54 pm
Forum: Report Bugs
Topic: Memory Leak/Usage
Replies: 31
Views: 23302

Re: Memory Leak/Usage

Hi, I'm having the same problem as OP. I'm running the "OS SDK ver: 1.4.0(c599790) compiled @ Mar 1 2016 17:25:17" sdk version. No matter where I put the espconn_set_opt(connPtr, ESPCONN_REUSEADDR); there's always some pending bytes that don't get freed after disconnect. system_get_free_he...
by gustavo
Thu Oct 27, 2016 11:16 pm
Forum: Report Bugs
Topic: Espconn api not ACKing tcp packets
Replies: 1
Views: 6093

Re: Espconn api not ACKing tcp packets

I have confirmed that this only happens if I try to send more data, if I don't follow to step 3) the espconn api will eventually send the ACK.
by gustavo
Thu Oct 27, 2016 11:03 pm
Forum: Report Bugs
Topic: Espconn api not ACKing tcp packets
Replies: 1
Views: 6093

Espconn api not ACKing tcp packets

Hi, I'm trying to implement UPNP IGD port forwarding using the espconn api. I create a connection to the router and then: 1) On the connected callback (espconn_regist_connectcb) I send the GET request for the IGD description using espconn_send; 2) on the receive callback (espconn_regist_recvcb) I pa...
by gustavo
Fri Oct 14, 2016 6:18 pm
Forum: Report Bugs
Topic: err1,exceed max time value
Replies: 1
Views: 2312

Re: err1,exceed max time value

It seems that the problems are unrelated.

For future documentation, that error means you are passing a bigger than maximum value to a timer.
by gustavo
Fri Oct 14, 2016 5:51 pm
Forum: Report Bugs
Topic: Impossible to join multicast group on RTOS SDK 1.4.x
Replies: 3
Views: 3528

Re: Impossible to join multicast group on RTOS SDK 1.4.x

I think I tried that at the time...
Either way I got it working with the espconn api.
by gustavo
Fri Oct 14, 2016 5:49 pm
Forum: Report Bugs
Topic: err1,exceed max time value
Replies: 1
Views: 2312

err1,exceed max time value

I'm trying to implement a webserver using the espconn api.

After some requests I get this error (err1,exceed max time value) written to the uart and the next espconn_send causes a Fatal exception (28).

There is no documentation on this...
How can I fix this?
by gustavo
Wed Sep 07, 2016 5:33 pm
Forum: Report Bugs
Topic: Impossible to join multicast group on RTOS SDK 1.4.x
Replies: 3
Views: 3528

Re: Impossible to join multicast group on RTOS SDK 1.4.x

It seems to be possible using the espconn api instead of the lwip socket api.
by gustavo
Tue Sep 06, 2016 6:28 pm
Forum: Report Bugs
Topic: Impossible to join multicast group on RTOS SDK 1.4.x
Replies: 3
Views: 3528

Impossible to join multicast group on RTOS SDK 1.4.x

I'm trying to use SSDP on the ESP8266 with the RTOS SDK. I have tried both the 1.4.0 and the 1.4.2 (git 1.4.x branch) but I can't join any group. I can't even catch any igmp packet from the esp. I read this thread: http://bbs.espressif.com/viewtopic.php?t=1058 and it seems that at the time it wasn't...

Go to advanced search