Skip to content

Add WebBluetooth support #104

Description

@Pips801

WebBluetooth would be really cool.

Process on device:

  1. Open settings
  2. Click pair companion app button (scanning will pause)
  3. Device will temporarily broadcast identifiable information that the companion app can pick up (web version to start)
  4. App will initiate pair, show code on both devices (if possible) and you will be prompted on Helgatchi to connect or cancel.

Problems:

an active BLE connection will inhibit scanning. We must investigate to see if we can have really long TTLs (or whatever it would be for bluetooth) where the device can connect, send status data/accept commands, etc. When a scan is scheduled, the companion app is made aware of it, the helgatchi disconnects, runs its scan window, reconnects, and publishes data to the app. The app will effectively lock you out of controls while the scan is running.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureA feature that needs to be added.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions