【问题标题】:Android Developement: Bluetooth Low Emission Advertisement is "Not Supported" on compatible devicesAndroid 开发:兼容设备上“不支持”蓝牙低排放广告
【发布时间】:2017-05-11 04:38:40
【问题描述】:

我正在开发一个 android 应用程序,它要求我使用运行我的应用程序的设备发送蓝牙低排放广告。 我在一篇博文“你需要在你的 build.gradle 文件中将最低 SDK 版本设置为 21,因为在 Lollipop 发布之前没有在 Android 上引入蓝牙 LE 广告”。博客是“https://code.tutsplus.com/tutorials/how-to-advertise-android-as-a-bluetooth-le-peripheral--cms-25426

但是,当我去谷歌存储库查看蓝牙广告时,最低 SDK 是 25。我现在很困惑。 BLE的基本要求是你需要一个支持4.X版本的蓝牙设备。几乎所有具有 SDK 21 的设备都有。

我的手机(一加 1)有 SDK 23(支持蓝牙广告)并有蓝牙芯片 -v 4.1 无法广告蓝牙数据的任何原因。

这是我使用的 google 存储库的链接。 https://github.com/googlesamples/android-BluetoothAdvertisements

【问题讨论】:

    标签: android bluetooth bluetooth-lowenergy android-bluetooth beacon


    【解决方案1】:

    请通过参考链接

    Chipsets/Devices supporting Android 5 BLE peripheral mode

    希望对你有帮助

    【讨论】:

    • 非常感谢这个链接
    猜你喜欢
    • 1970-01-01
    • 2016-10-09
    • 2018-02-27
    • 1970-01-01
    • 1970-01-01
    • 2016-10-21
    • 1970-01-01
    • 2013-11-13
    • 1970-01-01
    相关资源
    最近更新 更多