Function esp_idf_sys::ble_hs_mbuf_att_pkt
source ยท pub unsafe extern "C" fn ble_hs_mbuf_att_pkt() -> *mut os_mbuf
Expand 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).
@return An empty mbuf on success, NULL on error.