You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In situations where your device is sending data in multiple modalities (to Central for recording) but your pycbsdk is only interested in some of that data, currently we get lots of warnings about unhandled packets.
A current solution is to register a do-nothing callback for that packet type.
However, it would be nice if the PacketHandlerThread simply had an option to not warn about unhandled packets.
In situations where your device is sending data in multiple modalities (to Central for recording) but your pycbsdk is only interested in some of that data, currently we get lots of warnings about unhandled packets.
A current solution is to register a do-nothing callback for that packet type.
However, it would be nice if the PacketHandlerThread simply had an option to not warn about unhandled packets.
e.g., in the following:
pycbsdk/src/pycbsdk/cbhw/handler.py
Line 113 in 875febd
We could simply make that
elif b_debug_unknown and self._b_warn_unhandled:
where
_b_warn_unhandled
is set during thread initialization. This is set on device connection and cannot be modified while running.The text was updated successfully, but these errors were encountered: