# Code Samples

Demo samples are organized by capability scenario.

## Device Connectivity

- [Classic Bluetooth scan and connection](../代码示例/10-device-connection/01-经典蓝牙扫描与连接.md)
- [Bluetooth and P2P unified pairing](../代码示例/10-device-connection/02-蓝牙与-P2P-一体化配对.md)
- [Wi-Fi P2P connection](../代码示例/10-device-connection/03-Wi-Fi-P2P-连接.md)
- [Device state sync and remote control](../代码示例/10-device-connection/04-设备状态同步与远程控制.md)
- [Smart ring pairing](../代码示例/10-device-connection/05-指环连接.md)

## Messaging and File Transfer

- [Phone sends messages and files](../代码示例/20-message-transfer/01-手机端发送消息与文件.md)
- [Glasses send messages and files](../代码示例/20-message-transfer/02-眼镜端发送消息与文件.md)
- [Phone receives messages and files](../代码示例/20-message-transfer/03-手机端接收消息与文件.md)
- [Glasses receive messages and files](../代码示例/20-message-transfer/04-眼镜端接收消息与文件.md)
- [Notification sync](../代码示例/20-message-transfer/05-通知同步.md)

## Photo, Video, and Live Preview

- [Glasses SDK photo, video, audio, and AI](../代码示例/30-media/01-眼镜端-SDK-拍照录像录音与-AI.md)
- [Glasses app photo and video](../代码示例/30-media/02-眼镜端应用拍照录像.md)
- [Phone album preview](../代码示例/30-media/03-手机端相册预览.md)
- [Live video preview](../代码示例/20-message-transfer/06-实时视频预览.md)

## Voice and AI

- [Phone SDK setup for ASR/TTS](../代码示例/35-voice-ai/01-手机端-SDK-初始化（ASR-TTS）.md)
- [Glasses TTS and ASR](../代码示例/35-voice-ai/02-眼镜端-TTS-与-ASR.md)
- [Glasses AI Chat](../代码示例/35-voice-ai/03-眼镜端-AI-Chat.md)

## Vision

- [Face detection](../代码示例/40-vision/01-人脸检测.md)
- [License plate recognition](../代码示例/40-vision/02-车牌识别.md)

## System and Settings

- [OTA update](../代码示例/50-system/01-OTA-升级.md)
- [Glasses settings sync](../代码示例/50-system/02-眼镜设置同步.md)
