目标C-是否可以从iWatch连接到BLE设备? [英] Objective C-Is it possible to connect to BLE devices from iWatch?

查看:276
本文介绍了目标C-是否可以从iWatch连接到BLE设备?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用Watch Kit扩展程序获得BLE设备并连接到它。在iPhone CoreBluetooth框架中,iWatch的框架是什么

Is it possible to get the BLE devices and connect to it using Watch Kit extension.In iPhone CoreBluetooth framework is used,what is the framework for iWatch

我是。。

推荐答案

watchOS 2当前不提供核心蓝牙。

Core Bluetooth is not currently available on watchOS 2.

我不确定这是否适用于您的应用程序,但是您可以菊花链式连接。您可以使用核心蓝牙将设备连接到iPhone,然后可以使用Apple Watch的WCSession与iPhone进行交互。

I'm not sure if this would work for your application, but you could "daisy chain" your connection. You would use core bluetooth to connect your device to your iPhone, and then you could interact with your iPhone using WCSession from your apple watch.

这篇关于目标C-是否可以从iWatch连接到BLE设备?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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