Help us improve
Share bugs, ideas, or general feedback.
From mwdat-android
Diagnoses common setup, session, and stream issues in DAT SDK integrations for Android wearables. Covers Developer Mode, version compatibility, and logging.
npx claudepluginhub facebook/meta-wearables-dat-android --plugin mwdat-androidHow this skill is triggered — by the user, by Claude, or both
Slash command
/mwdat-android:debuggingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Diagnose common setup, session, and stream issues in DAT SDK integrations.
Diagnoses iOS DAT SDK integration issues: Developer Mode, stream states, version compatibility, and registration failures for Meta smart glasses.
Provides Kotlin conventions, DatResult error handling, session lifecycle, and capability patterns for DAT SDK Android development.
Debugs Meta Quest VR/MR applications using the hzdb CLI — view logs, capture screenshots, diagnose crashes, and resolve device issues.
Share bugs, ideas, or general feedback.
Diagnose common setup, session, and stream issues in DAT SDK integrations.
No eligible device or session won't start?
|
+-- Did you call Wearables.initialize(context)? -> Must happen before SDK usage
|
+-- Did registration complete? -> Observe Wearables.registrationState
|
+-- Is Developer Mode enabled? -> Enable it in the Meta AI app for dev builds
|
+-- Does Wearables.devices contain a linked device? -> Check Bluetooth and range
|
+-- Did createSession() or addStream() return a DatResult failure? -> Surface the typed error
Developer Mode must be enabled for local development builds that use APPLICATION_ID = 0.
Wearables.createSession(...) fails with no eligible deviceAPPLICATION_ID and release-channel gating insteadSTARTEDWearables.registrationStateWearables.devices contains a compatible linked deviceSTREAMINGsession.start() succeeded before calling session.addStream(...)Wearables.checkPermissionStatus(...)stream.start() returned successcapturePhoto() only succeeds while the stream is actively streamingCaptureError instead of discarding the DatResultEnsure compatible versions of the SDK, Meta AI app, and glasses firmware. See version dependencies for the current compatibility matrix.
private const val TAG = "DATWearables"
stream.start()
.onFailure { error, _ -> Log.e(TAG, "Failed to start stream: ${error.description}") }
Prefer logging typed DatResult failures and observed state transitions over generic exceptions.
Wearables.initialize(context) ran before SDK usageAPPLICATION_ID matches the build modeDatResult failures are surfaced in logs or UI