Skip to content

How to send MQTT server's username and password #91

Description

@mforbiz

Hi.
Using the library, is it possible to connect to an MQTT server (Mosquitto) thas requires authentication based on username and password?
Actually I'm using mqttClient.connect(broker, port), but I don't know how to provide MQTT server's username and password.
Any idea?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions