Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
ibeacon
ibeacon.conf

README.md

piBeacon

iBeacon using a Raspberry Pi - from a blog post by James Nebeker and David G. Young.

Prerequisites

You'll need to download and install BlueZ version 5.7 or later and install it.

  1. Install prerequisite packages

     $ sudo apt-get install libusb-dev libdbus-1-dev libglib2.0-dev libudev-dev libical-dev libreadline-dev
    
  2. Download and install the latest BlueZ

     $ sudo wget www.kernel.org/pub/linux/bluetooth/bluez-5.8.tar.xz
     $ sudo unxz bluez-5.x.tar.xz
     $ sudo tar xvf bluez-5.x.tar
     $ cd bluez-5.x
    
  3. Configure and make BlueZ

     $ sudo ./configure --disable-systemd
     $ sudo make
     $ sudo make install
    

Installation

	$ sudo cp ibeacon.conf /etc
	$ sudo cp ibeacon /etc/init.d
	$ sudo update-rc.d ibeacon defaults

Startup

	$ sudo service ibeacon start

Shutdown

	$ sudo service ibeacon shutdown