简体   繁体   English

核心蓝牙LE和iOS中的Classical

[英]Core Bluetooth LE and Classical in iOS

I'm research about Core Bluetooth. 我正在研究Core Bluetooth。 And I have any questions, could you please help me explain more about this: 我有任何问题,请您帮我解释一下以下内容:

  1. What's difference between Core Bluetooth LE and Classical ? Core Bluetooth LE和Classical有什么区别?
  2. I can implement Core bluetooth LE to connect other iOS devices ? 我可以实现Core bluetooth LE连接其他iOS设备吗?
  3. Is UUID used to? UUID习惯吗? How can get UUID of devices? 如何获得设备的UUID?

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. 该设备使用蓝牙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) 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)或蓝牙4.0是一个低功耗轮询接口,设备(外围设备)在该接口上通告它们提供的服务,而想要使用这些服务的设备(以BLE的术语为“中央”)则订阅这些服务。

BLE sends data in very short bursts. BLE在很短的突发时间内发送数据。 The transmitted power is lower than "classic" bluetooth, and the transmissions are MUCH shorter. 发射功率低于“经典”蓝牙,发射时间短得多。

UUID is used to identify different services offered by BLE devices. UUID用于标识BLE设备提供的不同服务。

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. 到目前为止,我一直在使用iBeacons,它是基于BLE构建的特定协议。 However, Google is your friend. 但是,Google是您的朋友。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM