Skip to content

Instantly share code, notes, and snippets.

@KzoNag
KzoNag / rokid-cxr-l-ios-ble-blocker-root-cause-and-workaround.md
Created July 5, 2026 10:08
Rokid CXR-L iOS: BLE/GATT blocker (forum #3400) — root cause and working workaround

ROOT CAUSE FOUND + WORKING WORKAROUND — iOS CXR-L round trip confirmed working (getDeviceInfo returns real data)

Disclosure: this investigation was carried out with heavy help from an AI assistant (Claude), and this post itself was drafted by the AI. The AI analyzed the SDK sources and the live logs; I (a human) performed all on-device steps and verified the results on real hardware. Please treat the analysis accordingly and re-verify in your own environment.

I hit the same blocker as reported in Rokid forum thread #3400 (both Mode A and Mode B) and dug into it with logs captured on both sides simultaneously — idevicesyslog on the iPhone and adb logcat on the glasses (USB). The glasses-side log contains the answer, including the vendor's own error message. Sharing the root cause, a reliable workaround, and what Rokid needs to fix.

Environment

  • iPhone 16 Pro, iOS 26.x / Hi Rokid (Global) 1.9.1 / RGCxrClient 1.0.4 (sample-bundled, custo
@KzoNag
KzoNag / WaveDeviceLayout.cs
Created December 14, 2022 06:45
VIVE FlowのInputControlLayout定義
using UnityEngine;
using UnityEngine.InputSystem;
using UnityEngine.InputSystem.Controls;
using UnityEngine.InputSystem.Layouts;
using UnityEngine.InputSystem.XR;
using UnityEngine.Scripting;
namespace Wave.XR
{
[Preserve]
@KzoNag
KzoNag / CheckDevice.cs
Created December 14, 2022 06:42
UnityのInputSystenで接続されたデバイスの情報を確認する
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
using System.IO;
public class CheckDevice : MonoBehaviour
{
void Start()
{
@KzoNag
KzoNag / StartSceneLoader.cs
Created June 23, 2019 08:22
OculusIntegrationのSampleFrameworkでStartSceneシーンをロードするスクリプト
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using Oculus;
public class StartSceneLoader : MonoBehaviour
{
void Start()
{
@KzoNag
KzoNag / StateMachine.cs
Created January 16, 2019 07:01
Unityで使う簡単なステートマシン的な実装
using UnityEngine;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
public class StateMachine
{
public abstract class BaseState
{
@KzoNag
KzoNag / ImageTrimmer.cs
Created December 2, 2017 08:25
VuforiaでImageTargetのサイズでカメラ画像をトリミングする
using UnityEngine;
using Vuforia;
public class ImageTrimmer : MonoBehaviour
{
private ImageTargetBehaviour imageTargetBehaviour;
#if UNITY_EDITOR
private const Image.PIXEL_FORMAT PixcelFormat = Image.PIXEL_FORMAT.RGBA8888;
@KzoNag
KzoNag / HoloToolkitImporter.cs
Created December 7, 2016 09:38
Editor extention script to download and import "HoloToolkit-Unity"
/*
Copyright (c) 2016 Keizo Nagamine
Released under the MIT license
http://opensource.org/licenses/mit-license.php
*/
/*
* @Usage
* 1. Import this script into "Editor" directory.
* 2. Select "Assets/Import HoloToolkit" menu item.
@KzoNag
KzoNag / TextTranslator.cs
Created September 28, 2016 10:40
UnityからMicrosoft Translator Text APIを利用するコンポーネント
/*
Copyright (c) 2016 Keizo Nagamine
Released under the MIT license
http://opensource.org/licenses/mit-license.php
*/
using UnityEngine;
using UnityEngine.Networking;
using System.Collections;
using System.Xml.Serialization;
@KzoNag
KzoNag / KinectController_2.cs
Last active March 18, 2016 22:45
FMCN Kinectハンズオン ステップ③ Colorデータを参照しよう
using UnityEngine;
using System.Collections;
// 必要な名前空間を宣言
using UnityEngine.UI;
using Windows.Kinect;
public class KinectController : MonoBehaviour
{
// Kinect全体
@KzoNag
KzoNag / KinectController_1.cs
Last active March 18, 2016 15:45
FMCN Kinectハンズオン ステップ② BodyIndexを表示しよう
using UnityEngine;
using System.Collections;
// 必要な名前空間を宣言
using UnityEngine.UI;
using Windows.Kinect;
public class KinectController : MonoBehaviour
{
// Kinect全体