Skip to content

Hang when disconnecting quickly #24

@kattni

Description

@kattni

When one side of the connection disconnects abruptly, the code can hang with the following error:

Traceback (most recent call last):
  File "code.py", line 25, in <module>
  File "adafruit_ble/uart_server.py", line 142, in write
OSError: Failed to read CCCD value, err 0x3002

Requires soft reset to continue.

Mentioned to @dhalbert who suggested filing an issue here, though it is still unclear whether or not this should be handled within this library or within CircuitPython itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions