Skip to content

Proposal: Implement async instance with BLEAK #303

Description

@dala318

Would you be interested in adding optional support to instantiate an async enabled ODB object with use of a bleak.backends.device.BLEDevice ?

I have a use-case (Home Assistant) where such initialization would useful. Could copy and modify selected files from this repo but would rather import it and use out of the box. (E.g. py-nissan-leaf-obd-ble has made a local variant)

If of interest I could make an attempt for a pull-request. Some prerequisites for such change would be:

  • Fully backward compatible (no change to existing use)
  • Fault handling for Python-version < 3.8 (where bleak was added)
  • Extras option to install pip install obd[bleak] (don't add footprint and dependencies unless wanted)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions