O'Reilly logo

Program the Internet of Things with Swift for iOS by Manny de la Torriente, Gheorghe Chesler, Ahmed Bakir

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter    9

Connecting to a Bluetooth LE Device

Manny de la Torriente

Thanks to its open standards, Bluetooth Low-Energy (LE), also known as BLE,has established itself as a leader for hardware manufacturers looking to create connected accessories for iOS. This chapter introduces Core Bluetooth, Apple’s framework for Bluetooth-based communication, to send and receive messages from a Bluetooth LE device. Additionally, we will discuss Bluetooth best practices for battery life and a positive user experience.

Introduction to the Apple Bluetooth stack

Apple’s Core Bluetooth is the representation of Bluetooth LE on iOS platforms. It’s the framework that you will use to talk to accessories and host peripherals.

The framework is an abstraction of the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required