Problems with mbuf docs?
I'm just reading the mbuf docs (https://mynewt.apache.org/latest/os/core_os/mbuf/mbuf.html). I am still learning so I don't want to say these are errors and not my confusion - but if that's the case then maybe the docs could be expanded to head off these questions :-)
-
Regarding figure 1 (https://github.com/apache/mynewt-core/blob/master/docs/os/core_os/mbuf/pics/mbuf_fig1.png). The
Data Bufferpart of aPacket Header mbufmust beMBLEN - 24 - Nbytes and not justMBLEN - 16? -
In the example code at the end (https://mynewt.apache.org/latest/os/core_os/mbuf/mbuf.html#using-mqueue is the closest link I can get) the call to
os_mqueue_inithas only two parameters when the docs further down say it should have three. I'm guessing the second parameter should beprocess_rx_data_queue. If not can the docs be expanded to explain howprocess_rx_data_queuedoes get called?