Chapter 3. Broadcasting Advertisements – Sending Offers

In the previous chapter, we used the companion beacon app and learned how to react when we come into the range of beacons. We built the Matey's offers app to show offers around the store. In this chapter, we're going to look at the other side and we're going to become Matey's by actually using our iOS device to broadcast offers.

Introducing the Core Bluetooth framework

Let's start with a new framework that makes broadcasting possible: Core Bluetooth. In this chapter, we'll still be using the Core Location framework but only to configure our transmitter. This chapter is all about the technology behind beacons.

The Core Bluetooth framework provides the classes needed for your iOS and Mac apps ...

Get Learning iBeacon now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.