ble_write
Write a value to a BLE GATT characteristic. Provide the value as base64 or hex, and optionally use write-with-response. Requires write permission enabled.
Instructions
Write a value to a GATT characteristic. Requires BLE_MCP_ALLOW_WRITES=true at server startup. Provide value as base64 (value_b64) or hex (value_hex).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| char_uuid | Yes | ||
| value_b64 | No | Base64-encoded value to write. | |
| value_hex | No | Hex-encoded value to write. | |
| connection_id | Yes | ||
| with_response | No | Use write-with-response (default true). |