respira/src
Jan-Henrik Bruhn caf800b40b fix: Detect unpaired Bluetooth devices during connection
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>
2025-12-15 13:45:09 +01:00
..
assets initial 2025-11-30 22:18:14 +01:00
components feature: Reorganize code into formats folder structure 2025-12-14 12:19:21 +01:00
formats fix: Combine COLOR_END and CUT flags on same stitch for color changes 2025-12-14 16:44:56 +01:00
hooks feature: Reorganize code into formats folder structure 2025-12-14 12:19:21 +01:00
platform feature: Reorganize code into formats folder structure 2025-12-14 12:19:21 +01:00
services fix: Detect unpaired Bluetooth devices during connection 2025-12-15 13:45:09 +01:00
stores feature: Reorganize code into formats folder structure 2025-12-14 12:19:21 +01:00
styles Implement comprehensive UI/UX improvements 2025-12-06 13:15:51 +01:00
types Add Electron desktop application support with Electron Forge 2025-12-07 22:39:38 +01:00
utils feature: Reorganize code into formats folder structure 2025-12-14 12:19:21 +01:00
App.css Enhance UI/UX with loading states, animations, and pattern lock functionality 2025-12-06 19:28:24 +01:00
App.tsx feature: Add application version to page title 2025-12-13 23:48:05 +01:00
index.css Migrate to Tailwind CSS and fix canvas zoom issues 2025-12-05 23:25:55 +01:00
main.tsx initial 2025-11-30 22:18:14 +01:00
vite-env.d.ts feature: Add application version to page title 2025-12-13 23:48:05 +01:00