bluez 0.1.3 bluez: ^0.1.3 copied to clipboard
Provides a client to connect to BlueZ - the Linux Bluetooth stack.
import 'package:bluez/bluez.dart';
void main() async {
var client = BlueZClient();
await client.connect();
for (var device in client.devices) {
print('Device ${device.address} ${device.alias}');
}
await client.close();
}