- Bluetooth Low Energy (BLE) basics
- Core Bluetooth key classes
- Scanning for peripherals
- Discovering services and characteristics
- Writing to a characteristic
- Reconnecting to peripherals
- Apps as peripherals
Skill Level Intermediate
- [Bear] Hi, I'm Bear Cahill, and if you're like me, the idea of developing an app to communicate with a Bluetooth device can be pretty intimidating at first. And with Bluetooth Classic, I'd say there was good reason. Not so with Bluetooth Low Energy. With Core Bluetooth provided by Apple in the IOS SDK, it doesn't have to be too mysterious or difficult. Core Bluetooth takes the process of finding Bluetooth Low Energy devices and connecting to them very straightforward. From there, you'll need to know some specifics about the device, but it should all be provided in the documentation for the device you're using.
In this course, we'll cover how to connect to the devices and drill down into reading and writing their data. We'll also build an app that detects button presses on the sensor tag and sends back data to turn on and off the lights and buzzer. We'll also look at how to turn the tables a bit and make an app that is the Bluetooth LE device the peripheral. We'll have a separate process that connects to it and read and write the data. There's a lot to do, but once you see the steps to the process, I'm sure you'll be connecting to Bluetooth LE devices in no time.
So let's get started.