BLE-X is a Bluetooth Low Energy (BLE) communication library for Android, designed to provide a structured and reliable way to interact with BLE devices.
⚠ This project is actively in development. Features may change, and breaking updates are possible.
- 📡 Centralized BluetoothGatt management – Ensures better control and maintainability.
- 🔄 Optimized MTU & PHY handling – More efficient communication with BLE devices.
- 🔗 Improved characteristic read/write operations – Streamlined API for interaction.
- 🛠 Enhanced callback management – Prevents memory leaks and ensures proper cleanup.
Coming soon...
val bleConnection = BleConnection(device)
bleConnection.connect()
val data: ByteArray = bleConnection.readCharacteristic(characteristic)
bleConnection.writeCharacteristic(characteristic, byteArrayOf(0x01, 0x02))
bleConnection.requestMtu(512)
- Complete API documentation
- Improve error handling and reconnection strategies
- Add unit tests and sample applications
- Optimize performance for large-scale BLE operations
This project is in active development, and contributions are welcome! Feel free to open issues or submit pull requests.
🔧 Maintainer: Roman Tsisyk
📌 License: MIT