Join Michael Lehman for an in-depth discussion in this video Setting up advertising data, part of Programming the Internet of Things with iOS.
Let's go ahead by opening the BLEPeripheral start project.…You can see that similar to the BLECentral start project,…we've already set up an app delegate, a view controller,…and a storyboard, and we've already added…the core bluetooth framework to the frameworks.…So let's go ahead and take a look at the code.…The app delegate is a straightforward app delegate…from the template that I created quite a few months ago.…So it's the standard app delegate in appdelegate.m.…Our storyboard for this app is very simple.…Just has one segmented control…and one start advertising button.…
In our viewcontroller.h, we've imported CoreBluetooth,…and we've also told it that this view controller…is a CVPeripheral manager delegate.…We've created two properties.…A property for the peripheral manager,…and a property for the transfer characteristic…because remember we're going to be implementing…a single characteristic…that can support both read and notify.…And as we did in the CBCentral application, we've set up…the servers' UUID and the characteristic UUID.…
- Exploring the IoT universe
- Understanding sensors and effectors
- Connecting inputs and outputs
- Connecting to devices via Wi-Fi or Bluetooth
- Using Apple iBeacon
- Creating your own things with programmable hardware
- Using IFTTT to program things
- Exploring trends in IoT
Skill Level Intermediate
iOS 7 App Development New Featureswith Simon Allardice2h 14m Intermediate
1. The Internet of Things (IoT)
2. Exploring Things
3. Connecting to Things
4. Using Apple iBeacon
5. Creating Things
6. Managing Your Things
7. The Future of IoT
Next steps3m 4s
- 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.