本文介绍了蓝牙核心在WatchKit苹果的手表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想我的手表的应用程序由我配对iPhone.I我使用CoreBluetooth框架来实现这一识别。我从我的手表应用蓝牙传输信号,并想在我的iPhone应用程序来接收信号。我使用的是相同的概念,作为苹果在它的样本code显示(<一个href=\"https://developer.apple.com/library/ios/sample$c$c/BTLE_Transfer/Introduction/Intro.html#//apple_ref/doc/uid/DTS40012927\" rel=\"nofollow\">https://developer.apple.com/library/ios/sample$c$c/BTLE_Transfer/Introduction/Intro.html#//apple_ref/doc/uid/DTS40012927) ,唯一的区别是,我的发射机手表应用程序。

I want my watch app to be identified by my paired iPhone.I am using CoreBluetooth Framework to implement this. I am transmitting bluetooth signals from my watch app and trying to receive the signal in my iPhone app. I am using the same concept as apple has shown in its sample code (https://developer.apple.com/library/ios/samplecode/BTLE_Transfer/Introduction/Intro.html#//apple_ref/doc/uid/DTS40012927) , the only difference is that my transmitter is the watch app.

问题
我无法检测到我的iPhone应用程序的手表。我已经确定我所有的硬件​​的配置正确,我正确配置蓝牙核心委托方法。我也想,如果这个方法是可行的与iPhone和苹果的手表。

IssueI am unable to detect watch app in my iPhone. I have made sure that all of my hardwares are configured properly and I am configuring the Core bluetooth delegate methods properly. I also suspect if this method will be feasible with iPhone and apple watch.

所有的建议都是AP preciated。在此先感谢

All suggestions are appreciated. Thanks in advance

推荐答案

由于您的 WatchKit应用为你的iPhone上的扩展运行,这是不可能的并因此所有核心蓝牙蓝牙信号从发送iPhone本身本身。

This is not possible because your WatchKit app runs as an extension on your iPhone and therefore all Core Bluetooth bluetooth signals are sent from the iPhone itself to itself.

这篇关于蓝牙核心在WatchKit苹果的手表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-11 01:10