Anyone have a Schmea idea I can follow for queuing data to be sent.
It seems NONOS SDK, just buffers and signals the data to be sent when returning back to the system level from userland.
What I am looking for is to call the same function twice to queue and send the dataout. One of my ideas was to use a function like this
Setup send callback
add multiple char * use Add to map
Call SendAll.
void * ArrayPtr[];
void AddToMap(char * data)
{
Add data ptr to ArrayPtr[]
}
void * sendAll()
{
loop through each element, if not = to 0x0 then its a valid pointer
Send Data, return from this function and wait for call back.
}
void CallbackfromSend
{
sendAll();
}
Has anyone implemented an idea like this or one even better / simpler for queuing data?
espconn_send and Queuing Data
-
- Posts: 195
- Joined: Sat Apr 01, 2017 1:21 am
- Contact:
Who is online
Users browsing this forum: No registered users and 186 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.