ble_att_mtu

uint16_t
ble_att_mtu(uint16_t conn_handle)

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.

Parameters

ParameterDescription
conn_handleThe handle of the connection to query.

Returned values

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