mirror of
https://github.com/jhbruhn/respira.git
synced 2026-01-27 10:23:41 +00:00
The application now properly detects when a Brother PP1 machine is not paired with the operating system. Previously, the connection would appear successful but commands would fail silently. Changes: - Enhanced sendCommand() to check for empty or invalid responses during initial connection - Updated connect() to validate the connection with a test command (getMachineState) - Properly disconnect and clean up when pairing is not established - Throw BluetoothPairingError with helpful instructions for the user When the machine is not paired, users now see a clear error message instructing them to: 1. Long-press the Bluetooth button on the machine 2. Pair via the operating system's Bluetooth settings 3. Try connecting again 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| assets | ||
| components | ||
| formats | ||
| hooks | ||
| platform | ||
| services | ||
| stores | ||
| styles | ||
| types | ||
| utils | ||
| App.css | ||
| App.tsx | ||
| index.css | ||
| main.tsx | ||
| vite-env.d.ts | ||