async def start(self):
        """Start the device adapter.

        See :meth:`AbstractDeviceAdapter.start`.
        """

        self._loop.add_task(self._periodic_loop, name="periodic task for %s" % self._adapter.__class__.__name__,
                            parent=self._task)

        self._adapter.add_callback('on_scan', functools.partial(_on_scan, self._loop, self))
        self._adapter.add_callback('on_report', functools.partial(_on_report, self._loop, self))
        self._adapter.add_callback('on_trace', functools.partial(_on_trace, self._loop, self))
        self._adapter.add_callback('on_disconnect', functools.partial(_on_disconnect, self._loop, self))
async def start ( self ) : self . _loop . add_task ( self . _periodic_loop , name = "periodic task for %s" % self . _adapter . __class__ . __name__ , parent = self . _task ) self . _adapter . add_callback ( 'on_scan' , functools . partial ( _on_scan , self . _loop , self ) ) self . _adapter . add_callback ( 'on_report' , functools . partial ( _on_report , self . _loop , self ) ) self . _adapter . add_callback ( 'on_trace' , functools . partial ( _on_trace , self . _loop , self ) ) self . _adapter . add_callback ( 'on_disconnect' , functools . partial ( _on_disconnect , self . _loop , self ) )
Start the device adapter.

        See :meth:`AbstractDeviceAdapter.start`.