def serve_forever(self, poll_interval=<NUM_LIT:0.5>):
self.serial_port.timeout = poll_interval<EOL>while not self._shutdown_request:<EOL><INDENT>try:<EOL><INDENT>self.serve_once()<EOL><DEDENT>except (CRCError, struct.error) as e:<EOL><INDENT>log.error('<STR_LIT>'.format(e))<EOL><DEDENT>except (SerialTimeoutException, ValueError):<EOL><INDENT>pass<EOL><DEDENT><DEDENT>
Wait for incomming requests.