uint16_t ble_att_mtu(uint16_t conn_handle)
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.
Parameter | Description |
---|---|
conn_handle | The handle of the connection to query. |
The specified connection's ATT MTU, or 0 if there is no such connection.