Skip to content

exposed low level serialException on usb disconnect #310

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

n1lby73
Copy link

@n1lby73 n1lby73 commented Apr 24, 2025

While utilizing the library for my application, i noticed there was no way to catch the serial exception once the connected xbee radio is disconnected while my python application is still running. After careful inspection to find out the underlying cause, i noticed that the serial exception was caught from the xbee library but was not exposed for user level.

with this modification the serial exception error has been exposed with the use of a callback function called add_error_callback(callback) through XBeeDevice from digi.xbee.devices

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant