def discover(self, service_uuids, char_uuids, timeout_sec=TIMEOUT_SEC):
<EOL>if not self._discovered.wait(timeout_sec):<EOL><INDENT>raise RuntimeError('<STR_LIT>')<EOL><DEDENT>
Wait up to timeout_sec for the specified services and characteristics
        to be discovered on the device.  If the timeout is exceeded without
        discovering the services and characteristics then an exception is thrown.