核心蓝牙LE和iOS中的Classical [英] Core Bluetooth LE and Classical in iOS

查看:88
本文介绍了核心蓝牙LE和iOS中的Classical的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究Core Bluetooth.而且我有任何问题,请您帮我解释一下有关此内容的更多信息:

I'm research about Core Bluetooth. And I have any questions, could you please help me explain more about this:

  1. Core Bluetooth LE和Classical有什么区别?
  2. 我可以实现Core bluetooth LE来连接其他iOS设备吗?
  3. UUID曾经使用过吗?如何获取设备的UUID?

现在,我需要实现允许连接到计数步骤设备并从中获取数据的应用程序.我怎样才能做到这一点?该设备使用蓝牙LE.如果可以,您可以向我展示教程或示例代码吗? 非常感谢.

Now, i need to implement application allow connect to count step device and get data from it. How can i do that? That device using Bluetooth LE. If can, you can show me tutorial or example code? Thanks so much.

推荐答案

较旧的蓝牙是一种流协议,要求将设备配对.苹果只允许拥有特殊许可的开发人员开发蓝牙外围设备.

Older bluetooth is a streaming protocol, and requires that the devices be paired. Apple only allows developers with a special license to develop Bluetooth peripherals.

Bluetooth Low Energy(BLE)或Bluetooth 4.0是一种低能耗轮询接口,设备(外围设备)在该接口上通告他们提供的服务,而想要使用这些服务的设备(以BLE的术语为中央")则订阅这些服务.

Bluetooth Low Energy (BLE) or Bluetooth 4.0 is a low energy polling interface where devices (peripherals) advertise services that they offer and devices that want to use those services ("centrals", in BLE terms) subscribe to those services.

BLE在很短的突发时间内发送数据.发射功率低于经典"蓝牙,发射时间短得多.

BLE sends data in very short bursts. The transmitted power is lower than "classic" bluetooth, and the transmissions are MUCH shorter.

UUID用于标识BLE设备提供的不同服务.

UUID is used to identify different services offered by BLE devices.

关于教程或示例代码,我手边没有任何东西.到目前为止,我一直在使用iBeacons,它是在BLE之上构建的特定协议.但是,Google是您的朋友.

As for tutorials or example code, I don't have any on hand. I've been working with iBeacons so far, which is a specific protocol built on top of BLE. However, Google is your friend.

这篇关于核心蓝牙LE和iOS中的Classical的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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