Skip to content

Connecting to HiveMQ MQTT Broker #133

@Alfredfoby

Description

@Alfredfoby

I am using a mega and Sim 7000A. I am trying to connect my device to a different MQTT broker than Adafruit IO which is HiveMQ so I can build a web application out of it. The issue I am having is that i cannot connect to the server using the libraries provided for some reason. I have tried the MQTT Demo sketch and it still gives errors when I call different methods for example

if (! fona.MQTT_connect(true)) { Serial.println(F("Failed to connect to broker!")); }

That would give me an error saying that the method basically does not exist in that class. Please point me in the right direction as everything looks fine except methods don't work.

Thank you

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