ble_hs_mbuf_l2cap_pkt() function
Allocates an mbuf suitable for an L2CAP data packet. The resulting packet has sufficient leading space for: o ACL data header o L2CAP B-frame header
Syntax
struct os_mbuf *ble_hs_mbuf_l2cap_pkt(void); Return value
An empty mbuf on success; null on memory exhaustion.
ble_hs_mbuf_l2cap_pkt() is called by 8 functions and calls 1 function:
![]()
ble_hs_mbuf_l2cap_pkt()