Skip to content

Given example is not working.  #1

@shyam3089

Description

@shyam3089

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions