iOS的:失去蓝牙连接 [英] iOS : Losing Bluetooth Connection

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

问题描述

我成功地设法连接的iPhone和Mac上使用蓝牙。

iPhone是中央和Mac是外设。连接后,既可以沟通(在iPhone订阅的一些特点,深受Mac的广告)。

不过,一些(随机?)时间后,iPhone的蓝牙图标是灰色的,iPhone不从Mac蓝牙接收邮件了。

为什么呢?我怎样才能使通信持续多久?

编辑:这里是错误:通过 didDisconnectPeripheral 广告:


  

域名= CBErrorDomain code = 6连接超时
  出乎意料的。



解决方案

在研究了好几天,我发现是什么问题。

可以帮助你,如果你有同样的问题:

我对我的Mac蓝牙和WiFi网络之间的干扰问题。所以,我用的是无线上网,每次,蓝牙连接坠毁。

也许有要解决的问题的方法是改变所提供的无线频率。

I succesfully managed to connect an iPhone and a Mac using Bluetooth.

The iPhone is the central and the Mac is the peripheral. After the connection, both can communicate (the iPhone is subscribing to some characteristics, advertised by the Mac).

But, after some (random ?) time, the iPhone's Bluetooth icon is grayed out and the iPhone doesn't receive Bluetooth messages from the Mac anymore.

Why? How can I make the communication last ?

EDIT : here is the error : advertised by didDisconnectPeripheral:

Domain=CBErrorDomain Code=6 "The connection has timed out unexpectedly.

解决方案

After several days of research, I find out what was the problem.

Might help you if you have the same problem :

I had an interference problem between the Bluetooth and the Wifi on my mac. So each time I was using the Wifi, the Bluetooth connection crashed.

Maybe one way to solve the problem is to change the frequency of the wifi provided.

这篇关于iOS的:失去蓝牙连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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