core-bluetooth

Guide BLE central and peripheral workflows with Core Bluetooth in iOS.

Updated Jul 12, 2026
One-click install
npx skills add https://github.com/yashpalsince2004/National_academy_app --skill core-bluetooth-yashpalsince2004
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: core-bluetooth
Source: https://github.com/yashpalsince2004/National_academy_app/tree/main/Mobile/.agents/skills/core-bluetooth
Command: npx skills add https://github.com/yashpalsince2004/National_academy_app --skill core-bluetooth-yashpalsince2004

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires CoreBluetooth, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill addresses the complexities of Bluetooth Low Energy (BLE) workflows on iOS, providing a comprehensive guide for implementing BLE central and peripheral roles, scanning, connecting, and managing BLE devices.

Core Features & Use Cases

  • BLE Central and Peripheral Management: Detailed instructions for scanning, connecting, and communicating with BLE devices as a central or peripheral.
  • Scanning and Connecting: Guidance on efficient scanning for peripherals, handling connection states, and managing reconnections.
  • Service and Characteristic Discovery: Steps to discover and interact with BLE services and characteristics, including reading, writing, and subscribing to notifications.
  • Advertising and Data Exchange: Instructions for advertising local services and handling data exchange with peripherals.
  • Background Modes and State Restoration: Best practices for implementing background BLE modes and state restoration for seamless user experience.

Quick Start

To get started, activate the skill by saying "Start Core Bluetooth setup."

Frequently Asked Questions about core-bluetooth

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan and connect to BLE devices using Core Bluetooth in iOS?

Core Bluetooth scanning and connection in iOS involves using CBCentralManager to discover nearby peripherals and establishing connections to manage device communication. This Skill provides detailed instructions for efficient scanning, handling connection states, and managing peripheral reconnections.

What is the best way to handle BLE background modes and state restoration in iOS?

BLE background modes and state restoration in iOS require specific background execution configurations to maintain connectivity while the app is suspended. This Skill covers best practices for implementing background BLE modes and state restoration to ensure a seamless user experience.

Does Core Bluetooth support both central and peripheral roles for Swift 6.3?

Core Bluetooth supports both central and peripheral roles in Swift 6.3, allowing an iOS device to simultaneously scan for and connect to external devices while advertising its own local services. This Skill details workflows for both BLE central and peripheral communication.

How do I discover BLE services and characteristics in an iOS app?

Discovering BLE services and characteristics in an iOS app involves querying connected peripherals to find available services and subscribing to value notifications. This Skill outlines the steps to discover and interact with services, including reading, writing, and subscribing to characteristic updates.

Why does my iOS BLE peripheral fail to advertise local services?

iOS BLE peripheral advertising failures often stem from incorrect CBPeripheralManager configuration or incomplete local service definitions. This Skill provides instructions for properly advertising local services and handling data exchange with connected centrals.

Can I use Core Bluetooth for iOS 26 BLE workflow development?

Core Bluetooth is fully compatible with iOS 26 BLE workflow development, supporting Swift 6.3 and advanced state restoration features. This Skill specifically targets building BLE workflows using the Core Bluetooth framework for iOS 26 and later versions.