esp32_SocketIO icon indicating copy to clipboard operation
esp32_SocketIO copied to clipboard

Given example is not working.

Open shyam3089 opened this issue 2 years ago • 1 comments

The given example code just outputs:

00:06:27.056 -> [SIoC] Disconnected! 00:06:27.286 -> [SIoC] add packet 42["status",Hello from esp32!] 00:06:27.595 -> [SIoC] Disconnected! 00:06:28.154 -> [SIoC] Disconnected! 00:06:28.716 -> [SIoC] Disconnected!

And CocketIO server is not receiving anything:

Python code: @socketio.on('status') def test_connect(data): logging.info("receiving: "+data) socketio.emit('event', {"data":"received..."})

What could be the issue here?

shyam3089 avatar Jun 14 '23 18:06 shyam3089

Mine is connecting, but not receiving the messages in the server

sostenesapollo avatar May 22 '24 17:05 sostenesapollo