Direct Core Bluetooth GATT workflows for BLE central and peripheral roles, with authorization and state handling.

CCM score
75 of 100
skills.sh installs
4K
GitHub stars
1.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers scanning, connecting, service and characteristic discovery, reads, writes, and notifications through CBCentralManager and CBPeripheral
  • Includes Swift examples for heart rate parsing, write-type selection, and write flow control via canSendWriteWithoutResponse and peripheralIsReady
  • Enforces waiting for .poweredOn before scanning and treats .denied and .restricted as terminal until Settings changes
  • Designed for apps needing post-setup GATT communication, with privacy-preserving accessory pairing delegated to accessorysetupkit

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill core-bluetooth -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Core Bluetooth

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. Use accessorysetupkit for privacy-preserving accessory discovery and setup; use this skill for direct Core Bluetooth GATT communication.

Contents

Setup

Info.plist Keys

Details

Repository
github.com/dpearson2699/swift-ios-skills
Category
Mobile Apps
First seen
Apr 16, 2026

More from dpearson2699/swift-ios-skills

All 94

Similar to Core Bluetooth

More Mobile Apps