Skip to content

Recommended stack & buffer sizes for LWIP and MQTT when using mesh_lite + MQTT (AEGHB-1106) #175

Open
@BR-Coding-cmd

Description

@BR-Coding-cmd

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

Hi all,

Doing some research into the stack sizes of each node within a mesh and after some digging I've not seen much - mind you it's not something that a lot of people may have documented outside of using the previous version "ESP_WiFI_MESH"

Example use case:

Mesh size is 100 (maximum size for mesh_lite)
Each node sends out a packet of ~300 Bytes via MQTT every 10 seconds with a qos of 1

By the time we get to the master the amount of data could block other processes as the amount of messages to be handled along with other background tasks could result in a cascaded mesh failure - the mesh breaking apart (if I'm not mistaken)

Any suggestions and places for me to look and understand I'd be grateful

Thanks
BR

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