Mobile Line Of Business

Richard Jones (MVP)

  Home  |   Contact  |   Syndication    |   Login
  202 Posts | 0 Stories | 36 Comments | 0 Trackbacks

News

Welcome to the Mobile Line Of Business Blog

Tag Cloud


Archives

Post Categories

Image Galleries

About

Like a faithful dog,  greeting you when you get home.   I’d like my house to greet me every time I walkthrough the front door( I do have faithful dogs too, but that’s another story).

 

Well my house does this now…

I’ve added a Bluetooth low energy USB adapter to my Raspberry PI.     I went for -

A Bluetooth LE dongle

 

I followed the Radius networks instructions to turn the Pi, into an iBeacon.

http://developer.radiusnetworks.com/2013/10/09/how-to-make-an-ibeacon-out-of-a-raspberry-pi.html

I struggled a little with the instructions for scripting the start-up of the iBeacon.

I found this command line invaluable to debug what is going on.   Open a second terminal window on your pi and run -

sudo hcidump

This is a bluetooth monitoring tool, it helped get things up and running.  

My start-up script had to include the long hand instruction to broadcast a signal from the Beacon.    Which is (a scary looking line of codes) -

sudo hcitool -i hci0 cmd 0x08 0x0008 1e 02 01 1a 1a ff 4c 00 02 15 e2 c5 6d b5 df fb 48 d2 b0 60 d0 f5 a7 10 96 e0 00 00 00 00 c5 00 00 00 00 00 00 00 00 00 00 00 00 00

This seemed to be the only way to get things to work correctly.

So once done,   I then used the Radius’s iBeacon locate software on my iPhone.   Link here -

Download for iOS

Download for Android

 

Behold!,   my iBeacon is broadcasting,  and as I approach my home (literally this is cool,  I like drive up to my house),   I get a popup message indicating that I am in range/arriving home.

 

Next to write an app.  or your Passbook, to-do something with this new found power….

posted on Saturday, November 30, 2013 12:15 PM