openDevice method
Open a connection to a specific device.
Implementation
Future<void> openDevice(String deviceId) async {
try {
await _channel.invokeMethod('openDevice', {'deviceId': deviceId});
} on PlatformException catch (e) {
throw Exception('Failed to open device: ${e.message}');
}
}