Skip to content

BLE Connect / Subscribe Blocks Main Thread #2

Description

@zghera

Current State

In BleTranceiver, we poll for connection (device, service, characteristics) and subscribe in the main thread. We could be waiting indefinitely for the correct device and block the main Unity thread.

Target State

Consider adding a thread for connection/subscribe functions.

Note: This may not be a super big deal since we can't do much if we aren't connected to the RevEx wearable anyway. I created this just in case we may need to do some setup things in Unity while we wait on the Bluetooth connection or if there is some other issue with this approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions