changing the connection to mirror the browser client connection in the embedded web page worked
const ws = new WebSocket('ws://192.168.1.203:8000', 'protocolOne');
i didn't see that 'protocolOne' parameter documented anywhere. it works, so i'll move on for now.
© Espruino, powered by microcosm.
Report a problem