Skip to content

OTA over MQTT #64

@ionciubotaru

Description

@ionciubotaru

I tried OTA using test.mosquitto.org
The update works fine except:

    Serial.println("Clearing retained message.");
    client.publish(MQTT::Publish(pub.topic(), "")
                   .set_retain());

Client doesn't publish anything, so ESP update again and again
I tried:

    Serial.println("Clearing retained message.");
    client.publish(MQTT::Publish(pub.topic(), "")
                   .set_retain(true));

but it doesn't work - nothing is published on mqtt server.

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