iBeacon Basics and Implementation

About This Presentation
Title:

iBeacon Basics and Implementation

Description:

iBeacon is a low energy Bluetooth device, introduced by Apple with iOS 7. iBeacon is like GPS navigation for indoor locations. – PowerPoint PPT presentation

Number of Views:19

less

Transcript and Presenter's Notes

Title: iBeacon Basics and Implementation


1
iBeacon Basics and Implementation
2
Intro
  • iBeacon is a low energy Bluetooth device,
    introduced by Apple with iOS 7. iBeacon is like
    GPS navigation for indoor locations. It is a
    wireless sensor device that you can use for
    location-aware or context-aware into your store.
    It can also use to send notification of offers or
    promotions on a mobile device (Ex. You could be
    walking past a store and receive a discount
    coupon on your mobile).
  • Apple introduced iBeacon, a low energy Bluetooth
    device. iBeacon acts as a transmitter with
    low-powered devices, which notifies nearby iOS 7
    devices of its existence. It is like GPS
    navigation for indoor locations and wireless
    sensor devices that can use as location and
    context aware into the store or shopping malls.
  • iBeacon can also be used for promotional
    activities with its Push Notification and send
    promotional adverts to nearby iOS devices.
    Currently iBeacon is used in 245 numbers of
    retail stores restaurants and which helps to
    derive more footfalls to their stores.

3
  • Another giant venture PayPal recently announced
    Beacon, which will allow people to make payment
    on purchase via PayPal. iBeacon is more
    affordable, and its incredible battery efficient
    with price range from 5 to 33.
  • As of now iBeacons are not available in many
    countries including India. But we as a team
    curious to experiment test this new technology
    and to implement with our BOYD food ordering
    application for broadcasting and receiving
    purpose.
  • To do the same we have converted iOS devices to
    iBeacon and tested with our application and yes
    we have an achievement. I know you are curious to
    know how we did this. Below is detailed
    explanation and code which can help you to create
    your iBeacon.

4
  • First you need to create a dummy UUID for making
    communication between broadcaster and receiver.
    You can get it from terminal, just run uuidgen to
    generate a UUID.
  • Lets get started with Beacon broadcaster. Create
    one single view application into Xcode name it
    Beacon Broadcaster.
  • Add CoreBluetooth and CoreLocation frameworks
    into project.

5
  • Now into ViewController.h file, import
    CoreBluetooth and CoreLocation frameworks,
    declare CLBeaconRegion and CBPeripheralManager
    objects, add one UILabel outlet to display
    status, and one NSDictionary to get beacon data.
    Your ViewController.h file will be look like
    this

6
(No Transcript)
7
  • Implement delegate method of CBPeripheralManager

8
(No Transcript)
9
  • Add one button action for starting broadcasting

10
Open storyboard, drag one UIButton and one
UILabel, and set label outlet and button action
to respective control. Your Beacon broadcaster is
ready now.
11
  • Lets start implementation of Beacon receiver.
    Create new single view application into Xcode
    name it Beacon Receiver. Add CoreLocation
    framework into project.
  • Into ViewController.h file, import
    CoreLocation framework, add one UILbel outlet
    to display status, add CLBeaconRegion and
    CLLocationManager objects

12
  • Into ViewController.m file, initialize
    CLLocationManager, NSUUID and CLBeaconRegion
    objects into ViewDidLoad method

13
(No Transcript)
14
Implement CLLocationManager delegates to
receive Beacons data
15
(No Transcript)
16
  • Original Source
  • http//www.azilen.com/blog/ibeacon-basics-implemen
    tation/

17
Thanks You www.azilen.com Let us know if you
have any Question! info_at_azilen.com
1-972-325-2243
Write a Comment
User Comments (0)