Skip to Content
Beginning iOS 5 Application Development
book

Beginning iOS 5 Application Development

by Wei-Meng Lee
January 2012
Beginner content levelBeginner
655 pages
16h 35m
English
Wrox
Content preview from Beginning iOS 5 Application Development

17

Bluetooth Programming

WHAT YOU WILL LEARN IN THIS CHAPTER

  • Using the various APIs within the Game Kit framework for Bluetooth communications
  • How to look for peer Bluetooth devices using the GKPeerPickerController class
  • Sending and receiving data from a connected device
  • How to implement Bluetooth voice chat

The iPhone and iPad include built-in Bluetooth functionality, enabling them to communicate with other Bluetooth devices, such as Bluetooth headsets, iPhone, iPod touch, and iPad. This chapter shows you how to write iPhone and iPad applications that use Bluetooth to communicate with another device, performing tasks such as sending and receiving text messages, as well as voice chatting. Daunting as it may sound, Bluetooth programming is actually quite simple using the iOS SDK. All the Bluetooth functionalities are encapsulated within the Game Kit framework.

image NOTE To test the concepts covered in this chapter, you need at least one device: iPad, iPhone (4S, 4, 3G or 3GS), or iPod touch (second generation or later) running iPhone OS 3.0 or later.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering iOS 12 Programming - Third Edition

Mastering iOS 12 Programming - Third Edition

Donny Wals
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 9781118144251Purchase book