Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Builds direct Bluetooth Low Energy GATT workflows for iOS with Core Bluetooth, covering central and peripheral roles.
Use this skill ↓91% 91%0 ptsof test cases passed
Passed 21 of 23 test cases with the skill, and 21 of 23 without it.
3 of 3 safety checks passed
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.
| Key | Purpose |
|---|---|
NSBluetoothAlwaysUsageDescription | Required. Explains why the app uses Bluetooth |
UIBackgroundModes with bluetooth-central | Background scanning and connecting |
UIBackgroundModes with bluetooth-peripheral | Background advertising |
Core Bluetooth has no explicit permission request API. Add
NSBluetoothAlwaysUsageDescription, create the manager when the app is ready for
Bluetooth access, then check manager.authorization and manager.state.
Treat .denied and .restricted as terminal until the user changes Settings;
wait for .poweredOn before scanning, connecting, advertising, or publishing
services.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.