Nodemcu-firmware: ESP32 Feature Request: Websockets

Created on 27 Nov 2017  路  2Comments  路  Source: nodemcu/nodemcu-firmware

However, in the meantime, I wrote a pure Lua version that seems to do the trick. I tried to follow the conventions of the ESP8266 library. https://github.com/chilipeppr/esp32-lua-libraries/blob/master/esp32_websocket.lua

ESP32 stale

Most helpful comment

What if we just go with more of a Lua based approach to extending this firmware? Make all these core libraries just be available via Lua code, rather than writing them in C and trying to compile lots of different versions of the firmware? Moreover, why not do an "npm install" type approach to libraries of Lua code like the way node.js does it? It seems like many of the libraries people are craving could be done at the Lua layer, rather than at the C code layer inside the compiled firmware. Websockets seem to be a good example.

All 2 comments

What if we just go with more of a Lua based approach to extending this firmware? Make all these core libraries just be available via Lua code, rather than writing them in C and trying to compile lots of different versions of the firmware? Moreover, why not do an "npm install" type approach to libraries of Lua code like the way node.js does it? It seems like many of the libraries people are craving could be done at the Lua layer, rather than at the C code layer inside the compiled firmware. Websockets seem to be a good example.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

riteshRcH picture riteshRcH  路  3Comments

dicer picture dicer  路  6Comments

HHHartmann picture HHHartmann  路  7Comments

TerryE picture TerryE  路  7Comments

pastukhov picture pastukhov  路  6Comments