Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Bug in application/src/mqtt.cpp #3

Open
@ani8897

Description

@ani8897

The struct on line 206 of application/src/mqtt.cpp is not initialized properly

mqtt_service_config config = {
        mqtt_server,
        mqtt_client_id,
        mqtt_username,
        mqtt_password,
        mqtt_cert,
        mqtt_cert_key,
        mqtt_ca_root};

The third field should be topic which has been skipped during initialization. This bug has a serious cascading effect as we cannot initialize a secure MQTT connection by exporting environment variables.

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