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.
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
Her Majesty wrote:Can be used like that？
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.
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.
Who is online
Users browsing this forum: No registered users and 2 guests
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
We also have a RTOS version and a MESH version too!
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!