Skip to content

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

Closed
DosMaster wants to merge 1 commit intokipe:masterfrom
DosMaster:baseid-fix
Closed

Fix for getting base id, when callback is defined#118
DosMaster wants to merge 1 commit intokipe:masterfrom
DosMaster:baseid-fix

Conversation

@DosMaster
Copy link
Copy Markdown

Fixes issue #107

@bemble
Copy link
Copy Markdown

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

@DosMaster DosMaster closed this Mar 28, 2026
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.

2 participants