Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
IoT Projects with Bluetooth Low Energy

You're reading from   IoT Projects with Bluetooth Low Energy Harness the power of connected things

Arrow left icon
Product type Paperback
Published in Aug 2017
Publisher Packt
ISBN-13 9781788399449
Length 278 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Madhur Bhargava Madhur Bhargava
Author Profile Icon Madhur Bhargava
Madhur Bhargava
Arrow right icon
View More author details
Toc

Writing an App to Detect the Beacon

Our Beacon is already up and advertising. We will now write an app to detect the Beacon and the contents of the advertisement. Although Eddystone has excellent documentation provided by Google for both Android and iOS. Eddystone is originally developed by Google and in general sense has a more elaborative setup on Android. Hence, we shall start with Android first and then move on to iOS. For iOS, we shall give you a head start on the code and then expect that you do the rest as an exercise to gain a solid footing.

Prerequisites for this section:

  • A Raspberry Pi 3(setup as described in the previous section)

Android:

  • Latest Android Studio
  • A Latest Android Device(Preferable Samsung Galaxy S8, since it has support for Bluetooth 5 otherwise Any Device with an API Level of 23(Android M) is fine)
  • Basic familiarity with Java and Android

iOS:

  • XCode...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime