Join Michael Lehman for an in-depth discussion in this video Connecting using Wi-Fi, part of Programming the Internet of Things with iOS.
- Now we've talked about connecting using Bluetooth,…let's talk about connecting to a thing using WiFi.…Using WiFi, you use the standard TCP/IP APIs…that are available in iOS that have…been there since iOS version two.…This gives you the highest speed connectivity,…but it also gives you the biggest battery drain.…You can use either NSURLConnection or…the more modern NSURLSession, and…you can connect to local devices or…you can connect to the internet.…As I said you're going to use standard TCP/IP protocols.…You can detect local devices on your same subnet.…
There are some devices that only work on the same subnet,…for example the Philips Hue Lighting System.…You can talk to that via your iOS device,…but only when you're next to the same WiFi…that the lighting system is connected to.…It's really high speed compared to Bluetooth,…but you pay for that in battery power on your iOS device,…and potentially battery or electrical power on the thing.…There's a great scanning tool which you…can use to find local WiFi devices called Scanny.…
- 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?
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.