Why do the demos typically supply region data?

Ask, and ye shall receive.
mza
Posts: 3
Joined: 23:17, 20 Apr 2015

Why do the demos typically supply region data?

Postby mza » 23:22, 20 Apr 2015

I built https://github.com/divineprog/evo-demos ... va-ibeacon

and on the screen, it tells me this:

This app displays the nearest ranged beacon and monitors region enter/exit events. Before the app will work you need to add your beacons by editing the variables mRegions and mRegionData in file app.js.


I would like to automate the gathering of region data instead of manually entering it in. Has anyone worked on this?

User avatar
micke
Posts: 256
Joined: 20:49, 18 Nov 2013

Re: Why do the demos typically supply region data?

Postby micke » 09:57, 08 May 2015

Hi,

The region is the way to identify a beacon or a group of beacons. The most minimal region consists of a UUID, which will them match all beacons with the UUID.

You have to manually modify the source code of the iBeacon example app to add your beacon region UUID(s), since the UUID varies among beacon vendors.

Read more here:

http://evothings.com/quick-guide-to-wri ... avascript/
http://evothings.com/hands-on-guide-to- ... g-cordova/
http://evothings.com/how-to-develop-bea ... -estimote/

Best regards, Mikael


Return to “Questions and answers”

Who is online

Users browsing this forum: No registered users and 7 guests