Skip to content

Corebluetooth peripheral cant be used after reconnect #413

Open
@saty9

Description

@saty9

Describe the bug
When I have a peripheral that disconnects and I later call connect on it successfully the stream returned by notifications() never produces an event.

Expected behavior
I can re-use a peripheral after it has reconnected

Actual behavior
The peripheral stops producing notifications after the first diconnect

Additional context
The log message Event receiver died, breaking out of corebluetooth device loop appears which seems to show the event handler for my peripheral dying. I am currently working around this be rescanning and getting a fresh version of the peripheral from Central.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions