MQTT static storage to client?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

MQTT static storage to client?

Freddie Chopin-2
Hi!

It says here that static allocation of mqtt_clien_t is possible.

http://git.savannah.nongnu.org/cgit/lwip.git/tree/doc/mqtt_client.txt#n15

However the exact definition of `struct mqtt_client_s` is available
only in here:

http://git.savannah.nongnu.org/cgit/lwip.git/tree/src/include/lwip/apps/mqtt_priv.h#n70

Should this definition be moved from mqtt_priv.h to mqtt.h or maybe the
info in mqtt_client.txt should be updated to remove any mentions about
static allocation? Or maybe the user is expected to include mqtt_priv.h
even though the name suggests it is an internal header?

Thanks in advance!

Regards,
FCh


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel