device_ble_heal
Resets a non-finite BluetoothDevice.connectionCount to 0 on live devices so reconnect logic works without power-cycling; run when device_ble_state reports connectionCountOk=false.
Instructions
Reset a non-finite (NaN/undefined) BluetoothDevice.connectionCount to 0 on live devices — the state markBluetoothDevice would have set — so the app's reconnect logic works again without power-cycling the board. No BLE I/O. Run before upgrades/pairing when device_ble_state shows connectionCountOk=false.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "device_ble_heal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||