def do_command(self, command):
        try:
            yield bluelet.call(command.run(self))
        except BPDError as e:
            # Send the error.
            yield self.send(e.response())
        else:
            # Send success code.
            yield self.send(RESP_OK)
A coroutine that runs the given command and sends an
dataset/ETHPy150Open beetbox/beets/beetsplug/bpd/__init__.py/Connection.do_command