We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab1c20e commit 36e04efCopy full SHA for 36e04ef
1 file changed
emulator/brainflow_emulator/biolistener_emulator.py
@@ -166,8 +166,10 @@ def run(self):
166
else:
167
logging.warning(f"Unknown command: {json_str['command']}")
168
except TimeoutError:
169
+ # Expected when no command arrives before socket timeout; continue polling.
170
pass
171
except socket.timeout:
172
+ # Expected polling timeout; ignore and keep loop alive.
173
174
except Exception as err:
175
logging.error(f"Error in recv thread: {err}")
0 commit comments