哪个平台有蓝牙4.0外围设备/从支持? [英] Which platforms have Bluetooth 4.0 peripheral / slave support?

查看:302
本文介绍了哪个平台有蓝牙4.0外围设备/从支持?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了作为一个主一个BLE设备,并连接到是奴隶传感器。现在,我想开发,从我的设备(主机),在实时显示数据的应用程序,使应用程序能够充当奴隶(advertizes)。

I developed a BLE device that acts as a master, and connects to sensors that are slaves. Now I want to develop an application that displays the data from my device (master) in real-time, so that application has to act as slave (advertizes).


  • Windows 8的API :不支持

  • 的Windows Phone :不支持

  • 的Windows RT :不支持

  • Android 4.4系统的API :不支持

  • iPhone / Mac的:支持

  • Windows 8 API: Unsupported
  • Windows Phone: Unsupported
  • Windows RT: Unsupported
  • Android 4.4 API: Unsupported
  • iPhone / Mac: Supported

所以看起来它真的不可能通过自定义栈开发任何类型的应用程序对于这一点,除了在Linux也许,或在Windows上,但我会preFER这样做在手机上,如果可能的话不是iPhone。

So it seems its really impossible to develop any kind of app for this, besides on Linux maybe, or on Windows through a custom stack, but I would prefer to do this on a phone, and if possible not an iPhone.

有谁支持此开箱即任何手机/平板电脑操作系统知道?

Does anyone knows of any phone/tablet OS which supports this out of the box?

推荐答案

工作的同类型案件,并发现了所有平台的iOS / Mac的OS同时支持外围设备(从)和中央(主)角色。

Working on the same type of cases and found that out of all platforms only iOS/Mac OS support both peripheral (slave) and central (master) roles.

有关外设角色,你将不得不使用CBPeripheralManager,并且必须建立自己的服务/特征。对于中央,你将不得不使用CBCentralManager,将通过委托通知接收CBPeripheral对象。然后,你将要查询它的服务/特征/描述符。

For the peripheral role you will have to use CBPeripheralManager, and will have to setup your own service/characteristic. For the central you will have to use CBCentralManager, which will receive CBPeripheral objects through delegate notifications. Then you will have to query it for the services/characteristics/descriptors.

所以,我要说,今天你是出于对外围角色选项中,只有iOS版/的Mac OS。

So I would say, today you are out of options for the peripheral role, only iOS/Mac OS.

这篇关于哪个平台有蓝牙4.0外围设备/从支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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