- [Instructor] Now that we have our new central running…on our Mac, we can turn our attention…to running the new peripheral that'll run…on our iOS device.…A lot of the concepts from writing a central…will translate fairly well into writing a peripheral.…Whereas the central had the CBCentralManager,…we'll now be using the CBPeripheralManager.…We'll add a service to that with UUID…and be able to advertise.…Then, the central can pick up on that…and connect to us.…You can look at the Best Practices…for Setting Up Your Local Device as a Peripheral…in the Apple documentation for any data limitations…for advertising.…
Now, we have the Mac app that can act as our central.…We need to create a new iOS app that can act…as our peripheral.…I'll create another new project.…This is an iOS project and I'll make it a Single View App.…I'll name this BLEiOSPeripheral…and store that.…Similarly, I have to add Core Bluetooth to this project.…Again, under the Generals tab at the bottom,…the Linked Frameworks and Libraries,…I'll filter for 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.