Build

iBeacon 101: Smarter iBeacons with Swift

1 min readJoe Hanson on Aug 11, 2015
Try PubNub Today

Free up to 1MM monthly messages. No credit card required.

Subscribe to our newsletter

By submitting this form, you are agreeing to our Terms and Conditions and Privacy Policy.

An overview of our three part series on building smarter iBeacon with bidirectional communication for iOS devices using Swift programming language.

iBeacon is an increasingly popular protocol that utilizes Bluetooth Low Energy (BLE) technology, enabling devices to broadcast a signal to dedicated listeners and perform actions based on proximity. For example, when a shopper walks into a store, their device emits a signal, and upon being received by the listener, a deal or recommendation could be sent to that shopper in real time. This opens the doors for a wide variety of use cases, from consumer applications all the way to the Internet of Things.

However, let’s make our iBeacons even more intelligent. Traditionally, we have a listener (detector) listening for a signal from an emitter. But what if we want to enable bidirectional communication between iBeacons? We want to extend it’s functionality by extending what both iBeacons can send to one another.

And we’ll show you exactly how to do this in our comprehensive iBeacon tutorials. In this series, we’ll use Swift programming language.

The end result will look something like this:

We’ll create more Beacon tutorials down the road for more programming languages and devices (in fact, we already have one for Android beacon and Tessel beacon!). We look forward to seeing what you build with your smart beacons!

More from PubNub

Can Empathy Exist in the Metaverse
News May 16, 20221 min read

Can Empathy Exist in the Metaverse

A roundtable discussion led by PubNub’s COO, Casey Clegg, exploring the topics of what it means to be human in a virtual world.

PubNub Staff

PubNub Staff

How to Advance Telehealth and Virtual Care Technologies
News May 2, 20221 min read

How to Advance Telehealth and Virtual Care Technologies

Dr. Joe Kvedar, Chair of the Board for the American Telemedicine Association, joins our COO, Casey Clegg, to discuss why...

PubNub Staff

PubNub Staff

Another Step Towards Data Security: ISO-27001 Implementation
BuildMay 2, 20221 min read

Another Step Towards Data Security: ISO-27001 Implementation

Today, we are glad to announce that we are currently in the process of implementing ISO-27001 security standards.

PubNub Staff

PubNub Staff