ble_hs_mbuf_att_pkt

struct os_mbuf *
ble_hs_mbuf_att_pkt(void)

Description

Allocates an mbuf suitable for an ATT command packet. The resulting packet has sufficient leading space for: ACL data header L2CAP B-frame header Largest ATT command base (prepare write request / response).

Parameters

None

Returned values

ValueCondition
An empty mbufSuccess.
nullMemory exhaustion.