当前位置:网站首页>Code=6 'The connection has timed out unexpectedly
Code=6 'The connection has timed out unexpectedly
2022-07-24 08:08:00 【longlongValue】
When doing the stress test of Bluetooth communication , After discovering the Bluetooth connection, it will be quickly disconnected , And the console will report an error
Error Domain=CBErrorDomain Code=6 "The connection has timed out unexpectedly." UserInfo=0x1e09c050 {NSLocalizedDescription=The connection has timed out unexpectedly.}use ligthblue The same thing , I searched a lot of questions on the Internet, but there are no exact matches .
But I saw it by chance Apple hardware parameter document
You'd better show this to the hardware engineer , In their code max interval and min interval Set up , They can burn a firmware for you after modification , In addition, if the communication between devices is too frequent , Also do some fault-tolerant processing .
However, these still do not solve my problem . But after I described all my operation steps, the old driver of hardware engineering helped me solve the problem .
When I send the signal from the Bluetooth main device , Bluetooth is in standby mode for a short time , During this period, my mobile phone can search Bluetooth and establish a connection . But once this time period has passed , Bluetooth will be turned off from standby . Unless I use some tool to reset Bluetooth from standby state to communicable state , In this way, Bluetooth will not be turned off automatically .
This reminds me of this situation when debugging Bluetooth bracelets before . However, this state was not resolved due to conditions .
Reference resources
iOS Bluetooth device automatically disconnects
Suddenly I’m seeing spontaneous disconnects in my iOS 7 app from my nRF51822 peripheral
边栏推荐
- Do you want to have a robot that can make cartoon avatars in three steps?
- RBM contrast divergence
- SIFT feature point extraction
- *Yolo5 learning * data experiment based on yolo5 face combined with attention model se
- *Yolo5 learning * data experiment based on yolo5 face combined with attention model CBAM
- P1135 奇怪的电梯题解
- Hegong sky team vision training day4 - traditional vision, contour recognition
- Error reported by Nacos: error Nacos failed to start, please see d:\nacos\logs\nacos log for more details.
- What is the NFT concept.. Fully understand NFT market, technology and cases
- Qt|字符串生成二维码功能
猜你喜欢

Hcip day 7
![[linear algebra] deeply understand matrix multiplication, symmetric matrix, positive definite matrix](/img/0f/4b7e92c61814b39e9b0448c0c854ee.png)
[linear algebra] deeply understand matrix multiplication, symmetric matrix, positive definite matrix

生成模型与判别模型

Learning dynamic Siamese network for visual object tracking full text translation

MySQL --- 子查询 - 标量子查询

我在微软的这六个月

*Yolo5 learning * data experiment based on yolo5 face combined with attention model se

【MATLAB】(四)MATLAB在线性代数中的应用

Debug No3 multi texture overlay

Image feature SIFT (scale invariant feature transform)
随机推荐
Robert operator, Sobel operator, Laplace operator
abstract class
MySQL update uses case when to update the value of another field according to the value of one field
SIFT feature point extraction
赛宁TechTalk丨攻防演练:攻击组合拳 “稳准狠”渗透
Database system - Basic Concepts
[redis] how much do you know about bloom filter and cuckoo filter?
Vidar-Team战队专访:AS WE DO, AS YOU KNOW.
The growth path of software testing
how to add square on screenshot
13.Unity2D 横版 可上下左右移动的双向平台(双向行走+可移动+单独判定)+随机平台生成
Super simple countdown code writing
Crypto bear market: some people expand on a large scale, some layoffs shrink
*Project recurrence * project implementation of thesis based on contextbasedemotionrecognitionusingematicdataset
P1305新二叉树题解
EZDML reverse engineering import database analysis practical operation tutorial
Avoid pitfalls and stay away from PUA in the workplace. You need to know the common routines and scripts of PUA!
rbm 对比散度
Do you want to have a robot that can make cartoon avatars in three steps?
[MySQL] installation tutorial and master-slave configuration