Topic: Heap Usage in WolfMQTT
Hello
I am new to the WolfMqtt library and I am in the phase of evaluating it for the usage as mqtt v5 client library.
I will use WolfMqtt based on Zephyr OS and I was able to get the two sample applications in Zephyr folder to run successfully.
So here is my questions:
1- One of my hard requirements is no heap usage at all, and I noticed that there are couple of malloc calls or to be more specifically WOLFMQTT_MALLOC used, so the first question is there any way to configure the WolfMqtt to not use the heap ? I couldn't find anything in documentation discussing the memory usage of WolfMqtt.
2- In case of TLS Usage and the integration of WolfSSL with my WolfMQTT application, I have seen that there this configuration parameter WOLFSSL_NO_MALLOC that disables the heap memory utilization, so my question is: Is my understanding correct that this configuration parameter completely disables the heap utilization, since I have seen alot of malloc calls in WolfSSL not protected by WOLFSSL_NO_MALLOC conditional compilation.