Does BluetoothLeAdvertiser work on a Nexus 5 with Android 5.0?

前端 未结 4 852
一向
一向 2020-12-05 00:57

After flashing my Nexus 5 to the Android 5.0 preview release hammerhead-lpx13d, the OS reports that it no longer supports Bluetooth LE advertising. If you call:

<         


        
4条回答
  •  抹茶落季
    2020-12-05 01:17

    Unfortunately, the official answer from Google is no, the Nexus 5 no longer supports advertising.

    We introduced BLE peripheral mode in Android 5.0 Lollipop. Nexus 6 and Nexus 9 are the first two production Nexus devices that support BLE peripheral mode. Due to hardware chipset dependency, older Nexus devices (4/5/7) will not have access to the feature on Lollipop.

    See Comment #52 on issue 1570 by danielho...@google.com: BLE advertise mode not working https://code.google.com/p/android-developer-preview/issues/detail?id=1570

    That said, I have confirmed that advertising is supported by the Nexus 9 tablet. See here for details: http://developer.radiusnetworks.com/2014/11/18/beacon-transmission-with-android-5.html

提交回复
热议问题