Android蓝牙VS蓝牙低功耗 [英] Android Bluetooth VS Bluetooth Low Energy

查看:92
本文介绍了Android蓝牙VS蓝牙低功耗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建一个应用程序,该应用程序需要交换小尺寸数据-只是为了通知设备足够近-只要智能手机正在运行即可.据我了解,传统的蓝牙会消耗大量的电池,因此打开蓝牙几个小时是不可行的.我正在查看BLE,但仍然关注电池容量.

I am trying to create an application that needs to exchange small size of data - just to notify that the devices are close enough - for as long as the smart phone is running. It is my understanding that the traditional bluetooth consumes significant amount of battery so that having it turned on for hours is not viable. I am looking at BLE but still concerned with the battery capacity.

Q0只要手机正在运行,是否有可能打开BLE?

Q0 Is it possible to have BLE turned on as long as the phone is running?

Q1两种技术在信号距离方面是否有所不同?他们可以走多远?

Q1 Is there a difference between the two technologies with respect to signal distance? and how far can they travel?

Q2可同时连接的设备数量是否有限制?

Q2 Is there any limitation on number of devices that can be connected simultaneously?

Q3电池消耗量是否随数据交换的大小而变化?

Q3 Does battery consumption varies depending on the size of data exchanging?

Q4如果必须多次连接和断开设备,手机能否告知连接之间的时间差?

Q4 If the devices have to be connected and disconnected number of times, would the phone be able to tell the time difference between the connection?

推荐答案

我将尝试回答在同一工作上发现的一切.市场上的某些设备不支持BLE,尽管存在软件支持,但硬件不会启用或不存在.

I will try to answer what ever I found when working on the same. Some of the devices in the market do not support BLE, though there is software support the hardware will not be enabled or present.

只要手机正在运行,是否有可能打开BLE?

Is it possible to have BLE turned on as long as the phone is running?

是的,可以. BLE有两种模式,一种是扫描,另一种是广告.通常只有BLE的设备才会做广告.

Yes, you can. There are 2 modes for BLE one scanning and other is advertising. Usually the devices having only BLE will do advertising.

两种技术之间在信号距离方面是否有所不同?他们可以走多远?

Is there a difference between the two technologies with respect to signal distance? and how far can they travel?

是的,在速度,数据包大小,范围和电池消耗方面存在差异..BLE(最大约250m)的范围小于经典BT(约700-800m).数据传输速率也很低.它可以在单个数据包中最多传输27个八位位组,平均速度约为100kbps,而传统的EDR的传输速度为2mbps,流式传输低功耗蓝牙低功耗连接将失去大量潜在的节电功能

Yes, there are differences with respect to speed, data packet size, range and battery consumption.. The range of BLE (upto 250m approx) is less than compared to classic BT (upto 700-800m approx). The data transfer rate is also very low . it can transfer upto max of 27 octet in a single packet with an average speed of ~100kbps, where as classic EDR has speed of 2mbps streaming Bluetooth low energy connections will lose a great deal of the huge potential power savings

可以同时连接的设备数量是否有限制?

Is there any limitation on number of devices that can be connected simultaneously?

BLE在主机和从机上工作.可以连接到主机的从站数量.

The BLE works on master and slave. Number of slaves can be connected to master.

电池消耗量是否随数据交换的大小而变化?

Does battery consumption varies depending on the size of data exchanging?

根据我进行的功率测量,从长远来看,EDR优于BLE,当设备处于清醒状态且处于理想状态时,将定期进行数据传输.

As per my power measurement conducted EDR is better than BLE for long run, where there is data transfer in regular intervals when devices are awake and ideal.

如果必须多次连接和断开设备,手机能否告知连接之间的时间差?

If the devices have to be connected and disconnected number of times, would the phone be able to tell the time difference between the connection?

是的.如果在这种情况下,如果有要传输的连接,然后断开连接.最好保持EDR长期运行,而不是LE连接和断开连接.

Yes. If in this case if there is connection to transfer and then disconnect. It is better to keep EDR for long run, rather than LE connect and disconnect.

以上答案是基于为可穿戴设备选择BT技术时进行的实验得出的,结果可能有所不同.

The above answers are based on experiments conducted while choosing BT technology for wearable device, the results might differ.

这篇关于Android蓝牙VS蓝牙低功耗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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