Skip to content

Client constructor needs API Version argument for Paho MQTT 2.x. #5

@jsbosch

Description

@jsbosch

The current code has this:
client = mqtt.Client("Smartphone")

It needs to be changed to this:
client = mqtt.Client(2, "Smartphone")

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