Skip to content

Conversation

@bugadani
Copy link

This PR ports the following commits:

abandonware/bleno@16b9ebe
abandonware/bleno@916a291
abandonware/bleno@06f5b2d

This patch is necessary for pybleno to work correctly on the Raspberry Pi Zero 2 W.

@bugadani bugadani force-pushed the hci branch 2 times, most recently from b96c26d to 81dd643 Compare May 27, 2024 12:21

def writeOneAclDataPkt(self):
pkt = self._aclOutQueue.pop(0)
if pkt["handle"] not in self._handleAclsInProgress:
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not part of bleno, but notifications aren't unsubscribed when the central disconnects, so without this check we would end up throwing exceptions every time a (notified) characteristic value changes after disconnection. Not a proper fix, but good enough.

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.

1 participant