[][src]Function apache_nimble_sys::ble_hs_mbuf_att_pkt

pub unsafe extern "C" fn ble_hs_mbuf_att_pkt() -> *mut os_mbuf

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.