riot_sys

Function ble_att_mtu

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

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.