Join Michael Lehman for an in-depth discussion in this video Detecting notification updates, part of Programming the Internet of Things with iOS.
- Alright, before we implement the code…in our BLEScanner to detect the notifications…in our BLE peripheral app, it would be…a good idea to take a look at what…the BLE peripheral app looks like on the outside.…So here you can see that we not only…have a Start Advertising button, which is what…you have to tap in the BLE peripheral to get it…to start saying, "Hey, I'm here."…It also has this segmented control that allows…you to choose whether you're sending 0101 or 0202.…And that changes the value and sends a notification.…So let's go back to our BLE scanner and connect…up to this particular peripheral,…and watch for the notifications.…
And then when we're done with that we'll…go actually implement that peripheral app.…So we'll come back to the BLEScanner,…and go ahead and implement our last method over here.…Well, first of all we'll implement that call…that I said that we were going to do here…inside to DiscoverCharacteristic.…So now we're going to say, "We've got the…"characteristics, now we're going to compare…
- 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
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.