支持Android 5 BLE外设模式的芯片组/器件(Chipsets/Devices supporting Android 5 BLE peripheral mode)

编程入门 行业动态 更新时间:2024-10-24 08:22:51
支持Android 5 BLE外设模式的芯片组/器件(Chipsets/Devices supporting Android 5 BLE peripheral mode)

**目前已知的设备概述:Nexus 6,Nexus 9,Moto E 4G LTE,LG G4,Galaxy S6,Samsung Galaxy S5(型号SM-G900M),Nexus 5X,Sony Xperia Z5 Compact,Samsung Galaxy Tab S2 **

**另请参阅https://altbeacon.github.io/android-beacon-library/beacon-transmitter-devices.html **

Android 5发布的新功能之一是支持蓝牙低功耗外设模式。 虽然它被提升为独立于使用的设备,但它似乎与芯片组相关(请参阅BluetoothAdapter.java中的isMultiAdvertisementSupported()函数)。

它适用于Nexus 5,但不适用于Nexus 7(称为BLE外设支持Android-L示例中的错误,但由于芯片组可能无法工作)。 另外https://code.google.com/p/android-developer-preview/issues/detail?id=589不会给出确凿的陈述。

我担心的是,许多旧设备预计会获得Android 5,但只有最新的平板电脑(以及相对较新的手机)才会支持BLE外设模式。 对于依赖这个新的Android 5功能的应用程序的最终用户来说,这可能还不清楚。

对于我来说,最终得到Android 5的芯片组/设备是否支持BLE外设模式尚不清楚。 任何人谁可以给我任何见解呢? 哪些芯片组将支持BLE外设模式? 更具体地说,因为我们的许多客户拥有Nexus 7(2013),Nexus 7是否会得到支持?

编辑19-2-2015:自2014年12月起,它不再支持Nexus 5,只有Nexus 6和9似乎支持BLE外设模式/广告。 希望在不久的将来,支持这种技术的设备数量将大幅增加。

更多信息和讨论在这里: https : //code.google.com/p/android-developer-preview/issues/detail?id=1570

编辑6-3-2015:添加了快速参考的概述

编辑17-2-2016:添加了一些设备,我已经检查过自己,但没有列入其他任何列表

**Overview of devices known so far: Nexus 6, Nexus 9, Moto E 4G LTE, LG G4, Galaxy S6, Samsung Galaxy S5 (model SM-G900M), Nexus 5X, Sony Xperia Z5 Compact, Samsung Galaxy Tab S2 **

** Also see https://altbeacon.github.io/android-beacon-library/beacon-transmitter-devices.html **

One of the new features of the Android 5 release is support for Bluetooth Low Energy peripheral mode. While it is promoted to work independent of the used device, it seems to be chipset dependent (see the isMultiAdvertisementSupported() function in BluetoothAdapter.java).

It is working for the Nexus 5, but not for the Nexus 7 (called a bug in BLE peripheral support Android-L example, but it might never work because of its chipset?). Also https://code.google.com/p/android-developer-preview/issues/detail?id=589 does not give conclusive statements.

My concern is that, as many older devices are expected to get Android 5, only the newest tablets (and relatively new phones) will support BLE peripheral mode. This might be unclear to the end-user of apps relying on this new Android 5 feature.

For me it is very unclear which chipsets/devices, that will eventually get Android 5, will support the BLE peripheral mode. Anyone who can give me any insights on this? Which chipsets will support the BLE peripheral mode? More specifically, as many of our customers have a Nexus 7 (2013), will the Nexus 7 ever get supported?

Edit 19-2-2015: Since December 2014 it is not supported anymore for the Nexus 5, only Nexus 6 and 9 seem to have support for BLE Peripheral Mode/ Advertising. Hope the number of devices supporting this will significantly increase in the near future.

More information and discussion here: https://code.google.com/p/android-developer-preview/issues/detail?id=1570

Edit 6-3-2015: Added overview for quick reference

Edit 17-2-2016: Added some devices that I've checked myself but were not in any of the other lists

最满意答案

Android 5.0.X将只允许您使用BLE的新API。 这个新的API带有一个新功能,你在你的问题中提到:从你自己的Android设备广告的可能性,在外设模式下使用它。 但是,这个新功能的缺点是它依赖于硬件。 例如,在您启动任何BLE之前,您需要:

首先:检查是否支持BLE,您可以在清单中添加以下行来完成该操作: <uses-feature android:name="android.hardware.bluetooth_le" android:required:"true"/>

第二:你需要检查你的芯片组是否支持它,使用以下方法:

bluetoothAdapter.isMultipleAdvertisementSupported(); bluetoothAdapter.isOffloadedFilteringSupported(); bluetoothAdapter.isOffloadedScanBatchingSupported();

另请注意,对于上述两种方法,API文档都明确指出:

“如果芯片组支持多广告,则返回true”

“如果芯片组支持片上滤波,则为true”

“如果芯片组支持片上扫描批处理,则为true”

话虽如此,它带给我们的是这样一个问题:

“哪些硬件设备将支持此功能?”

好吧,答案稍微复杂一点,因为这不是蓝牙硬件/协议的强制性功能,而且从制造到制造可能会有所不同。 但就目前而言,目前唯一正式支持该技术的设备(无重大问题)是Nexus 6和Nexus 9,因为它们的硬件已经提供了支持。 尽可能做到最好,不仅仅依靠现在的技术,并且尝试探索其他可能的解决方案(如果有的话)。

The Android 5.0.X will only allow you to use the new API for BLE. This new API comes with a new feature, which you mentioned in your question: The possibility of advertising, from your own Android device, using it in Peripheral mode. However, the disadvantaged of this new feature is that it is hardware dependent. For example, before you start any BLE you need to:

First: Check to see if the BLE is supported, which you can do by adding this line in your manifest: <uses-feature android:name="android.hardware.bluetooth_le" android:required:"true"/>

Second: You need to check if your chipset has support for it, using the following methods:

bluetoothAdapter.isMultipleAdvertisementSupported(); bluetoothAdapter.isOffloadedFilteringSupported(); bluetoothAdapter.isOffloadedScanBatchingSupported();

Also notice that for both of the above methods, the API documentation clearly states that:

"Return true if the multi advertisement is supported by the chipset"

"true if chipset supports on-chip filtering"

"true if chipset supports on-chip scan batching"

That being said, it brings us to the question:

"Which hardware devices are going to support this feature ?"

Well, the answer to that is a little bit more complicated since this is not a mandatory feature for the bluetooth hardware/protocol and it will probably vary from manufacture to manufacture. But for now, the only currently devices that officially are supporting the technology, without major issues, are the Nexus 6 and Nexus 9, since their hardware already comes with the support. The best that you can do it, is not rely solely on the technology for now and try to explore other possible solutions, if any.

更多推荐

本文发布于:2023-08-05 15:54:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1433970.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:芯片组   外设   器件   模式   BLE

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!