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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"connection_id": "<connection_id>"
},
"name": "ble_mtu"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes |