lw_ble_write
Write bytes to a BLE characteristic using base64 or hex payloads; set with_response to choose acknowledged write or fire-and-forget.
Instructions
Send bytes to a characteristic. Encode the payload as base64 (data_b64) or hex (data_hex); with_response selects write-with-response vs. fire-and-forget.
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>",
"char_uuid": "<char_uuid>"
},
"name": "lw_ble_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_b64 | No | ||
| data_hex | No | ||
| char_uuid | Yes | ||
| timeout_s | No | ||
| connection_id | Yes | ||
| with_response | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||