Web Bluetooth explained

How Web Bluetooth turns a browser into a smart-cube timer

Web Bluetooth gives a secure website controlled access to nearby Bluetooth Low Energy services after the user chooses a device. SupaKewber uses that access for GAN move data and cube-state updates.

BROWSER DEVICE ACCESSWEB
HTTPSSecure context
CLICKUser permission
GATTCube services

Direct answer

How does Web Bluetooth work for speedcubing?

SupaKewber calls the browser’s device chooser after you press Connect Cube, requests known GAN Bluetooth services and starts notifications from the cube. Each decoded turn updates the virtual state, allowing automatic start, solved-state stop, CFOP milestones and live race progress.

Step by step

Follow this sequence

  1. 01

    Open a secure page

    Use SupaKewber over HTTPS; Web Bluetooth is not exposed to ordinary insecure websites.

  2. 02

    Initiate from a user action

    Press Connect Cube so the browser is allowed to show its permission chooser.

  3. 03

    Select one nearby device

    The browser, not the website, presents the device list and records your choice.

  4. 04

    Discover GAN services

    SupaKewber opens the GATT server and selects the matching GAN protocol generation.

  5. 05

    Subscribe to live state

    Move notifications or polling updates feed the timer, virtual cube and analysis system.

Complete guide

Understand it, use it and measure it

01

Web Bluetooth is not ordinary website tracking

A page cannot silently scan every nearby device. The API requires a secure context, a user gesture and explicit device selection. Permission applies to the chosen site and device rather than granting the entire web open access.

The browser can also block the feature through site settings, operating-system policy or enterprise management. A present Bluetooth radio does not guarantee that navigator.bluetooth is available to the page.

02

Why smart cubes use Bluetooth Low Energy services

GAN cubes expose proprietary service and characteristic identifiers over the Generic Attribute Profile. Commands, state packets and move notifications differ by protocol generation and may be encrypted.

SupaKewber maps those packets into standard cube moves. Once decoded, the rest of the timing and CFOP analysis logic can operate independently of the underlying transport generation.

03

From move event to training data

A turn event changes the internal 3×3 state and the on-screen player. After the scramble is confirmed, the first new move starts the solve. State checks recognize Cross, first two layers and last-layer orientation.

The final solved state stops timing. Cumulative milestone times are converted into individual stage splits for the result and session averages.

04

Know the limits of browser hardware access

Web Bluetooth support is not uniform across browsers and operating systems. Safari and standard Firefox do not expose the API, and iPhone or iPad Chromium-branded browsers still use Apple’s underlying browser engine.

Connection quality also depends on the host Bluetooth stack and cube firmware. Web Bluetooth is the bridge, not a guarantee that every proprietary cube protocol or hardware revision is supported.

Quick answers

Frequently asked questions

Can a website scan Bluetooth devices without asking?

No. The chooser must follow a user gesture and the user selects the device.

Why does Web Bluetooth require HTTPS?

Hardware access is restricted to secure contexts to reduce abuse.

What is GATT?

It is the Bluetooth Low Energy service and characteristic model used to exchange cube commands and state.

Does Web Bluetooth support every smart cube?

No. The website must implement each proprietary protocol and service family.

Practice with feedback

Turn the next solve into useful data.

SupaKewber connects timing, smart-cube telemetry, training and online competition in one browser workflow.

Try Web Bluetooth timing