Skip to content

Why are all functions prefaced with esp_mqtt_client_, except for two which are simply esp_mqtt_ (IDFGH-16114) #309

@hachi

Description

@hachi

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate.
  • Provided a clear description of your suggestion.
  • Included any relevant context or examples.

Issue or Suggestion Description

In particular I'm referring to

esp_mqtt_set_config and esp_mqtt_dispatch_custom_event

They still take a client as the first argument, so the inconsistency is a little weird.

I noticed this when I tried to call esp_mqtt_client_set_config which I was nearly certain existed... and failed to compile.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions