- [Instructor] When starting development…on a Bluetooth related project,…the first thing we want to do…is create our new project in Xcode and set up a few things.…We're going to include the Core Bluetooth framework…in our project and also import that into our code…so we have access to all the classes…and functionality provided by that framework.…We're going to create a property…in our view controller class…that's of type CBCentralManager.…This helps us scan for peripherals and connect to them.…We also pass in the self, the view controller class,…as the delegate for any of the callbacks we want to process…from the Bluetooth Central Manager.…
So in Xcode, we're going to start a new project.…We'll create an iOS Single View App.…We'll name it BLE, for Bluetooth Low Energy,…and save that on the desktop.…Now that we have our project,…we want to include the Core Bluetooth framework.…So in our project settings, under the General tab,…we'll scroll to the bottom…for all the linked Frameworks and Libraries.…
We click the plus button to add Core Bluetooth,…
- 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
1. BLE Basics
2. Scanning, Connecting, and Discovering
3. Writing to a Characteristic
Adding additional features10m 43s
4. An App as a Peripheral
Next steps1m 7s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.