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:
- Connect Rokid Glasses to Hi Rokid (Bluetooth pairing)
- Open JSOS Core → HUD Link → scan for glasses
- Put glasses into pairing mode (required for JSOS to find them)
- Hi Rokid immediately loses connection
- JSOS Core connects successfully
- 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
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:
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
Related