platypush/plugins/bluetooth/ble/__init__.py
def discover_characteristics(self, device: str, interface: str = None, **kwargs) \
            -> BluetoothDiscoverCharacteristicsResponse:
        """
        Discover the characteristics of a LE bluetooth device

        :param device: Device address to connect to
        :param interface: Bluetooth adapter name to use (default configured if None)
        :param kwargs: Extra arguments to be passed to :meth:`connect`
        """
        if interface is None:
            interface = self.interface

        self.connect(device, interface=interface, **kwargs)
        req = self._req_by_addr[device]
        characteristics = req.discover_characteristics()
        self.disconnect(device)
        return BluetoothDiscoverCharacteristicsResponse(characteristics=characteristics)

        Discover the characteristics of a LE bluetooth device

        :param device: Device address to connect to
        :param interface: Bluetooth adapter name to use (default configured if None)
        :param kwargs: Extra arguments to be passed to :meth:`connect`
        
Discover the characteristics of a LE bluetooth device
Discover the characteristics of a LE bluetooth device
def discover_characteristics(self, device: str, interface: str = None, **kwargs) \
            -> BluetoothDiscoverCharacteristicsResponse:
        if interface is None:
            interface = self.interface
        self.connect(device, interface=interface, **kwargs)
        req = self._req_by_addr[device]
        characteristics = req.discover_characteristics()
        self.disconnect(device)
        return BluetoothDiscoverCharacteristicsResponse(characteristics=characteristics)
def discover_characteristics ( self , device : str , interface : str = None , ** kwargs ) -> BluetoothDiscoverCharacteristicsResponse : if interface is None : interface = self . interface self . connect ( device , interface = interface , ** kwargs ) req = self . _req_by_addr [ device ] characteristics = req . discover_characteristics ( ) self . disconnect ( device ) return BluetoothDiscoverCharacteristicsResponse ( characteristics = characteristics )
Discover the characteristics of a LE bluetooth device
Discover the characteristics of a LE bluetooth device
"""
        Discover the characteristics of a LE bluetooth device

        :param device: Device address to connect to
        :param interface: Bluetooth adapter name to use (default configured if None)
        :param kwargs: Extra arguments to be passed to :meth:`connect`
        """
self
device
str
Device address to connect to
Device address to connect to
interface
str
Bluetooth adapter name to use (default configured if None)
Bluetooth adapter name to use ( default configured if None )
kwargs
Extra arguments to be passed to :meth:`connect`
Extra arguments to be passed to : meth : ` connect `