·core-bluetooth
</>

core-bluetooth

扫描、连接低功耗蓝牙外设并与其通信,并使用核心蓝牙发布本地外设服务。在实现 BLE 中央或外围角色、发现服务和特征、读取和写入特征值、订阅通知、配置后台 BLE 模式、应用程序重新启动后恢复状态或使用 CBCentralManager、CBPeripheral、CBPeripheralManager、CBService、CBCharacteristic、CBUUID 或蓝牙低功耗工作流程时使用。

57安装·26热度·@dpearson2699

安装

$npx skills add https://github.com/dpearson2699/swift-ios-skills --skill core-bluetooth

如何安装 core-bluetooth

通过命令行快速安装 core-bluetooth AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/dpearson2699/swift-ios-skills --skill core-bluetooth
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:dpearson2699/swift-ios-skills。

SKILL.md

查看原文

Scan for, connect to, and exchange data with Bluetooth Low Energy (BLE) devices. Covers the central role (scanning and connecting to peripherals), the peripheral role (advertising services), background modes, and state restoration.

| NSBluetoothAlwaysUsageDescription | Required. Explains why the app uses Bluetooth | | UIBackgroundModes with bluetooth-central | Background scanning and connecting | | UIBackgroundModes with bluetooth-peripheral | Background advertising |

iOS prompts for Bluetooth permission automatically when you create a CBCentralManager or CBPeripheralManager. The usage description from NSBluetoothAlwaysUsageDescription is shown in the permission dialog.

扫描、连接低功耗蓝牙外设并与其通信,并使用核心蓝牙发布本地外设服务。在实现 BLE 中央或外围角色、发现服务和特征、读取和写入特征值、订阅通知、配置后台 BLE 模式、应用程序重新启动后恢复状态或使用 CBCentralManager、CBPeripheral、CBPeripheralManager、CBService、CBCharacteristic、CBUUID 或蓝牙低功耗工作流程时使用。 来源:dpearson2699/swift-ios-skills。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/dpearson2699/swift-ios-skills --skill core-bluetooth
分类
</>开发工具
认证
收录时间
2026-03-09
更新时间
2026-03-11

Browse more skills from dpearson2699/swift-ios-skills

快速解答

什么是 core-bluetooth?

扫描、连接低功耗蓝牙外设并与其通信,并使用核心蓝牙发布本地外设服务。在实现 BLE 中央或外围角色、发现服务和特征、读取和写入特征值、订阅通知、配置后台 BLE 模式、应用程序重新启动后恢复状态或使用 CBCentralManager、CBPeripheral、CBPeripheralManager、CBService、CBCharacteristic、CBUUID 或蓝牙低功耗工作流程时使用。 来源:dpearson2699/swift-ios-skills。

如何安装 core-bluetooth?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dpearson2699/swift-ios-skills --skill core-bluetooth 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/dpearson2699/swift-ios-skills