Skip to content
Paul Sokolovsky edited this page Oct 14, 2017 · 7 revisions

For non-interactive apps, it makes to enable CONFIG_NET_SHELL, then shell can be used in parallel with the main app functioning:

shell> select net  
net> help
...
net> iface
...
net> mem
Fragment length 128 bytes
Network buffer pools:
Address		Count	Name
0x0041b2f4	4	RX
0x0041b310	2	TX
0x0041b38c	16	RX DATA
0x0041b3ac	16	TX DATA

net_pkt's live in memory slabs (fixed-size-alloc memory containers), separately for RX and TX packets. net_buf's live in memory pools (var-size-alloc memory containers), also separately for RX and TX (shown as RX DATA and TX DATA) above.

Clone this wiki locally