唯一的广告数据的优点VS连接BLE设备 [英] Advantages of only advertising data vs connecting BLE devices

查看:269
本文介绍了唯一的广告数据的优点VS连接BLE设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

让说,我有一个广告数据是EN coded进入它的UUID外设。中央扫描认为这UUID和,知道把十六进制UUID为十进制,并从那里拿出一定数目由群体,如第4,然后在接下来的6,那么接下来的4,具有一定的功能,把这些数字成。有没有这个,而不是连接到中央设备,然后就交易信息的任何优势。难道是更快?当你考虑到多个切牙什么?

Let Say I have a peripheral that is advertising data that is encoded into its UUID . The central scanning sees this UUID and and knows to turn the hexadecimal UUID to decimal and from there take out certain numbers by groups such as the first 4, then the next 6, then the next 4. It has certain functions to put these numbers into. Is there any advantages of this instead of connecting to the central device and then just trading information. Would it be faster? What about when you take into account multiple centrals?

推荐答案

优点:


  • 实际上广播解决方案,因为这样,任何数量的客户端可以同时投放

  • 类似方案用于<一个href=\"http://stackoverflow.com/questions/18906988/what-is-the-ibeacon-bluetooth-profile\">beacons

缺点:


  • 在iOS上,广告数据的目的不是要经常更新。频繁更改可能导致堆栈损坏。

  • 非常低的数据速率可以达到这样的。

这似乎是一个普遍的问题,广电不与BLE实现的支持。如果你有传达给同行一个伟大的号码,然后基于IP的解决方案,可以更好地满足您的需求。 (检测与BLE和IP通信。)有无数的方案可供选择,而哪一个是最好很大程度上取决于你的实际应用。

It seems to be a general issue that broadcasting is not supported with BLE implementations. If you have to communicate to a great number of peers, then IP based solutions may better suit your needs. (Detect with BLE and communicate on IP.) There are countless options to choose from, and which one is best highly depends on your actual application.

这篇关于唯一的广告数据的优点VS连接BLE设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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