Skip to content

godot-game-samples/websocket-central-peripheral

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Websocket Central & Peripheral

  • Raspberry Pi: Central
  • ESP32: Peripheral

Cached Single connections

I am trying to make multiple connections and the response is slow. For immediacy, click here.

Cached Multiple connections

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published