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.
iBeaconDemo not working on iPhone4S
Re: iBeaconDemo not working on iPhone4S
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.
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.
Re: iBeaconDemo not working on iPhone4S
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:
Let me know if there is anything else to sort out.
Best, Mikael
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
Re: iBeaconDemo not working on iPhone4S
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
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
Re: iBeaconDemo not working on iPhone4S
Thanks a lot for the link Justin, really great article!
Re: iBeaconDemo not working on iPhone4S
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
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