I haven't seen anyone doing it, but it shouldn't be too bad. You're basically just implementing your own version of the JsNetwork structure from https://github.com/espruino/Espruino/blob/master/libs/network/network.h#L63
I believe ESP32 uses lwip so you may be able to use its implementation of that structure as a starting point too
© Espruino, powered by microcosm.
Report a problem