ble_spec_attach
Attach a registered BLE spec to an active connection session, making it available for reading/writing characteristics and executing flows within that session.
Instructions
Attach a registered spec to a connection session (in-memory only). The spec will be available via ble.spec.get for the duration of this connection. After attaching, check ble.plugin.list for a matching plugin, then present the user with their options: interact with the device using the spec (read/write characteristics, execute flows), use plugin shortcut tools if a plugin is loaded, extend an existing plugin with new tools, or create a new plugin using ble.plugin.template.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec_id | Yes | The spec_id from ble.spec.register. | |
| connection_id | Yes |