ibeacon
Can RaspberryPi with BLE Dongle detect iBeacons?
Yes! You can use your Raspberry Pi to scan for iBeacons. We’ve put together a script below that does this, you can also do it yourself with these steps: Start a background process that does a bluetooth LE scan: sudo hcitool lescan –duplicates & With the –duplicates setting the scan will not ignore multiple packets … Read more
What are the nominal distances for iBeacon “Far”, “Near”, and “Immediate”
From what I understood of the API is that there is never a guarantee on actual distance, you should not use the readings to be considered an accurate measurement. The proximity is rather used to determine the relative distance between different beacons so that you can respond accordingly based on your applications requirements. With that … Read more
Where is the bluetooth/bluetooth.h located in Linux?
You need to install libbluetooth-dev package for compiling your code sudo apt-get install libbluetooth-dev That should install the bluetooth header files.
iBeacon Notification when the app is not running
Yes, it’s possible and should be automatic. After you have created a CLBeaconRegion and started monitoring on it, Location Services will keep track of whether your phone is in or out of the region, even when your app isn’t running. If you app isn’t running during a transition, iOS will launch your app into the … Read more
Run iPhone as an iBeacon in the background
Standard CoreBluetooth advertisements can broadcast while the app is in the background, but not if they were started with CLBeaconRegion dictionary. The workaround is to ditch CoreLocation framework altogether and create your own proximity “framework” using only CoreBlueTooth. You still need to use the appropriate background specifiers in the Info.plist file (e.g. bluetooth-peripheral and bluetooth-central). … Read more
Triangulate example for iBeacons
I have been making some experiments to get a precise position using three beacons. Results of trilateration Unluckily, the results were very disappointing in terms of quality. There were mainly two issues: In non-controlled environments, where you can find metals, and other objects that affect the signal, the received signal strength of the beacons changes … Read more
Can an Android device act as an iBeacon?
YES This is possible on Android 5+, and you can find open-source code for transmitting as a beacon in the Android Beacon Library. There is also a full-featured version of a beacon transmitter in the Beacon Scope app in the Google Play Store. Here’s an example of transmitting iBeacon with the Android Beacon Library: Beacon … Read more
Understanding ibeacon distancing
The distance estimate provided by iOS is based on the ratio of the beacon signal strength (rssi) over the calibrated transmitter power (txPower). The txPower is the known measured signal strength in rssi at 1 meter away. Each beacon must be calibrated with this txPower value to allow accurate distance estimates. While the distance estimates … Read more
What is the iBeacon Bluetooth Profile
For an iBeacon with ProximityUUID E2C56DB5-DFFB-48D2-B060-D0F5A71096E0, major 0, minor 0, and calibrated Tx Power of -59 RSSI, the transmitted BLE advertisement packet looks like this: d6 be 89 8e 40 24 05 a2 17 6e 3d 71 02 01 1a 1a ff 4c 00 02 15 e2 c5 6d b5 df fb 48 d2 b0 … Read more