I believe that what I need to do is form a connection and then execute an espconn_sent() API call. This takes a buffer and a length and, I presume, sends the data. I notice that the length is an unsigned 16 bit value ... so that tells me that I can only send 16KBytes in one operation. Is that correct?
I am assuming that, like all the other SDK APIs, this command does not block. So that seems to say that I can call espconn_sent() and then immediately call a second espconn_sent() ... however ... my belief is that would be wrong. Instead, one should send data via espconn_sent() and return control back to the OS. When a sent_callback occurs, that is an indication that the data previously asked to be sent has now ACTUALLY be sent and we can repeat and send new data.
Is this assumption correct?Statistics: Posted by kolban — Thu Jul 09, 2015 12:45 pm
]]>