Can I detect proximity between two beacons? - beacon

I'm currently study BLE Beacon. I know that with Google Beacon API and its app, it is possible to know when the beacon communicates with my mobile phone, so I can design different notifications based on the proximity. But in my case, I need to know the proximity between a wearable beacon to a stable beacon. Is that possible at all?

Two challenges to doing this:
Google Beacon APIs do not provide proximity information beyond a beacon being visible at all (regardless of distance) to a mobile phone.
Beacons are generally speaking one way transmitters. You cannot use a beacon to listen for another beacon.
To make something like this work you need one of the two devices (either fixed or mobile) to be a beacon scanner, not a beacon. You could make a beacon scanner out of a fixed Raspberry Pi 3 which would detect the beacon wearables and calculate the distance to them. This is an approach I have helped multiple clients implement.

Related

Using Beacon as a locating device in retail

how to detect beacon signal and do we need to make any app to manage it or any predefined app or site is available?
I want to know how Beacon works and which Beacon is suitable for retail.
You need a mobile phone with Bluetooth 4.0 to detect beacons. They emit a BLE signal which is a little different from the normal Bluetooth signal. There are many generic apps in the play store and maybe in the app store to detect them.
But if you are looking for real functionality related to that, then you'll be needing the retail store-specific mobile app so that it can show you relevant updates in the app.

Can I make iPhone/iPad broadcast as Eddystone Beacon?

We can make iOS devices act as a iBeacon transmitter and We can locate nearby iBeacons if we know their Proximity UUID.
With Google's Proximity Beacon API, It's possible to configure and register real Beacon hardware, and we can locate them with Nearby Messaging API.
But is it possible to make iOS devices to broadcast as Eddystone Beacons ? And it needs to be discoverable by apps that scan Eddystone beacons.
Thanks in advance.
Unfortunately, this is not possible. While iOS devices can advertise Bluetooth LE service advertisements(which are the advertisement type used by Eddystone) using CoreBluetooth APIs, you cannot attach the necessary data. This is because the CBAdvertisementDataServiceDataKey that associates service data to an advertisement is read-only on iOS. You can't set the data.
So while you want to make the iOS device advertise something like this to transmit Eddystone-UID:
0201060303aafe1516aafe00e72f234454f4911ba9ffa6000000000001
You end up advertising something like this:
0201060303aafe0316aafe
This leaves off the Eddystone-UID type code (00), the calibrated power (e7), the namespace identifier (2f234454f4911ba9ffa6) and the instance identifier (000000000001). As a result, it won't be recognized as an Eddystone-UID frame.

beacons push notification in LAN without internet

i'm learning about beacons,i have some days looking for information and i would like to know if this scenario can be possible.
i'm talking about an local server (local pc, maybe) sending data/information through beacons to android or ios devices. its possible use this kind of services (marketing messages, publicity, and others) without internet? With an local area network, maybe?
iBeacon / generic beacons do not require Internet to work. With suitable beacon layout (Android), or beacon UUID, the device can detect the beacon proximity (require Bluetooth & Wi-Fi to turn on). With the proximity event of beacon, you can trigger other methods like communicating with local servers, as you mentioned in the question.

How do I detect iBeacon device without knowind uuid in iOS?

I would like to develop app which detects a lot of beacon device withoud knowing uuid.
However I cannot find way to do this in internet.
I have to define uuid in code.
So is there way to detect iBeacon without knowing uuid?
I know CoreLocation requires you to know the UUID of the beacon you are CBCentralManager, which handles all of the bluetooth spectrum. It has methods for scanning for bluetooth devices. I don't have an iBeacon handy at the moment to test and see if it picks them up, but it is probably worth a try.
The nomenclature used is quite important here. If you want to detect 'iBeacon', then you need to at least know the UUID of the device or devices you're looking for. That's because, in the iBeacon standard, the ID is the only piece of information included in the advertising packet. iBeacon lets you do two things: monitoring and ranging (detecting whether there is an iBeacon in range, and detecting how close the iBeacon is), and both require you to know the UUID.
If you just want to look for beacons, without including the iBeacon properties and features, you can use Core Bluetooth to do that. SDKs of particular beacon vendors base their beacon maintenance features (firmware updates, settings changing) on that. This method is also used by vendors that use their own protocols alongside Apple's iBeacon. We do that at Estimote with Estimote Stickers, and AFAIK Gimbal does this as well.
Cheers.

iBeacon: Is possible send small data to track from transmit?

I am going to start a project code for iBeacon with iOS 7 and bluetooth 4.0.
http://www.appcoda.com/ios7-programming-ibeacons-tutorial/
Readied above link, i have coded it and tested . it is working fine .
Created two apps. One for transmit beacon and another for track beacon.
How can send small data to track beacon from transmit beacon. Small data is a ID of room.
Is possible send small data to track from transmit?
You cannot send any other data from a device transmitting as a beacon to another device via the iBeacons protocol. However, if only want to know a room ID, then you should set this as either the major or minor value of the beacon (or a combination of those two values).
As an example, a large retailer might set:
UUID: A single UUID for the retailer
Major ID: Identifies the specific store that a beacon is located in
Minor ID: Identifies the department that the beacon is in
If you wish to transmit more substantial data between two iOS devices, you'll probably want to look at something like Apple's Multipeer Connectivity framework.
https://github.com/DavidSahakyan/LGBluetooth
here is a framework which will help you to work bluetooth 4