Just curious if there's a fundamental reason this isn't working. If I disable the WebServer that is served over an AccessPoint, the WebSocket transmission is successful. If I delay the initiation of the WebServer and AccessPoint, the WebSocket transmission is successful all the way up until the WebServer and AccessPoint are created.
The main goal is to accept data from a non-Espruino device (plain Arduino) via an HTTP request to the WebServer on the Espruino board, and then relay that data via WebSockets to the remote server. I'm not sure if this is the best way of achieving this, any guidance is appreciated.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Just curious if there's a fundamental reason this isn't working. If I disable the
WebServer
that is served over anAccessPoint
, theWebSocket
transmission is successful. If I delay the initiation of theWebServer
andAccessPoint
, theWebSocket
transmission is successful all the way up until theWebServer
andAccessPoint
are created.The main goal is to accept data from a non-Espruino device (plain Arduino) via an HTTP request to the
WebServer
on theEspruino
board, and then relay that data viaWebSockets
to the remote server. I'm not sure if this is the best way of achieving this, any guidance is appreciated.