iBeaconDemo not working on iPhone4S

Discuss the company and its products.
William
Posts: 2
Joined: 10:56, 22 Dec 2014

iBeaconDemo not working on iPhone4S

Postby William » 11:25, 22 Dec 2014

Hi,

I'm testing iBeacon projects by Evothings Workbench/Client.
I've tested both iBeacon Scan and iBeaconDemo on a iPhone4S,
iBeacon Scan works fine. I can see all my 3 beacons.
However, iBeaconDemo keeps staying on the default page.

I've also tested the same two projects on my other Android phones,
and they all work fine.

There is one line of code mentioned in another thread about the difference between the two projects :
locationManager.requestAlwaysAuthorization();
I added this line to iBeaconDemo, but still not working.

BTW all Evothings Client are downloaded today, so I think they are the latest.

Did I miss anything? Thanks.

William
Posts: 2
Joined: 10:56, 22 Dec 2014

Re: iBeaconDemo not working on iPhone4S

Postby William » 11:54, 23 Dec 2014

I'm sorry. It actually works.
I forgot that I've modified it to change page only on "ProximityImmediate" state because of the transmitting power of my beacons.
And my iPhone4S and iPad never goes into "ProximityImmediate" state.

I looked into the result of iBeacon Scan Example and found that RSSI are way different between iOS and Android.
Under the distance of 30cm, Android phones usually get -48(ProximityImmediate), while iOS devices only get -70.

Well at least the RSSI is consistent on each platform, so not a big problem.

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

Re: iBeaconDemo not working on iPhone4S

Postby micke » 16:44, 05 Jan 2015

Thanks for the update!

I have also seen the difference in RSSI between platforms.

In Evothings 1.1.0 there are some functions in evothings.js to determine the current platform, if that could be of any help for you.

https://github.com/evothings/evothings- ... othings.js

Use like this:

Code: Select all

if (evothings.os.isIOS())
{
    // Do iOS specific styff.
}


Let me know if there is anything else to sort out.

Best, Mikael

Justin
Posts: 5
Joined: 15:24, 16 Dec 2014

Re: iBeaconDemo not working on iPhone4S

Postby Justin » 15:32, 06 Jan 2015

Hi there,

There's a really interesting article on how RSSI is used in estimating distances, and a discussion of how the estimates vary by device, over at the Radius Networks site: http://developer.radiusnetworks.com/201 ... nging.html

Note the comments on the variation between Android devices, Radius Networks are building a database of profiles for different devices in an effort to improve consistency of results.

Hope this is useful. :)

Cheers,
Justin

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

Re: iBeaconDemo not working on iPhone4S

Postby micke » 11:22, 07 Jan 2015

Thanks a lot for the link Justin, really great article!

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

Re: iBeaconDemo not working on iPhone4S

Postby micke » 12:19, 07 Jan 2015

Hi again, here is a related article I just found on the Estimote web site.

The physics of beacon tech: http://blog.estimote.com/post/106913675 ... eacon-tech

Micke :)


Return to “General discussion”

Who is online

Users browsing this forum: No registered users and 9 guests