是否有可能(并且有意义)让处于外围模式的蓝牙iOT设备监听BLE和Bluetooth Classic连接 [英] Is it possible (and does it make sense) to have a bluetooth iOT device in peripheral mode listening to both, BLE and Bluetooth Classic connections

查看:111
本文介绍了是否有可能(并且有意义)让处于外围模式的蓝牙iOT设备监听BLE和Bluetooth Classic连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们当前正在构建一种设备,该设备需要与运行BLE的较新智能手机兼容,而且还必须与Bluetooth 2.1向后兼容.

We are currently building a device that needs to be compatible with newer smartphones that run BLE but also be backwards compatible with Bluetooth 2.1.

我们正在使用可在双模式下运行的Mediatek Linkit ONE板作为原型.他们有可用的蓝牙类,但是似乎我必须在运行1)蓝牙经典2.1或2)BLE之间进行选择.

We are using a Mediatek Linkit ONE board for our prototype which can operate in dual mode. They have Bluetooth classes available, however it seems that I would have to pick between either running 1) Bluetooth Classic 2.1 OR 2) BLE

类和文档在这里: http://labs .mediatek.com/site/znch/developer_tools/mediatek_linkit/api_references/Lib_Bluetooth.gsp

我们基本上希望使我们的设备与尽可能多的智能手机兼容,所以我想知道是否可能有一个外围设备可以同时收听BLE和Bluetooth Classic Connections.然后,如果通过任何一个连接到了,就停止广播另一个?

We basically want to make our device compatible with as many Smart phones as possible so I wonder whether it possible to have a device that is a peripheral to listen to both, BLE and Bluetooth Classic Connections at the same time. Then if it gets connected to via either, stop broadcasting the other?

唯一的技术方法似乎是在iot设备上可能有一个拨码开关来设置模式,并根据拨码开关的位置使用BLE代码库或经典代码库.在我看来,这不是很优雅.

The only technical way seems to have maybe a dip switch on the iot device that sets the mode and it uses BLE code base or Classic code base based on the position of the dip switch. That does not seem very elegant to me.

最后,我想知道我的问题是否还有意义.我搜索了几个小时,似乎找不到其他人在这样做,所以我想知道现在大多数人是否都在使用BLE,而不再关心Classic BR/EDR. 任何帮助将非常感激.

Lastly, I wonder if my question even makes sense. I searched around for hours and I cannot seem to find anybody else that is doing this, so I wonder if most people are just going with BLE these days and just don't care about about Classic BR/EDR anymore. Any help would be much appreciated.

推荐答案

我们基本上希望使我们的设备与尽可能多的Smart兼容 手机,所以我想知道是否有可能使用设备 可以同时收听BLE和Bluetooth Classic的外围设备 同时连接

We basically want to make our device compatible with as many Smart phones as possible so I wonder whether it possible to have a device that is a peripheral to listen to both, BLE and Bluetooth Classic Connections at the same time

使用 LinkIt ONE HDK/SDK ,以上情况是可以实现的. LinkIt ONE平台上的Bluetooth 2.1和Bluetooth GATT(4.0)独立运行.当前, LinkIt ONE平台支持 SPP(2.1) SPP和GATT 通过分别实例化BT Basic和BLE的对象,同时在开发板上.

With LinkIt ONE HDK/SDK, the above scenario is achievable. The Bluetooth 2.1 and Bluetooth GATT (4.0) on LinkIt ONE platform run independently. Currently, the LinkIt ONE platform supports SPP (2.1) and GATT (4.0) profiles. You can start to try both the SPP and GATT at the same time on the board, by instantiating the objects of BT Basic and BLE separately.

这篇关于是否有可能(并且有意义)让处于外围模式的蓝牙iOT设备监听BLE和Bluetooth Classic连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆