Skip to content

Support CXR-L mode for phone connection alongside Hi Rokid #3

Description

@plizer123

Hi, first of all — amazing project, thank you for the work!

Problem

JSOS Core and Hi Rokid both use CXR-M (direct Bluetooth connection) to connect to Rokid Glasses. When JSOS Core connects, Hi Rokid loses its connection — and vice versa. The Rokid CXR-M SDK only allows one active connection at a time.

This makes it impossible to use both apps simultaneously, even though the README says "Pair the Rokid glasses in Hi Rokid and JSOS Core."

Steps to reproduce:

  1. Connect Rokid Glasses to Hi Rokid (Bluetooth pairing)
  2. Open JSOS Core → HUD Link → scan for glasses
  3. Put glasses into pairing mode (required for JSOS to find them)
  4. Hi Rokid immediately loses connection
  5. JSOS Core connects successfully
  6. Hi Rokid cannot reconnect — JSOS holds the Bluetooth lock

Proposed solution

Rokid's CXR-L SDK is designed to work through Hi Rokid via AIDL (binding to com.rokid.sprite.aiapp). Multiple apps can share Hi Rokid's Bluetooth connection this way without conflict.

JSOS Core already has a CXR-L deployment flow for installing the HUD APK via Hi Rokid. Could the main phone-to-glasses connection also use CXR-L instead of CXR-M? This would allow JSOS and Hi Rokid to coexist on the same phone.

Environment

  • Rokid Glasses (latest firmware)
  • Hi Rokid 1.10.0+
  • JSOS Core v2.0.38
  • Android 14

Related

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