Valgueiro / esp32_SocketIO

Simple example using the socket.io library on ESP 32 boards.
23 stars 10 forks source link

Given example is not working. #1

Open shyam3089 opened 1 year ago

shyam3089 commented 1 year ago

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?

sostenesapollo commented 3 months ago

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