def connect(self, timeout_sec=TIMEOUT_SEC):
self._central_manager.connectPeripheral_options_(self._peripheral, None)<EOL>if not self._connected.wait(timeout_sec):<EOL><INDENT>raise RuntimeError('<STR_LIT>')<EOL><DEDENT>
Connect to the device.  If not connected within the specified timeout
        then an exception is thrown.