Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make Samsung Android device advertise as an iBeacon

Has anybody used Samsung's Bluetooth LE APIs to make a Samsung Android device advertise as an iBeacon? This should be possible, but I do not have access to a device to try it.

If anybody has used it to make a Samsung Android device advertise as any other Bluetooth LE peripheral, I would like to know that, too.

EDIT: This is now possible on Android L. See here.

like image 301
davidgyoung Avatar asked Dec 01 '13 13:12

davidgyoung


People also ask

Can a phone act as a ble beacon?

Do beacons work with iPhones/Android/ Windows phones? Yes all modern phones can support Bluetooth Low Energy but you have to turn on Bluetooth for anything to happen.

How do I turn on iBeacon?

Turn Management Options to On and then under System Settings, set Hostname in Beacon to On. Once iBeacon is enabled in the Network Policy you can then configure the iBeacon Services at the device level on iBeacon capable devices. Navigate to Manage > Devices, select the device you wish to configure.

How do I identify an iBeacon?

To identify each iBeacon, an iBeacon is identified using three numbers: Proximity UUID (16-bytes), Major (2 bytes), and Minor (2 bytes) (see Figure 1). Figure 1: Three numbers are used to identify an iBeacon . The assignment of these three numbers is totally up to the implementers.


3 Answers

EDIT: this answer is about older Samsung phones with Android 4.2. Samsung devices with Android 5.0+ can advertise beacons successfully.

Unfortunately, @reTs and @duncan-c are right (+1 for each of them). The Samsung BLE SDK cannot send out real BLE advertisements as is required for iBeacons.

I was holding out hope because their documentation says "allowing applications to create and advertise Bluetooth smart services and characteristics". I wrote an app to prove whether this actually worked, and learned that their documentation is simply misleading. The Samsung BLE SDK will not make Samsung devices transmit advertisements over the radio.

See full details in this blog post.

like image 126
davidgyoung Avatar answered Oct 11 '22 00:10

davidgyoung


http://developer.samsung.com/ble

You can view the official "Samsung BLE SDK Guide and Hints" on the above link.

On page 12, point 10, it said : "The current version of the SDK supports only the GATT central role. Peripheral roles may be supported in future releases."

like image 39
reTs Avatar answered Oct 11 '22 00:10

reTs


I'm told that with the current firmware it's not possible. (I'm not an Android developer so I haven't confirmed this first-hand.)

like image 20
Duncan C Avatar answered Oct 11 '22 01:10

Duncan C