GDBLE v0.4.0
GDBLE v0.4.0
๐ What's New
A modern Bluetooth Low Energy (BLE) plugin for Godot 4, completely rewritten in Rust.
โจ Key Features
- Real-time Device Discovery: Devices appear instantly as they're found during scanning
- Async Non-blocking: All operations run asynchronously without affecting game frame rate
- Modern Architecture: Built with Rust and btleplug for excellent performance and stability
- Signal-driven API: Clean event system using Godot signals
- Debug Mode: Optional detailed logging for development and troubleshooting
- Multi-device Support: Connect and manage multiple BLE devices simultaneously
๐ง Core Functionality
- ๐ Device scanning with real-time discovery
- ๏ฟฝ Device connection management
- ๐ Automatic service and characteristic discovery
- ๐ Read characteristic values
- โ๏ธ Write data (with/without response)
- ๐ Subscribe to notifications for real-time data
๐ฆ Installation
- Download
gdble-release.zip - Extract to your Godot project's
addonsfolder - Restart Godot Editor
- Start using GDBLE in your project!
๐ Platform Support
- โ Windows 10+ (x86_64)
- โ macOS 10.15+ (Universal Binary: Intel + Apple Silicon)
- ๐ง Linux (In Development)
๐ Documentation
- ๐ ไธญๆๆๆกฃ (Chinese)
- ๐ English Documentation
- ๐ฎ Demo Guide
- ๐ Quick Start
๐ Links
๐ก Quick Example
var bluetooth_manager = BluetoothManager.new()
add_child(bluetooth_manager)
bluetooth_manager.device_discovered.connect(func(info):
print("Found: ", info.get("name"))
)
bluetooth_manager.initialize()
bluetooth_manager.start_scan(10.0)๐ Acknowledgments
Built with btleplug and godot-rust
Full Changelog: https://github.com/Fantety/GodotBLE/compare/v0.4.0