ble_mtu
Get the negotiated MTU size for a BLE connection to determine the maximum write payload per packet, adjusting chunk sizes for large data transfers.
Instructions
Return the negotiated MTU (Maximum Transmission Unit) for a connection. The effective max write payload per packet is mtu - 3 bytes (ATT header). Useful for determining chunk sizes for large writes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes |