Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
facebook avatar

Debugging

  • 5 installs
  • 500 repo stars
  • Updated August 3, 2026
  • facebook/meta-wearables-dat-ios

Diagnoses common DAT SDK iOS setup, registration, and streaming issues covering Developer Mode, registration state, and device connectivity.

About

Provides a diagnostic flow for common DAT SDK iOS problems such as a device not connecting. iOS developers use it to check Developer Mode, registration state, Bluetooth range, and the streaming state machine.

  • Decision-tree diagnosis for connection issues
  • Covers Developer Mode, registration, and state machine

Debugging by the numbers

  • 5 all-time installs (skills.sh)
  • Ranked #828 of 1,039 Mobile Development skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/facebook/meta-wearables-dat-ios --skill debugging

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs5
repo stars500
Last updatedAugust 3, 2026
Repositoryfacebook/meta-wearables-dat-ios

What it does

Diagnoses common DAT SDK iOS setup, registration, and streaming issues covering Developer Mode, registration state, and device connectivity.

Files

SKILL.mdMarkdownGitHub ↗

Debugging (iOS)

Diagnose common setup, registration, and streaming issues in DAT SDK integrations.

Quick diagnosis

Device not connecting?
│
├── Is Developer Mode enabled? → Enable in Meta AI app settings
│
├── Is device registered? → Check registration state
│
├── Is device in range? → Bluetooth on, glasses powered on
│
├── Is the app registered? → Check registrationStateStream()
│
└── Stream stuck in waitingForDevice? → Check device availability

Developer Mode

Developer Mode must be enabled for 3P apps to access device features.

Enabling Developer Mode

1. Open Meta AI app on phone 2. Go to Settings → (Your connected glasses) 3. Find "Developer Mode" toggle 4. Toggle ON 5. Device may restart

Symptoms of Developer Mode disabled

  • Registration completes but device never connects
  • Stream stuck in waitingForDevice
  • Permission requests fail or never appear

Watch for

  • Developer Mode toggles off after firmware updates — re-enable it
  • Developer Mode is per-device — enable for each glasses pair
  • Some features need additional permissions beyond Developer Mode

Stream state issues

Expected flow

stopped → waitingForDevice → starting → streaming → stopped

Stuck in waitingForDevice

  • Device not in range or not connected
  • Device not reporting availability
  • DeviceSelector not matching any device

Unexpected stop

  • Device disconnected (out of range, battery died)
  • Channel closed by device
  • Error in frame processing

Version compatibility

Ensure compatible versions of SDK, Meta AI app, and glasses firmware. See version dependencies for the current compatibility matrix.

Known issues

IssueWorkaround
No internet → registration failsInternet required for registration
Streams started with glasses doffed pause when donnedUnpause by tapping side of glasses
[iOS] Meta Ray-Ban Display: no audio feedback on pause/resumeWill be fixed in future release

Adding debug logging

import os

private let logger = Logger(subsystem: "com.yourapp", category: "Wearables")

// In your streaming code:
logger.debug("Stream state changed to: \(state)")
logger.error("Stream error: \(error)")

Checklist

  • [ ] Developer Mode enabled in Meta AI app
  • [ ] Meta AI app updated to compatible version
  • [ ] Glasses firmware updated to compatible version
  • [ ] Internet connection available for registration
  • [ ] Bluetooth enabled on phone
  • [ ] Correct URL scheme configured in Info.plist
  • [ ] Background modes enabled (bluetooth-peripheral, external-accessory)

Links

Related skills

Mobile Developmentintegrationstesting

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.