[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #9889] Support for memory pools in MQTT app

From: Anton Gerasimov
Subject: [lwip-devel] [patch #9889] Support for memory pools in MQTT app
Date: Tue, 11 Feb 2020 09:19:27 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0

Follow-up Comment #2, patch #9889 (project lwip):

Well, the API is kind of there, one can include 'lwip/apps/mqtt_priv.h', and
do what documentation suggested, allocate the client handler statically that
is. But the name 'mqtt_priv.h' implies that it's private, and shouldn't be
included directly. Maybe it could then be merged with mqtt.h or renamed to
something like 'mqtt_static.h'?

Or as the most lightweight solution 'doc/mqtt_client.txt' could mention that
mqtt_priv.h should be included for the static allocation.

Or did you have a different kind of API in mind?


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]