Make Samsung Android device advertise as an iBeacon

假如想象 提交于 2019-12-22 04:43:26

问题


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.


回答1:


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.




回答2:


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."




回答3:


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.)



来源:https://stackoverflow.com/questions/20312892/make-samsung-android-device-advertise-as-an-ibeacon

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!