1
0
Fork
You've already forked piBeacon
0
  • Shell 100%
Find a file
2025年09月14日 17:50:42 +02:00
ibeacon Setting the device to "advertise and not-connectable" (3 instead of 0) instead of "advertise and connectable" 2014年01月06日 18:57:48 -08:00
ibeacon.conf Added README and ibeacon files 2013年11月14日 14:59:36 -06:00
LICENSE Initial commit 2013年11月14日 12:46:59 -08:00
README.md Use archived link because real link target got removed 2025年09月14日 17:50:42 +02:00

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