Skip to content

ReadCharacteristic doesn't work on iOS #886

@sjp4

Description

@sjp4

isAssociatedWith is always returning false because this line winds up using a referential equality check on CBCharacteristic, which fails (I don't know enough about iOS BT to know if we should expect different instances for the same characteristic or not..). If I comment out these lines it falls back to this check which works (I start getting the read result back and everything is working as expected). Is that a safe fix?

I guess this would also break observer which uses isAssociatedwith?

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