Skip to content

Bad BLE Packets Cause Crash #23

@lbussy

Description

@lbussy

I have forked the Aioblescan library and I noticed that on occasion, a "bad packet" will happen, decode() will fail, and any client which has instantiated the class will raise an exception. This may or may not be related to the baud rate issues.

I added a small try:/except: to my fork and just wanted to share it with you here in case you choose to incorporate it here. If you like I can do a PR.

There's no issues board on the Aioblescan repo so dropping it here.

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