ESP8266 Developer ZoneThe Official ESP8266 Forum2014-12-22T20:19:02+08:00https://bbs.espressif.com:443/feed.php?f=66&t=922014-12-22T20:19:02+08:002014-12-22T20:19:02+08:00https://bbs.espressif.com:443/viewtopic.php?t=92&p=322#p322Statistics: Posted by ESP_Sprite — Mon Dec 22, 2014 8:19 pm
]]>2014-12-22T13:03:57+08:002014-12-22T13:03:57+08:00https://bbs.espressif.com:443/viewtopic.php?t=92&p=317#p317 In fact,when you call the next espconn,you can check the return value,it won't be ESPCONN_OK but some other error code.
Statistics: Posted by ESP_Faye — Mon Dec 22, 2014 1:03 pm
I was told to call next espconn_sent after espconn_sent_callback of the pre-packet..
All I can say is: it worked in the past. If espconn_sent can only be used once per callback, I'd like to know that so I can work around this limitation, but it would be pretty inconvenient to do so so I want to make 100% sure this isn't a bug first.
Statistics: Posted by ESP_Sprite — Sun Dec 21, 2014 7:11 pm
]]>2014-12-21T14:12:36+08:002014-12-21T14:12:36+08:00https://bbs.espressif.com:443/viewtopic.php?t=92&p=308#p308 I was told to call next espconn_sent after espconn_sent_callback of the pre-packet..
Statistics: Posted by Her Mary — Sun Dec 21, 2014 2:12 pm
]]>2014-12-21T08:10:38+08:002014-12-21T08:10:38+08:00https://bbs.espressif.com:443/viewtopic.php?t=92&p=307#p307 In SDK 0.9.3 and earlier, if I would call espconn_sent consecutively in a function, it would sent all the data concatenated. If I do the same in 0.9.4, I only see the data from the first espconn_sent.
So eg: espconn_sent(conn, (uint8 *)"Hello", 5); espconn_sent(conn, (uint8 *)"World", 5);
for SDK<=0.9.3 would send 'HelloWorld', but for 0.9.4 it only seems to send 'Hello'.
Is this intentional or a bug? If it's intentional, I'll have to modify my code accordingly. If it's a bug, you may want to squash it
Statistics: Posted by ESP_Sprite — Sun Dec 21, 2014 8:10 am