Skip to content
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

Fix for getting base id, when callback is defined #118

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

Conversation

DosMaster
Copy link

Fixes issue #107

@bemble
Copy link

bemble commented Jun 6, 2021

Also waiting for this PR to be accepted :)
For now, I did this:

tmp_communicator = SerialCommunicator(port=serial_path)
tmp_communicator.start()
base_id = tmp_communicator.base_id
if tmp_communicator.is_alive():
    tmp_communicator.stop()
communicator = SerialCommunicator(port=serial_path, callback=receive_callback)
communicator.base_id = base_id

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

2 participants