- Raspberry Pi: Central
- ESP32: Peripheral
I am trying to make multiple connections and the response is slow. For immediacy, click here.
Here is a form that supports multiple connections, cached and reacts immediately, click here.
python3 client/pi/main.py
[WebSocket] Connected
[WebSocket] Received: LED_ON
[BLE] Scanning for devices to send: LED_ON
[BLE] Found: ESP_LED_1 (CC:DB:A7:98:54:FA)
[BLE] Connected to CC:DB:A7:98:54:FA, sending: LED_ON
[BLE] Wrote to CC:DB:A7:98:54:FA
[WebSocket] Received: LED_OFF
[BLE] Connected to CC:DB:A7:98:54:FA, sending: LED_OFF
[BLE] Wrote to CC:DB:A7:98:54:FA
[WebSocket] Received: LED_ON