Hello,
I would like to ask if it is possible to print the status of individual parts of memory on nRF7002-DK while the program is running? So far, I have managed to print the heap and stack usage, but I also need to list the usage of network buffers (net_buf) due to the following errors that I sometimes encounter:
[00:25:28.479,705] <err> net_pkt: Data buffer (1133) allocation failed.
[00:25:28.486,968] <err> net_tcp: conn: 0x200624d8 packet allocation failed, len=1085
[00:25:28.495,452] <err> net_tcp: TCP failed to allocate buffer in retransmission
So I need to know which part of the memory fills up when the error occurs so that I can allocate more space to it.
Here are some links I found but didn't find any information about possibility of network buffers memory usage observation:
Network Configuration Guide — Zephyr Project Documentation
Wi-Fi stack configuration and performance
Memory requirements for Wi-Fi applications in Station mode
Monitoring Stack and Heap Usage in Zephyr: How to Detect Memory Leaks - Shawn Hymel
Thank you