[][src]Function apache_nimble_sys::ble_att_mtu

pub unsafe extern "C" fn ble_att_mtu(conn_handle: u16) -> u16

Retrieves the ATT MTU of the specified connection. If an MTU exchange for this connection has occurred, the MTU is the lower of the two peers' preferred values. Otherwise, the MTU is the default value of 23.

@param conn_handle The handle of the connection to query.

@return The specified connection's ATT MTU, or 0 if there is no such connection.