• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2016 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5"""An adapter to remotely access the bluetooth le facade on a DUT."""
6
7from autotest_lib.server.cros.bluetooth.bluetooth_device import BluetoothDevice
8
9
10class BluetoothLEFacadeRemoteAdapter(BluetoothDevice):
11    """An adapter to remotely control DUT bluetooth low-energy (le) device.
12
13    The Autotest host object representing the remote DUT, passed to this
14    class on initialization, can be accessed from its _client property.
15
16    """
17    def __init__(self, host):
18        """Construct an BluetoothLEFacadeRemoteAdapter.
19
20        @param host: Host object representing a remote host.
21
22        """
23        self._client = host
24        super(BluetoothLEFacadeRemoteAdapter, self).__init__(host)
25