-->
Page 1 of 1

espconn user-data in callback

PostPosted: Sun Apr 19, 2015 3:36 am
by inx
Hello.

I was wondering if there is a field in the espconn structure to be used for user-data.
so that we are able to get access to e.g. a classinstance in one of the callback functions.

there is a field "reverse" which is not documented in the code.
what is that field for?
can we use it for user-data?

i do not see a way to set user-data via the espressif-API.
can i be done?
(i know ESP8266 Arduino, where a classinstance is set via lwip)