"""E2E test: SSP Just Works pairing between Linux and ESP32. Requires both mcbluetooth and mcbluetooth-esp32 MCP servers, plus real hardware with the test firmware flashed. """ from __future__ import annotations import pytest from .conftest import requires_esp32 @requires_esp32 class TestSSPJustWorks: """SSP Just Works pairing -- both sides declare no_io capability.""" async def test_just_works_pairing(self, esp32_client): """Test Just Works pairing mode (no_io on both sides). Steps (once firmware is ready): 1. Load 'headset' persona (no_io -> Just Works) 2. Enable Classic BT, set discoverable 3. Scan from Linux side via mcbluetooth 4. Initiate pairing from Linux 5. Verify pair_complete event on ESP32 6. Verify device paired on Linux """ pytest.skip("Not yet implemented -- waiting for firmware flash")