Discover how to use the Core Bluetooth framework from Apple to detect BLE devices, connect to them, and read and write their data.
Overview
Syllabus
Introduction
- Welcome
- What you should know
- Exercise files
- BLE overview
- BLE communication workflow
- Core Bluetooth key classes
- SensorTag overview
- UUIDs for services and characteristics
- Bluetooth project setup
- Scan for peripherals
- Connect to peripheral
- Discover services and characteristics
- Write to a characteristic
- Reading a characteristic value
- Receiving the data via updates
- Reconnecting to peripherals
- Scan by service UUID
- Adding additional features
- Central app on Mac
- Peripheral iOS app
- Creating a characteristic
- Central read requests
- Central write requests
- Sending updates to characteristic values
- Next steps
Taught by
Bear Cahill